GuidesTradeFlowTrade

FlowTrade

FlowTrade allows low-liquidity tokens to be traded without the use of a traditional AMM. Flow trades have two parties: a creator who creates the trade, and subscribers who join the Flow. Creators lock an amount of tokens in a flow and specify an asset that can be swapped for them at a minimum price. Flows have a set duration and interval, during which tokens flow from creators to subscribers, and vice-versa, with the price being set based on the number of subscribers in a flow.

Create a Flow

In the following example, a creator will lock Osmo in the flow. Subscribers will join the flow by depositing Atom. If the price meets the minimum specified, the creator's locked Osmo will be traded for the subscriber's Atom.

  1. Visit https://app.pryzm.zone/ and connect your wallet. Under the Trade tab, click FlowTrade.

  1. In the top-right corner, click Create New.

  1. In the creation window, enter a start date and time. This will be the date and time that your flow will start.

  1. Enter a duration, which determines how long the flow will last. In this example, the flow will last for two days, and swaps will occur every five minutes. Subscribers will be able to exit the flow every two minutes.

  1. Select when the creator can claim their tokens, and when subscribers can claim their tokens. In this example, creators can claim swapped tokens from the beginning of the flow, but subscribers will have to wait until the end of the flow to claim their tokens.

  1. Select the asset that you want to trade as the creator of the flow, and which asset subscribers will offer in exchange. In this example, 20 Osmo will be locked in the flow, which will gradually be swapped to Atom every 20 minutes. You can set a minimum price to ensure that no swaps occur unless the price is high enough.

In this example, no swaps will occur if the price of Osmo is less than 0.1 Atom in the flow.

  1. You can also include a name and description for the flow, as well as a web URL for your project. These are optional. Once you have reviewed your parameters, click Confirm. Your flow will be created, and subscribers can start joining your flow to swap their Atom for your locked Osmo.

Join a Flow

Subscribers can join flows to gradually trade their tokens.

  1. Visit https://app.pryzm.zone/flowtrade and connect your wallet.

  2. Select a flow from the active list to join. You'll need to have the subscribe token in your wallet to participate in a flow.

  1. Enter the amount of tokens you want to provide to the flow.

  1. Click Join the Flow and sign the transaction in your wallet extension.

Exit a Flow

After joining a flow, you can exit it by following the steps below.

  1. Visit https://app.pryzm.zone/flowtrade and connect your wallet.

  2. Click the Your Flows tab to view your positions.

  3. Click on the flow you want to exit.

  1. Click the Exit button and enter the amount you would like to withdraw from the flow.

  2. Click Exit the Flow and sign the transaction in your browser extension.

Redeem

Over the course of a flow, subscribers will trade their tokens for a creator's tokens. You can redeem your swapped tokens by following the steps below.

  1. Visit https://app.pryzm.zone/flowtrade and connect your wallet.

  2. Click the Your Flows tab to view your positions.

  3. Click on the flow you want to redeem tokens from.

  1. Click Redeem next to your redeemable amount and sign the transaction in your browser extension.

On this page