Darwinia Documentation
  • Home
  • Blog
  • Docs
  • Crab Network
  • Developers
  • Languages iconEnglish
    • 中文

›Tutorials

Get Started

  • Introduction
  • FAQ

    • General
    • Developers
    • Community Building
    • Token Holder FAQ
    • Mainnet Related
    • Lexion
  • Community
  • Roadmap
  • Tools
  • Sample Article
  • How to contribute

Understand Darwinia

  • Overview
  • Architecture

    • Architecture
    • Bridge Chain
    • Solo Mode
    • Parachain Mode
  • Appchain SDK
  • NFT Identifiability
  • Accounts

    • Account Keys
    • Account Generation
    • Account Address
    • Check Balance
    • Balance Types

    Economics

    • Native Tokens
    • Distribution
    • Transaction Fees

    Staking

    • Basic Staking
    • Advanced Staking
    • Staking Power
    • Slash Algorithm
  • Bridge Chain Mechanism
  • Cryptography
  • Governance
  • Glossary

Tutorials

    Darwinia Wallet

    • Create an Account
    • Become a nominator
  • Running a node
  • Become a validator
  • Become a relayer
  • Participate in governance
  • Recharge EVM address
  • Using Web3 for transaction
  • Using Web3 for contract
  • Wormhole

    • General
    • Ethereum -> Darwinia Bridge
    • Darwinia -> Ethereum Bridge

RFCs

  • RFCs
  • 0001 Darwinia Developement Structure
  • 0007 Dawinia Token Staking Model
  • 0009 Dawinia Liquid KTON Reward
  • 0010 Darwinia Cross Chain Nft Bridge Protocol
  • 0011 Using Harberger Tax To Find Price For Xclaim Vault Collaterals
  • 0012 Darwinia Bridge Core Interoperation In Chainrelay Enabled Blockchains
  • 0013 Darwinia Cross Chain Nft Standards
  • 0014 Darwinia Token Migration By Cross Chain Redeem Protocol
Edit

Recharge EVM address

All tutorials are only used in Pangolin testnet.

Pangolin Testnet

The Pangolin TestNet is a network for contract developers maintained by darwinia team with token PRING. This network integrates the DVM(Darwinia Virtual Machine) which will support Ethereum smart contracts in current darwinia network. So, you can also use common ethereum tools, such as Metamask, Remix, etc. Unlike the crab test network, token in Pangolin is free to apply.

Developer who needs test token to deploy contract or do something else about smart contract in darwinia network, could apply free token in Darwinia Element.

Add Pangolin to MetaMask

We need to query balance of evm account, so add new network in metamask at first.

add testnet

set testnet

Setting Configuration:

  • Network Name:Pangolin
  • RPC URL: http://t1.hkg.itering.com:9933
  • Chain ID: 43
  • Currency Symbol: PRING

Click Save, the pangolin network will be added in metamask successfully. Then, you could transfer token or deploy contracts in metamask.

Add Pangolin to Apps

Apps is a collection of toolkits provided by Darwinia Team. You can switch to Pangolin network as follows, click https://apps.darwinia.network/, add custom ternal configuration ws://t1.hkg.itering.com:9944/, save and reload again.

support apps

Note: if it prompts websocket unsecurity warn, please change chrome safe configuration to allow access to unsafe content.

Recharge EVM address

The materials needs to be prepared in advance:

  • evm address(Metamask generate one account)
  • substrate address (have some balance, apply in element)

Recharge:

  1. Generate evm address from substrate address

[apps]-[ToolBox]-[DVM address], enter the evm address, the corresponding substrate address will be generated, which represent this evm address to send or receive Pring.

create substrate address The corresponding substrate address of 0xAa01a1bEF0557fa9625581a293F3AA7770192632 is 5ELRpquT7C3mWtjerXnTxDmKnvVxJjCCstXcN8yG34o4365H.

  1. Transfer balance use Apps

Transfer balance using Apps, the target address is 5ELRpquT7C3mWtjerXnTxDmKnvVxJjCCstXcN8yG34o4365H.

transfer pring

Make Transfer and wait until the extrinsic been finalized in block.

  1. Comfirm balance in MetaMask

confirm balance in mataMask

The balance of evm address 0xAa01a1bEF0557fa9625581a293F3AA7770192632 is 100, a successfully recharge completely。

Last updated on 2/26/2021
← Participate in governanceUsing Web3 for transaction →
  • Pangolin Testnet
  • Add Pangolin to MetaMask
  • Add Pangolin to Apps
  • Recharge EVM address
Links
BlogOfficial WebsiteDarwinia Wallet Apps
Darwinia Documentation
Follow @DarwiniaNetwork
Star
Copyright © 2021 Darwinia Network