Prerequisites
- MongoDB instance, you can create a free on on MongoDB Atlas
- RabbitMQ instance, you can create a free one on CloudAMQP
- Node.js 16 or higher
Setup
Firstly, clone the repository by running the following command -setup.sh
script -
.env
file where you can add the MongoDB and RabbitMQ connection strings as well as make other changes like changing the RPC url.
The public key of your vault will be present in the .env
file. Make sure to fund it with some SOL on the network you want to use in order to pay gas fees and rent for the Nonce accounts.
Now, you can run the API server by running the following command -
Next steps
Usage
Use the Nonci API or SDK in your project to queue transactions