Skip to content

API returning the Addresses, ABI, and Bytecode of the Smart Contracts deployed in https://github.com/kimanikelly/contracts as a JSON response.

Notifications You must be signed in to change notification settings

kimanikelly/contracts-api

Repository files navigation

contracts-api

Node.js CI

Summary

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.

Heroku Hosted API

https://smart-contracts-api-node.herokuapp.com/

Installation

https://github.com/kimanikelly/contracts-api.git

Install Dependencies

npm i

Testing

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 .

Endpoints

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

Examples

About

API returning the Addresses, ABI, and Bytecode of the Smart Contracts deployed in https://github.com/kimanikelly/contracts as a JSON response.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published