Requirement
- NodeJS, NPM
- MetaMask if using Testnet
npm install
npx tsc
- Ensure that the
web3
is changed to your respected RPC server addr inmain.js
- Ensure to change
edu_coin_addr
incontract_addr.js
- Ensure to change
edu_coin_abi
incontract.js
npm install
npx tsc
Note you will need to enter private key for the local blockchain accounts.
node build/index.js