The goal of this API was to bring modularity to the existing codebase and improve scalability between contracts, @kimanikelly/core-contracts, and future projects by returning the addresses, ABI, and Bytecode of the Smart Contracts.
https://smart-contracts-api-node.herokuapp.com/
https://github.com/kimanikelly/contracts-api.git
npm i
Open one terminal and run the command
npm start
to start the local Express server on port 3001.
Open another terminal and run the command
npm test
to begin the unit tests for http://localhost:3001/token
and http://localhost:3001/ttBank
.
Returns the Address, ABI, and Bytecode of Token.sol as a JSON
/token
Returns the Address, ABI, and Bytecode of TTBank.sol as a JSON
/ttBank