LogoLogo
  • WELCOME TO ALEPH ZERO
  • EXPLORE
    • About Aleph Zero
    • AlephBFT Consensus
    • The Economy of Aleph Zero
    • Where to Buy AZERO
    • Decentralized Governance on Aleph Zero
    • Ecosystem
    • Aleph Zero Foundation Treasury Management
    • Community
    • Glossary
    • Audit & Research Papers
  • USE
    • Wallets
    • Explorer
    • Ledger
    • Telegram Notifications
    • Aleph Zero Signer
      • General introduction
      • What does Signer do?
      • What are Sub-accounts and Sub-account paths?
      • Why is it critical to store your Secret Phrase in a safe place?
      • How to forget and restore accounts?
      • What are Networks?
      • What are Trusted apps?
    • Dashboard
      • Dashboard basics
      • Overview
    • Stake
      • Staking Basics
      • Staking Menu Overview
      • How to Start Staking with the Aleph Zero Dashboard
      • How to Start Staking With the Developer Wallet
      • How to start staking using Ledger hardware wallet
      • How to Change Nominations
      • How to Stop Staking
      • Staking Rewards
      • Validators
      • Commission and Foundation Nodes
      • Proxy Accounts
    • Validate
      • Validating Overview
      • Hardware requirements
      • Running an Aleph Node on Testnet
        • Downloading and running the node
        • Verifying your setup
        • Customizing your setup
        • Building and running from source [advanced]
          • Building from source
          • Set environment variables
          • Download DB snapshot
          • Running the binary
        • Appendix: Ports, addresses, validators, and archivists
      • Running an Aleph Node on Mainnet
        • Running the node
        • Building and running from source [advanced]
      • Setting your identity
      • Making the node validate
      • Securing your validator
      • Troubleshooting
      • Elections and Rewards Math
      • Testnet Validator Airdrop
      • Foundation Nomination Program
    • Using the EVM-layer
    • Governance
      • Token
      • Multisig Accounts
  • BUILD
    • Aleph Zero smart contracts basics
      • Setting up a Testnet account
      • Installing required tools
      • Creating your first contract
      • Deploying your contract to Aleph Zero Testnet
      • Extending your contract
    • Cross contract calls
      • Using references
      • Using dynamic calls
    • Migrating from Solidity
    • Writing e2e tests with ink-wrapper
    • Aleph Zero Signer integration
    • Front-end app: smart contract interaction
    • Security Course by Kudelski Security
      • ink! Developers Security Guideline
      • Lesson 1 - Getting started with ink!
      • Lesson 2 - Threat Assessment
      • Lesson 3 - Integer Overflow
      • Lesson 4 - Signed-integer
      • Lesson 5 - Role-Based Access Control
      • Lesson 6 - Address Validation
      • Lesson 7 - Smart Contract Control
    • Development on EVM-layer
  • PROTOCOL DETAILS
    • Shielder
      • Overview
      • Design against Bad Actors
      • Preliminaries - ZK-relations
      • Notes and Accounts
      • ZK-ID and Registrars
      • Anonymity Revokers
      • PoW Anonymity Revoking
      • Relayers
      • Deterministic Secret Management
      • SNARK-friendly Symmetric Encryption
      • SNARK-friendly Asymmetric Encryption
      • Cryptography
      • Token shortlist
      • User Wallet
      • Versioning
      • PoC
      • Version 0.1.0
      • Version 0.2.0
    • Common DEX
      • Common Whitepaper - Differences
      • Dutch Auctions
  • FAQ
  • Tutorials
    • Withdrawing coins from exchanges
      • How to withdraw your AZERO coins from KuCoin
      • How to withdraw your AZERO coins from MEXC Global
      • How to withdraw your AZERO coins from HTX
  • Setting up or restoring a wallet
    • How to set up or recover your AZERO account using Aleph Zero Signer
    • How to set up or recover your AZERO account using the official mainnet web wallet
    • How to set up or recover your AZERO account using Nova Wallet
    • How to set up or recover your AZERO account using SubWallet
    • How to set up or recover your AZERO account using Talisman
  • Staking
    • How to stake via a direct nomination using the Aleph Zero Dashboard
    • How to stake via a nomination pool using the Aleph Zero Dashboard
    • How to destroy a nomination pool via the Aleph Zero Dashboard
Powered by GitBook
On this page
  • General information
  • RPC Endpoints
  • Faucet
  • Block Explorer
  • ChainId
  • Stable Coins
  • Wrapped native token (wAZERO)
  • Bridges
  • Other Details
  • Contract verification
  • Available integrations
  • Resources for SC development on EVM chains
  • Developing ZK-apps

Was this helpful?

  1. BUILD

Development on EVM-layer

Details on Aleph Zero EVM layer

PreviousLesson 7 - Smart Contract ControlNextPROTOCOL DETAILS

Last updated 3 months ago

Was this helpful?

General information

If you are a developer familiar with the EVM ecosystem, you will feel right at home: developing on Aleph Zero EVM will allow you to reuse all of the practices you are used to, including available tooling and integrations.

Importantly, even though the gas token of the network is AZERO, from a developer's standpoint it's identical to using ETH on other EVM chains: all of the methods work like you'd expect them to (including transfers, checking balances, payable functions, gas estimations etc.)

Below you'll find a quick rundown of all information required to start developing dApps and solutions on the Aleph Zero EVM chain.

RPC Endpoints

For programmatic access to Aleph Zero EVM you can use one of the following RPC endpoints:

Testnet

  • wss://ws.alephzero-testnet.gelato.digital

  • wss://alephzero-sepolia.drpc.org

Mainnet

  • wss://ws.alephzero.raas.gelato.cloud

  • wss://alephzero.drpc.org

Faucet

Block Explorer

The Blockscout explorer is available:

ChainId

  • Testnet: 2039

  • Mainnet: 41455

Stable Coins

Official contracts on mainnet:

Wrapped native token (wAZERO)

  • Testnet: 0xcC1141eEd15EB519b08cA38A2Ee75AB8025F0DA9

  • Mainnet: 0xb7Da55D7040ef9C887e20374D76A88F93A59119E

Bridges

There are a few options, depending on your target network and the use case:

Other Details

For other technical details of the Aleph Zero EVM testnet we refer to

Contract verification

  • the verifier url to https://evm-explorer.alephzero.org/api (for Mainnet)

  • https://evm-explorer-testnet.alephzero.org/api (for Testnet)

  • the verifier to blockscout

For example, if you'd like to verify your contract on the Aleph Zero EVM Testnet using Foundry, here are the params you'd pass to the verify-contract command:

--chain-id 2039 --verifier-url https://evm-explorer-testnet.alephzero.org/api --verifier blockscout

You don't need an API key for verification using Hardhat or Foundry. In Hardhat, you can set the key to any string.

Available integrations

  • Thirdweb

  • Gnosis Safe/Profotire:

  • Subsquid:

  • Goldsky: you'll need to use the chain slug alephzero-testnet for Testnet, and alephzero-evm for Mainnet.

Resources for SC development on EVM chains

Developing ZK-apps

A PoW faucet for the testnet is available under the link -- if you find yourself in the need for more tokens than the faucet is able to provide, contact us on .

Testnet:

Mainnet:

USDC (canonical bridge)

USDT (canonical bridge)

For the implementation deployed by the Aleph Zero Team, including ABI and bytecode, please see the . The contract addresses are:

This is a Solidity implementation deployed on the EVM L2, not to be confused with the deployed on the Aleph Zero Layer 1 chain.

The , between Ethereum and Aleph Zero EVM.

And its version that doesn't require you to hold AZERO on Ethereum, the .

The between Ethereum, Aleph Zero EVM and Aleph Zero WASM.

The , supporting many different networks, including Arbitrum, Base, Ethereum,, Optimism, Scroll, etc.

The for integrating cross-chain flows into your apps.

Testnet:

Mainnet:

In order to verify contracts, you can use Blockscout's API with Hardhat or Foundry, or verify them directly on the . If you're using Hardhat or Foundry, it's important to set:

This list will keep growing for a few months since the launch. If you don't see a tool you'd like to use, please reach out to us on .

Testnet:

Mainnet:

, currently the most popular Solidity framework

, a faster alternative to Hardhat

, allowing you to construct basic tokens using a UI

, an educational game where you 'hack' smart contracts

Circom and snarkjs tutorial

Basic background on ZK for developers

https://rpc.alephzero-testnet.gelato.digital
https://alephzero-sepolia.drpc.org
https://rpc.alephzero.raas.gelato.cloud
https://alephzero.drpc.org
https://drpc.org/faucet/alephzero
discord
https://evm-explorer-testnet.alephzero.org/
https://evm-explorer.alephzero.org/
0x18d25B4e18165c97e1285212e5d1f80eDD6d3Aa7
0xD648529D4803d3467bA8850577BEd4e4b8Ae583C
wAZERO repo
ink! implementation
'canonical' bridge
ERC20 Bridge
Common/MOST bridge
Across Bridge
Hyperlane Bridge
https://raas.gelato.network/rollups/details/public/aleph-zero-evm-testnet
https://raas.gelato.network/rollups/details/public/aleph-zero-evm
Blockscout page
discord
https://thirdweb.com/aleph-zero-testnet
https://thirdweb.com/aleph-zero-evm
https://alephzero-safe.protofire.io/
https://v2.archive.subsquid.io/network/aleph-zero-evm-mainnet
Solidity by example
Solidity documentation
Hardhat tutorial
Foundry book
Basic frontend app
OpenZeppelin for tokens, utils and more
OpenZeppelin Wizard
Ethernaut
https://docs.circom.io/
https://docs.circom.io/background/background/#zero-knowledge-proofs