Core infrastructure for Vehicle Registration Token project, a protocol to trace vehicles ownership and history on Ethereum blockchain.
npm install -g truffle
npm install -g @graphprotocol/graph-cli
git clone https://github.com/1M4nt0/vrt-core
cd vrt-core
npm install
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
cd ..
truffle compile
npm run build-contract-abi
truffle migrate
npm run codegen
npm run create-local-graph
npm run deploy-local-graph