Reef Chain News
Cover photo

Reef dApp Academy: Binding an EVM Address

A guide on how to claim an EVM address on Reef Chain

Derek E. Silva

Derek E. Silva

👋 Hey there, my name is Filip! Glad you are here & welcome to Reef academy. These resources are made for you to learn about the Reef ecosystem and ensure a smooth process to get you ready for building on Reef.

Play Video

Briefing - What is this tutorial all about?

Reef is fully EVM compatible, which means you can use Solidity and useful tooling as known from legacy Ethereum. In this tutorial, we will explain some basics of the EVM and how to claim your EVM address.

💡 What is an EVM?
Ethereum Virtual Machine (EVM) is a computation engine that acts as a decentralized computer. Its most important feature is ensuring one canonical state within a global network of Ethereum clients. We can call it a "distributed state machine".

EVM-model-machine-state-world-state

https://ethereum.org/en/developers/docs/evm/

💡 How can Reef be compatible with the EVM?
EVM compatibility means creating an EVM-like code execution environment that makes it easy for Ethereum developers to migrate smart contracts to an EVM compatible chain, without having to write the code from scratch again.

post image

Relevance - Why do I need this tutorial?

We will explain the steps on how you can claim your EVM address and interact with EVM compatible smart contracts. This will get you started developing or porting your solutions to Reef.

Prerequisites - What do I need to get started?

  1. Reef chain extension

  2. Reef extension account for mainnet

  3. How to get REEF tokens for mainnet


🎗 If you have questions at any point feel free to reach out in the Reef Discord Dev Chat!


🚀 Getting started - we are ready to go!

Step 0: Visit Reef web wallet

https://app.reef.io

Bind an EVM account to your Substrate account, so that you can use a single account for any transactions on the Reef chain.

Step 1: Select a Reef Substrate Account

Note: if you have not yet installed the Reef Chain Wallet browser extension, please follow the instructions here before proceeding: https://docs.reef.io/docs/users/extension/

Reef Substrate accounts start with a 5.

post image
Select your wallet from the list at app.reef.io

Step 2: Bind an EVM address to the selected Substrate Account

You can bind an auto-generated EVM address or an existing EVM account. Read more here.

Just select the button in the bottom-right corner that says ‘Register EVM Address.’

post image
Select 'Register EVM Address' to proceed

Step 3: Bind an auto-generated EVM address

⚠️ Important:
Make sure you have some REEF to sign the transaction. 1000 REEF is sufficient.

The transaction costs 2 REEF to process.

post image
Make sure you have funded your account; binding an EVM address costs between 2 REEF and 5 REEF

Step 4: You successfully bound an EVM account!

You successfully bound your EVM address to your Reef Substrate account. Congrats!

You unlocked the full potential of Reef EVM compatibility. Start interacting with EVM smart contracts and compatible dApps.

Step 4.1: Another way would be to visit https://app.reefswap.com/

‌‌Here you can go through the same process as above. Fund your wallet, bind an EVM address, Sign the transaction and your EVM account will be successfully bound.

⚠️ Attention:
Only use this EVM address on Reef Chain unless you have claimed a custom EVM address. Using the auto-generated EVM adress on other EVM chains or Ethereum will result in losing your funds.


Debriefing - What are the most important takeaways from this tutorial?

You learned how to bind your EVM address!

You unlocked the full potential of Reef EVM compatibility. Start interacting with EVM smart contracts and compatible dApps.


What's next?

Check out more tutorials about the Reef ecosystem here on our blog. Learn how to claim your EVM address, code a simple smart contract from scratch or how to port your dApp from Ethereum.

Collect this post as an NFT.

Reef Chain News

Subscribe to Reef Chain News to receive new posts directly to your inbox.

Over 32k subscribers

shanguo
Commented 6 months ago

How to get REEF tokens for mainnet reef which is created in first as new one no reef there to connect evm??

Reef dApp Academy: Binding an EVM Address