vrt-core

0.0.2 • Public • Published

Vehicle Registration Token (VRT) - Core

Core infrastructure for Vehicle Registration Token Project, a protocol for trace vehicle's property and their history in 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/tesi-uniud-2022-core

cd tesi-uniud-2022-core

npm install

Start docker containers

cd tesi-uniud-2022-core/docker

docker compose up

Generate contracts abis

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

Readme

Keywords

Package Sidebar

Install

npm i vrt-core

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

3.1 MB

Total Files

21

Last publish

Collaborators

  • 1m4nt0