Skip to content

RemedyVI/gotsolVI

Repository files navigation

Got SOL Digital Financial Transaction System!

Installation instructions

  1. Copy the environment variables file:
cp .env.example .env
  1. Edit the .env file with the correct values, like addresses and keys

  2. Install dependencies:

npm i
  1. Check if the codebase works
npm test
  1. Start the application
npm start

Examples

Get metadata:

curl "https://api.gotsol.store/tx?amount=0.5&label=label&recipient=AbUV7m5KCcfYWM1sC9TMVZyPnXSBFTHS8QnKLwdJFj3x&spl-token=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

Get transaction:

curl --location --request POST 'https://api.gotsol.store/tx?amount=0.5&recipient=AbUV7m5KCcfYWM1sC9TMVZyPnXSBFTHS8QnKLwdJFj3x&spl-token=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&reference=BS2tfQjTxzCyDEf4oJVLqMGvqGTRbKbW3UYFtspnPZGi' \
--header 'Content-Type: application/json' \
--data-raw '{"account":"AorQX7369GgwrTLqANpfrS83GmdDTa8o2WJZyCfUbFji"}'

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors