Skip to content

rduque1/keyrock-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Ethereum example API

Getting Started

# Install dependencies
npm install

# Start production server:
PORT=8080 npm start

Endpoints

  1. GET - http://localhost:8080/api/createWallet
  2. GET - http://localhost:8080/api/getBalance/<eth_address>
  3. POST - http://localhost:8080/api/transaction body =>
  {
    "amount": <eth_amount>,
    "privateKey": <account private key>,
    "destination": <destination account public key>
  }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published