Preparing for transactions

To be able to open or fill an order, the user's wallet and tokens need to be in the appropriate state. Apart from the user having funds, when opening an order, appropriate allowances need to be set beforehand.

We advise setting up a polished UX with appropriate steps to guide your users as those steps might be hard to understand and slow order operations.

Opening a sale order

Filling a sale order

Opening a purchase order

In the case of a purchase order, when using native tokens in the order, wrapper tokens will be used to be able to set an allowance for the ERC20 wrapped tokens before creating the order.

Filling a purchase order