2.0.0-rc • Published 5 years ago
openvasp-contracts v2.0.0-rc
OpenVASP Contracts
This repository contains smart contracts for the reference implementation of the OpenVASP standard
Build
NB! Node v10 is required
- Execute
npm install. - Execute
npm run build.
Test
NB! Node v10 is required
- Execute
npm install. - Execute
npm test.
Deploy
NB! Node v10 is required
For local development
(It is expected, that ganache-cli or similar development Ethereum server is up and running)
- Execute
npm install. - Execute
npm run deploy -- --network development.
To the Ethereum network
- Execute
npm install - Create
.envfile. Specify (see.env.template):
PRIVATE_KEYprivate key to sign deployment transaction;NODE_URLjson rpc node url for Ethereum network.
- Execute
npm run deploy -- --network ethereum. - Do not forget to remove
.envfile.