Getting started with Starknet
Eager to explore Starknet with MetaMask? The MetaMask Starknet Snap makes managing your funds and sending transactions on Starknet easy.
This guide will take you step-by-step through installing and using the Starknet Snap within your MetaMask wallet.
What is Starknet?
Starknet is a Layer 2 scaling solution for Ethereum, created to enhance the network's scalability and reduce transaction costs while maintaining security and decentralization. Using zk-rollup technology, Starknet can bundle multiple transactions into a single batch, reducing transaction costs for all.
Adding the Starknet Snap
Let's get started with adding Starknet to MetaMask. Ensure that your MetaMask is unlocked before proceeding.
- Head over to snaps.consensys.io/starknet to begin. Click ‘Connect with MetaMask’.
- If your MetaMask is unlocked, a prompt will appear to connect to the Starknet Snap. Click ‘Connect’ to continue.
- Review the permissions requested by the Starknet Snap. If everything looks good, hit ‘Confirm’.
- Since we're installing a Snap requesting full access to our Starknet accounts, we need to confirm an additional modal. Click the checkbox, and click ‘Confirm’ to continue.
- All set! The Starknet Snap has been added to MetaMask, and you can now continue using the Starknet dapp.
- You'll notice that the Starknet dapp will display your Starknet address. Click ‘Got it!’ to continue to the dapp.
Bridging to Starknet
StarkGate is the official bridge for transferring Ethereum and ERC-20 tokens to Starknet.
- Head on over to starkgate.starknet.io to access the bridge.
- Click ‘Connect Wallets’ in the upper-right corner. A modal will show up; click ‘Get started’ to continue.
- The StarkGate dapp will ask us to connect an Ethereum and Starknet wallet. Since the Starknet Snap was added to our MetaMask, we can select MetaMask in both modals. Click ‘MetaMask’ to continue.
- MetaMask will ask you which Ethereum account you wish to use with the StarkGate dapp. Select the address you want to use, and click ‘Next’. Check the permissions requested by the dapp, and click ‘Confirm’ if all looks good.
- We've now connected our Ethereum account! To continue adding our Starknet account, click ‘Connect Starknet wallet’ in the StarkGate dapp.
- Because the Starknet Snap has been added to our MetaMask, we can select MetaMask as the wallet we use for Starknet. Click ‘MetaMask’ to continue.
- The StarkGate dapp will request to connect to the Starknet Snap in your MetaMask. Click ‘Connect’ to continue.
- You've successfully connected both accounts to the StarkGate bridge! Click ‘Continue’ to go further.
- Select Ethereum, enter the amount you wish to send, and click ‘Transfer’. Approve the transaction in MetaMask, and you're on your way!