@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)

/@scallop-dao/sui-sdk/

    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