Package providing an example server to utilize with Coinbase Staking API. It is built with NodeJS 18+ and ExpressJS
This is a sample reference implementation, and as such is not built to be fully production-ready. Do not directly use this code in a customer facing application without subjecting it to significant load testing and a security review.
Clone this repo:
git clone git@github.com:coinbase-samples/staking-app-express.git
From the Coinbase Cloud Console create a new Staking API project, download the api key, and save the key file in the cloned directory as .coinbase_cloud_api_key.json
Copy the sample.env to .env and fill in the values.
To start up the local server, run the following:
npm run start
This starts the application server on localhost:3030
This library is licensed under the Apache 2.0 License. See the LICENSE file.