Skip to content

Core infrastructure for Vehicle Registration Token Project, a protocol to trace vehicles ownership and history on Ethereum blockchain.

Notifications You must be signed in to change notification settings

1M4nt0/vrt-core

Repository files navigation

Vehicle Registration Token (VRT) - Core

Core infrastructure for Vehicle Registration Token project, a protocol to trace vehicles ownership and history on Ethereum blockchain.

Prerequisites:

Local deployment

Install Truffle

npm install -g truffle

Install graph-cli

npm install -g @graphprotocol/graph-cli

Clone repository and install dependencies

git clone https://github.com/1M4nt0/vrt-core

cd vrt-core

npm install

Start docker containers

cd docker

docker compose up -d postgres ganache ipfs

docker compose up -d graph-node blockscout

Between docker compose up commands wait 1-2 minutes for components to start

Generate contracts abis

cd ..

truffle compile

npm run build-contract-abi

Migrate contracts to Ganache

truffle migrate

Deploy The Graph subgraph

npm run codegen

npm run create-local-graph

npm run deploy-local-graph

Interface

Check Vehicle Registration Token (VRT) - Interface

About

Core infrastructure for Vehicle Registration Token Project, a protocol to trace vehicles ownership and history on Ethereum blockchain.

Resources

Stars

Watchers

Forks

Packages

No packages published