Nov N’Thx Backend - smart contracts

Install Web3J

Install truffle

npm install -g truffle

Install testrpc

npm install -g ethereum-testrpc

Install dependencies

npm install

Compile solidity code

npm run compile

Run solidity smart contracts tests

truffle test

Generate web3J wrappers

npm run build

Deploy project to ethereum blockchain

npm run build | npm run deploy

NPM config


Web3J Paths and Bin configuration


Truffle configuration


Truffle deployments steps configuration location


Truffle unit tests location