Offshift Testnet Guide | Phase One
Simple 1:1 shifts between two ERC20 assets
Follow the instructions below to try your first shift on the Offshift Testnet using MetaMask !
1. Offshift tests on Ethereum’s Proof-of-Work Ropsten testnet. While you can interact with Ropsten using your mainnet Ethereum address, to avoid any confusion or unintended transfers we highly recommend creating a new wallet to use just on testnets.
2. Once you’ve created a new wallet, use the dropdown box in the top of the MetaMask Chrome extension to select “Ropsten Test Network.”
3. Next, you’ll need to acquire some Ropsten ETH from one of the faucets below:
4. While you’re waiting on your Ropsten ETH deposit, you can go ahead and add the two tokens we’ll be interacting with to MetaMast by selecting “Add Token”
Then click “Custom Token,” and one-by-one, copy/paste the addresses below into the “Token Contract Address” field. Click “Next,” then “Add Token.”
zkTEST-Asset (zkA) : 0x3fb2fe1f196c30ff333e4ae922fdc326974648fc
zkTEST-Asset (zkB) : 0xfff451afde8f74f08e7f466333298b6b02cb83e7
5. Once you’ve received your Ropsten ETH, request some zkA tokens from an admin in the Offshift Telegram .
6. When you’ve completed the steps above you should have both Ropsten ETH and zkA tokens in your wallet. If you do, you’re ready to shift!
7. Navigate to https://offshift.io/shift.html , where you’ll find a very simple front-end that connects to MetaMask.
8. Enter the number of zkA tokens you’d like to shift in the box and click “Approve and Shift.”
9. Metamask will open and ask if you want to “allow https://offshift.io to withdraw your zkA and automate transactions for you.” Click “Confirm.”
10. You’ll then be asked to confirm the transaction. You may get the error message pictured below that reads “ALERT: Transaction Error…” If you do, disregard and click “Confirm” again to send the transaction.
11. When you confirm the above transaction, you’ll send zkA tokens to the shifting contract and receive in return an equal number of zkB tokens.
That’s it, you’ve shifted! Click the “Activity” tab in MetaMask and select the most recent transaction to view the logs in Etherscan, check out the contract addresses, or explore whatever you’re curious about.
Thanks for testing! Come by the Offshift Telegram with any questions or comments, or just to chat us up. If you think you’ve found a bug please fill in the Bug Bounty Form and we’ll be in touch!
About Offshift
Offshift is leading private decentralized finance (PriFi) with the world’s first Private Derivatives Platform. It leverages zero-knowledge (zk) proofs and sources reliable, real-time price feeds from Chainlink’s decentralized oracle network to enable users to mint zkAssets, an unprecedented line of fully private synthetics. Offshift’s mostly anonymous team has developed a trusted reputation for their thorough privacy research, development and execution.
To learn more and get involved, visit the links below:
Website | Telegram | Discord | Twitter | Instagram | Uniswap | Sushiswap