@gelatonetwork/range-orders-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Place Buy/Sell range orders on Uniswap V3 Pools @gelatonetwork/range-orders-react

Installation

yarn add -D @gelatonetwork/range-orders-react

or

npm install --save-dev @gelatonetwork/range-orders-react

Development

Build range-orders-lib and range-orders-react library
yarn workspace @gelatonetwork/range-orders-lib build
yarn workspace @gelatonetwork/range-orders-react build
Run the example app to see the changes in effect
cd swap-orders-lib/example
yarn start

Publish packages

yarn publish:lerna # publish latest versions
yarn publish:lerna:next # publish next versions

Buy/Sell Principle

Range Order Swaps are implemented based on the following possiblities

ZeroForOne Buy Sell TickThreashold
true 1/price price tick > current
false price 1/price tick < current

Need help? Want to add a new handler?

Reach out to us on Telegram, Discord or Twitter

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    0
    • next
  • 1.0.2
    1
    • latest

Version History

Package Sidebar

Install

npm i @gelatonetwork/range-orders-react

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

1.64 MB

Total Files

190

Last publish

Collaborators