Skip to content

SwingbyProtocol/cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

Swingby CLI tool

A simple toolset build for use in the command line for interacting with the Swingby network

Features:

  • Official implementation
  • Save user settings
  • Query data from network
  • Tustless swaps between ECDSA chains

Instillation

npm install -g https://github.com/SwingbyProtocol/cli
swingby init
swingby help

Quickstart

Query the last 20 completed swaps and render as raw json:

swingby swaps query --pageSize=20 --status COMPLETED --raw

Create a new swap to my saved bnb address

swingby swaps create --currencyFrom BTC --currencyTo BTC.B --toMyBnb --amount 0.1

Check the peers on the network

swingby info peers

For more commnads, check out the swingby help command.

Useful links

About

πŸ‘©πŸ»β€πŸ’» The Skybridge Command Line Interface

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published