1.0.5 β€’ Published 1 year ago

@phinx-app/phinx-helper-sdk v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Phinx wallet helper SDK

npm version downloads

Customized Sushiswap SDK for phinx wallet which handles the routes automatically for you, changes in trade quotes reactive subscriptions, exposure to formatted easy to understand information, bringing back the best trade quotes automatically, generating transactions for you and much more. All the Sushiswap logic on ETH and BSC for you in a simple to easy understand interface to hook straight into your dApp without having to understand how it all works.

Please note this is not owned or maintained by sushiswap and is a open source package for anyone to use freely.

Features πŸš€

πŸš€ Queries all the best routes and finds the best price for you πŸš€ Exposes all the route paths it tried so you can see every detail in how it worked out the best price πŸš€ Easy subscriptions to get alerted when the price moves or the trade expires πŸš€ The transaction is generated for you, just fill it with the gas details and send it on its way πŸš€ All the figures are all formatted for you, no need to worry about timing it back to its decimal formatted place, just render it straight onto your UI πŸš€ Exposes all the tokens metadata for you, name, symbol, decimals πŸš€ Uses multicall for every on chain lookup, so even though it could be doing 100 JSONRPC calls it is all put into a few calls meaning it can stay very fast πŸš€ Tidy bundle size πŸš€ Fully typescript supported with full generated typings πŸš€ Other cool internal stuff exposed for your use

  • πŸš€query many tokens in 1 jsonrpc call perfect to get token metadata fast
  • πŸš€all the sushiswap contracts are all exposed for your use with full typings if you wanted to call a more bespoke method
  • πŸš€ and much more!!

npm

$ npm install @phinx-app/phinx-helper-sdk

yarn

$ yarn add @phinx-app/phinx-helper-sdk
1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago