This is a one stop shop for all the sdk interactions with the Gateway Protocol
- Clone the repository
- Fetch your API Key and Access Token from the Gateway Protocol Dashboard
- Create a
.env
file in the root directory and copy the contents of.env.example
into it. - Fill in the API Key and Access Token in the
.env
file (use .env files and don't expose them in code) - Run the following commands to start the server
npm install
npm run start-v2
- Get the
V3_API_KEY
and create a new account and you will get jwt which you can pass asV3_TOKEN
- Note that v3 is still under development so by using v3 you might face errors if API is changed.
- Please contact us if you are getting errors in v3 so that we can help/update this repo.