How to use the app
Frontend is deployed at https://app.carmine.finance/ and the codebase is on GitHub.
The app will contain the following pages
Trade page
Allows users to buy and sell listed options.
To trade do the following
Select network (testnet / mainnet)
Connect wallet
Braavos
Argent
Select option (long/short, call/put, listed strike, listed maturity)
Be aware that for longs you pay premium
For shorts you collect premium, but have to lock capital in the option to guarantee payment of buyer, if the buyer makes a profit.
Optionally, you can set slippage - slippage sets maximum acceptable difference between the current price and price at the execution time. You will always pay the price at the execution time, if the price at the execution time is higher than the price with slippage the transaction will fail - this is intentional to prevent overcharging.
On a prompt window select the option size and confirm
Approve the transaction in your wallet
My position page
Select network (testnet / mainnet)
Connect wallet
Braavos
Argent
You will see lists of options you own
Active (their maturity has not passed yet)
Expired - those that expired in profit
Expired - those that did not expire in profit
With the options you own you can do multiple actions
Close active options (sell or buy them off) - either completely or partially with "Close button".
Be aware that you will be allowed to close the position only if there is enough UNLOCKED capital in the pool. Since all options have locked capital accompanying them, there might be a situation that there is not enough available capital to buy/sell the option from you.
Settle (expire) options that are passed their maturity. To receive the profit you gained through buying those and to receive the remaining locked capital from sold options.
Staking page
Select network (testnet / mainnet)
Connect wallet
Braavos
Argent
Stake capital
Select your prefered pool. Based on underlying asset and the option type.
Keep in mind that each pool has predetermined currency that can be used for staking. In other words, for example ETH/USC Call pool will allow you to stake ETH only.
Select amount to be staked. For example when you want to stake 1.2ETH, type in 1.2
Confirm staking through "Stake" button
Withdraw capital
For each staked pool you can see
Pool definition (name of underlying pair and option type)
Total value of your stake
Number of LP tokens
Select the percentage amount you want to withdraw or click "Max" button
Confirm the withdrawal
Please keep in mind that the staked capital you provided has been used as liquidity for options trading. There might still be some capital that is locked in options, so you might have to wait for it to get unlocked.
We are hard at work to allow immediate unlocking of the capital for user, to allow the user withdraw capital on demand.
History page
Select network (testnet / mainnet)
Connect wallet
Braavos
Argent
Browse overview of all transactions performed by your wallet address with Carmine Protocol. Please note that it takes up to 20 minutes for a transaction to appear in the history table.
Wallet Info
Clicking the wallet button in the top right corner after a wallet has been connected will open Wallet Info modal with additional information:
Copy address - clicking this button will copy your wallet's address into the clipboard
Explore - this button will open StarkScan page with your account details in a new tab
Disconnect - this button will disconnect currently connected wallet
Recent transactions - whenever you make a transaction, it will appear here and you can follow its status. Note that recent transactions are not persistent, if you close/refresh the page they will disappear. They can still be found in the History page, but only after completed and indexed by third party indexer. Recent transactions have three states they can be in:
Green - successfully finished
Orange - pending
Red - failed
Last updated