bitshares / uptick

Python-based CLI tool set for BitShares blockchain
MIT License
42 stars 27 forks source link

Add commands to support Liquidity Pools #43

Closed christophersanborn closed 4 years ago

christophersanborn commented 4 years ago

Adding Liquidity Pool commands to support new BitShares 5.0.0 AMM feature.

Liquidity Pool commands:

Work in progress.

Done:

pi@raspberry:uptick-pr-pools $ uptick pool
Usage: cli.py pool [OPTIONS] COMMAND [ARGS]...

  Liquidity pool commands

Options:
  --help  Show this message and exit.

Commands:
  create    Create a new Liquidity Pool.
  delete    Delete a Liquidity Pool.
  deposit   Stake assets in a Liquidity Pool.
  describe  Describe a Liquidity Pool.
  exchange  Exchange assets via a Liquidity Pool.
  withdraw  Withdraw stake from a Liquidity Pool.
pi@raspberry:uptick-pr-pools $ 

See Also: python-bitshares#296

christophersanborn commented 4 years ago

@xeroc — I believe this is done and ready for review.

xeroc commented 4 years ago

After making a release for python-bitshares, this PR needs to add the new release as minimum in requirements.txt.

Good job!

christophersanborn commented 4 years ago

After making a release for python-bitshares, this PR needs to add the new release as minimum in requirements.txt.

Noted. Will happily do so.

xeroc commented 4 years ago

Please make graphenelib>=0.7.0 a dependency.

christophersanborn commented 4 years ago

@xeroc wrote:

Please make graphenelib>=0.7.0 a dependency.

Done. (Updated to bitshares>=0.7.0.)

xeroc commented 4 years ago

Good job, Thanks!