ETHGlobal NYC Hackathon
Kickstart Your Journey with zkEVM
Welcome! Embark on your journey by following the steps below to deploy dApps and secure your chance to win bounties! If assistance is required, make your way to the Polygon booth or connect with the team in the ETHGlobal Polygon Discord channel.
Step 1: Quickstart
Deploy a sample application swiftly and interact seamlessly with the zkEVM network by following the steps outlined below:
Link and Launch: Execute a Sample dApp
- Connect your wallet to the zkEVM network to initiate interaction with the network.
- Deploy a demo smart contract to zkEVM as a quick way to get started, and then consider exploring more smart contract examples for a deeper dive into deploying to zkEVM.
Step 2: Acquire Testnet ETH
Refer to the Faucet Guide to acquire Testnet ETH. After securing some, you have the option to bridge some of your Goerli tokens or initiate a request via XMTP.
[BONUS] Step 3: Enhance the LXLY Bridge Implementation
Develop and refine the LXLY sample implementation by incorporating support for various types of cross-chain messaging and asset transfers. You can explore the code samples and refer to the specifications of the bridge here for comprehensive information.
Step 4: Dive into Polygon ID
Lastly, delve into the official Polygon ID developer documentation to learn the intricacies of verifying and issuing credentials. To begin, you will need to establish a Polygon ID wallet. Achieve this by following the Quickstart Demo and proceed with the guide to issue credentials.
When you're ready, explore these code samples demonstrating Verifiable Credential Issuance and Verification:
zkEVM Quickstart
To see the potential list of risks associated with the use of Polygon zkEVM, check out the Risks FAQ section.
Polygon zkEVM is the first zero-knowledge scaling solution that is fully equivalent to an EVM. All existing smart contracts, developer toolings and wallets work seamlessly. Polygon zkEVM harnesses the power of zero-knowledge proofs in order to reduce transaction costs and massively increase throughput, all while inheriting the security of Ethereum.
Building dApps on zkEVM is completely similar to Ethereum. Simply switch to the zkEVM RPC and start building on a network with much higher throughput and lower fees. Polygon zkEVM provides a complete EVM-like experience for Developers and Users alike. So you do not need special toolings or new wallets for building or interacting with zkEVM.
You don't need special toolings or Wallets to build or interact with Polygon zkEVM.
Developers will be able to deploy their existing contracts to the zkEVM, and Users can deposit assets from Ethereum and transact off-chain. These transactions are grouped into batches with zero-knowledge proof attesting to the validity of each transaction.
Connecting to zkEVM
In order to add the Polygon zkEVM network to your wallet, you will need to enter the following details :
Network | RPC URL | ChainID | Block Explorer URL | Currency |
---|---|---|---|---|
Polygon zkEVM | https://zkevm-rpc.com | 1101 | https://zkevm.polygonscan.com/ | ETH |
zkEVM Testnet | https://rpc.public.zkevm-test.net | 1442 | https://testnet-zkevm.polygonscan.com | ETH |
You can add zkEVM Network to your MetaMask wallet instantly by clicking the Add to Wallet button in the Wallet Suite interface.
If you want to launch your own RPC Endpoint for the Polygon zkEVM network, check out third party services like QuickNode.
The next step is to bridge your assets from Ethereum → Polygon zkEVM. You can use the zKEVM Bridge natively built inside Polygon Wallet Suite to bridge your assets.
You can also view all available public endpoints to connect to Polygon zkEVM on Alchemy's Chain Connect and Chainlist.
Deploying Smart Contracts
The development experience on zkEVM is seamless and identical to Ethereum Virtual Machine. Developers on zkEVM can use their existing code and toolings to deploy on zkEVM with much higher throughput and lower fees.
Here is a video tutorial on how to add Polygon zkEVM Testnet to MetaMask and deploy smart contracts:
Get Started with Web3Modal
Please view the third-party content disclaimer here.
Overview
Web3Modal is a simple and intuitive SDK that provides a drop-in UI to enable users of any wallet to seamlessly log in to applications, offering a unified and smooth experience. It features a streamlined wallet selection interface with automatic detection of various wallet types, including mobile, extension, desktop, and web app wallets.
Code Sandbox for Polygon
The Web3Modal team has prepared a Polygon Code Sandbox. It’s a straightforward way for developers to integrate and get hands-on experience with Polygon.
How to Integrate
- Visit Web3Modal: Go to Web3Modal's official website to explore its features and capabilities.
- Explore the Code Sandbox: Utilize the Polygon Code Sandbox to demo and understand the integration process.
- Follow the Documentation: Refer to the provided documentation and instructions to integrate Web3Modal into your projects and leverage its features effectively.
zkEVM Support
If you need help with anything related to the Polygon zkEVM, you can raise a ticket on the Polygon Support portal, and check out the Knowledge base to view the most common queries about the zkEVM. Additionally, you can reach out to the support team available on the #zkevm-support channel on the Polygon Discord server. Instructions for raising a zkEVM support ticket are as follows:
- Join the Polygon Discord server here.
- Accept the invite sent via DM.
- Take the Member role under #roles.
- Navigate to the #zkevm-support channel.
You can now contact the zkEVM support staff with your questions and concerns. We will actively monitor for issues and work to resolve them as soon as possible.