A lightweight application to show the Open Payments API functions.
Before you begin, you need to install the following tools:
Open Visual Studio Code and open a terminal in your Visual Studio Code. Then run this command below:
git clone https://github.com/FinHubSA/open-payments-express.gitMake sure Visual Studio Code has the open-payments-express project opened and continue in terminal:
npm install- Follow this tutorial to setup your test wallet
- Create a new
.envfile, right next to the.env.exampleand copy all code from.env.exampleto.env. - Copy key ID and the wallet address into the
.envfile. - Put the private key in the root folder i.e. open-payments-express/private.key. The private key file was saved and generated automatically when you created
Developer Keysfor your wallet address.
# Development mode with auto-restart
npm run devThe server will start on http://localhost:3001