Skip to content

GoatPharmer/slpswap-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slpswap-client

Getting Started

Retrieve current rates and available token information from the following endpoint: https://api.slpswap.com/rates

Install on Linux

git clone https://github.com/vinarmani/slpswap-client.git
cd slpswap-client/
npm i
sudo npm link

You can now use the project from the command line with the slpswap command

Command Line Usage

slpswap --wif=<PRIVATE_KEY_FOR_ADDRESS_HOLDING_SLP_TOKENS> --amt=<AMOUNT_TO_SEND> --send=<TOKEN_ID_OF_TOKENS_BEING_SENT> --receive=<TOKEN_ID_OF_TOKENS_TO BE RECEIVED>

Sample command to send 50.5 SPICE in exchange for HONK

slpswap --wif=L4rnvJMVVPQP8J8xo7kT3YARYt9nwLrWQybkNXzCQnKp6Wj3WrrX --amt=50.5 --send=4de69e374a8ed21cbddd47f2338cc0f479dc58daa2bbe11cd604ca488eca0ddf --receive=7f8889682d57369ed0e32336f8b7e0ffec625a35cca183f4e81fde4e71a538a1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%