Using Tutorial on PC of Opswap Test Network
Last updated
Was this helpful?
Last updated
Was this helpful?
Currently, the Opswap test network version only supports MetaMask wallet, please set up a connection to MetaMask download address: https://metamask. Io after you download MetaMask wallet
Google Chrome is recommended for PC
Use Google Chrome to download the MetaMask wallet plug-in, find the plug-in button, and click to directly search for metamask to install it.
Once installed, a small fox icon will appear in the upper right corner, click the little fox three times so that it can call the metamask plug-in.
Import a wallet mnemonic or create a new wallet so as to enter the wallet.
2.Log in to the official website of opswap.io, no need to manually enter RPC parameters, and automatically link to the Arbitrum network.
1. Log in opswap.io
2. The MetaMask wallet address for connection will be automatically prompted. After the link is successful, click "Asset" and automatically remind you that your balance is insufficient. The system can add extra test coins, and click "OK" to test currency will be paid to your wallet account automatically.
3. The second method is that you can obtain test currency through a faucet. A wallet address can only receive 1 ETH and 3000 test coins within 24 hours.
After receiving the test currency, users can check their balance in the asset interface, switch to English and Chinese after clicking the upper right corner of any interface three times, and you can check the official community, code submission, forum and other information.
Pull down the arrow on the right to choose the sorts of currency you want to sell, Pull down arrow below to select the currency you want to buy, input the amount you want to change into the white box, and click the blue button so that you can exchange for the swap on sorts of currency.
Pull down the arrow inside the picture to choose the currency that you want to add, input the amount that you want to add inside white box, add the amount of liquidity with need of two assets value being 50% each amount, the amount that is input will calculate the amount needed automatically, and click blue button so as add liquidity.
Click contract liquidity on the upper left corner, click the drop-down arrow following steps below to choose the currency you want to add, input the amount of money you want to add into the lower white box, click the blue button to add the liquidity of contract deposits
Check information in the red box below, find your balance of deposit, click withdrawal function on the left, input the number of deposits you want to get back, click the blue button to withdraw money, and you can get back your savings.
First, we need to find a charging button in the asset interface. We need to charge the deposit assets first to the contract before we can make contract short transactions.
Click the drop-down arrow to select a trading pair, input the amount of money you want to trade into the white box so that you can trade a contract, up to 10 times to support leveraged financing transactions at most.
Open the opswap.io and select the Rinkeby network. Click the button of the asset selection above to transfer money on one layer or two layers.
Rinkeby test coin in the red box that your own , as you can see, is an L1 asset. (Note: the black font in the red box on the left represents L1 assets, and the gray font on the right represents L2 assets.) Input the amount to be transferred into the white box, and click the button so that you can charge to the arbitrum network.
Switch the official website to the arbitrum network settings so that you can look at the two-tier network assets,
Find my asset interface and click L2 Wallet button to withdraw deposit.
Input the number of currency you want to withdraw from your contract into your L2 wallet. Click OK and the currency will get to your L2 wallet immediately.
Click one layer and two layers to rotate each other
Input the amount of L1 you want to withdraw into the white box of the red arrow below. (Note: The gray asset on the left represents the L1 asset, black asset on the right
represents L2 asset), click the blue button [Brideg (flow) ] to slow mode, currently, arbitrun network fast mode only supports dai, L2 exchanging to L1 only supports eth and dai, and red box shows the details of the transfer and account information, the yellow box on the bottom is for the past transaction record of past transaction
What determines the price?
The current token price depends on the relative amount of tokens in per pool of funds. Through the Automatic Marketer System (AMM), smart contracts always follow the constant formula: x*y=k, where x=token1, y=token2, k=constants. It will automatically delete the amount of one token and increase the number of other tokens according to the constant formula after realizing each transaction. During this period, the constant k remains constant and the balance is updated in real time. Therefore, each transaction will adjust the amount of tokens balance, thus changing the price.
What tokens can you exchange for?
Currently, Opswap supports USDT and ETH tests on the test network
Do you need a commission for the Opswap?
The system will automatically charge 0.3% fee for each conversion operation, which will be used to reward liquidity providers in the fund pool.