pow-co/orderlock

Provide orderlock plugin to Stag Wallet

Opened this issue · 0 comments

The orderlock package should export a hook that stag-wallet can include which adds in the orderlock methods, something like:

import { stag as orderlock } from 'orderlock'
import { plugin, loadWallet } from 'stag-wallet'

plugin(orderlock)

const wallet = await loadWallet()

wallet.order.make({

})

wallet.order.take({

})

wallet.order.cancel({

})

wallet.order.list({

})