@scallop-dao/sui-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published
const txBuilder = scallopSui.createTxBuilder(obl);
txBuilder.addCollateral(SUI);
const USDC =  txBuilder.borrow(1000, 'USDCType');
// ... do some arbitrage here
txBuilder.repay(USDC)
const SUI = txBuilder.withdraw('SUIType')
txBuilder.transferObjects([SUI], sender)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    0

Package Sidebar

Install

npm i @scallop-dao/sui-sdk

Weekly Downloads

0

Version

0.1.1

License

Apache-2.0

Unpacked Size

79.8 kB

Total Files

12

Last publish

Collaborators

  • foxdao