Giter Site home page Giter Site logo

slpswap-client's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.