Shiden Network EVM Tutorial

In this quick guide, I will show You hove to transfer $SDN tokens with Shiden EVM. We will use polkadot.js.apps and Metamask for that. I hope that this guide will help users to move around and use all available functions of Shiden Network. Let’s Go!

Overview

Now that EVM is enabled, more and more developers are deploying their dApps in our ecosystem. One frequently asked question is: “How can I transfer my tokens from MetaMask to polkadot.js.org”. In this tutorial, we will explain how to do this.

Q: Why would you need to do this? A: It’s not possible to transfer SDN tokens from MetaMask to an exchange. This is because MetaMask is using an address format of H160 and SDN uses SS58 format. Meaning, you have to transfer your tokens first to an SS58 address before sending them to an exchange.

Q: Can I import my wallet with SDN in MetaMask? A: No, you first need to create or import an H160 wallet on MetaMask before sending SDN to that address.

Q: Why can’t you just make it compatible? A: Astar ecosystem does not only support EVM but also will support WASM and other L1 ecosystems on Astar. Converting everything into H160 will make it a lot more difficult in the future. In the end, we are not just making a copy of Ethereum.

How to send $SDN Tokens from polkadot.js.apps account to Metamask account.

  1. Open the https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.shiden.astar.network#/accounts

2. Add Shiden Network to Metamask with custom RPC and below Shiden Network Details:

3. Visit https://polkatools.hoonkim.me/index.html

4. Put Your Metamask wallet address into the “Input address” section and change the addressing scheme to H160

5. Copy propagated address and use this one to send funds from polkadot.js.apps.

6. Confirm transaction with polkadot.js.apps

That’s it. If You did all as per the above tutorial, Your SDN tokens balance should be available on Your Metamask on Shiden Network

How to send $SDN Tokens from Metamask account to polkadot.js.apps

  1. Visit https://polkatools.hoonkim.me/index.html

2. Put Your address on the polkadot.js.apps account into the “Input address” section and set the addressing scheme at SS58

3. Copy propagated address and use it as the destination address to send funds from Metamask and accept the transaction.

Very Important! — destination polkadot.js.apps address need to have some $SDN to cover fees for EVM call

5. Go to https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.shiden.astar.network#/extrinsics and select “evm” and “withdraw” from “submit the following extrinsic” list to perform EVM withdraw call.

Put the withdrawal address You used to send funds in H160 format and the withdrawn amount in the value: BalanceOf” section

6. Sign and submit the transaction.

That’s it. Your $SDN should be now in Your polkadot.js.apps

Congratulations. You now know how to use Shiden Network EVM

About Astar

Astar Network (previously known as Plasm) is a dApp hub on Polkadot that supports Ethereum, WebAssembly, and layer 2 solutions like ZK Rollups. Astar aims to be a multi-chain smart contract platform that will support multiple blockchains and virtual machines. Shiden Network is a sister network of Astar Network and a dApp hub on Kusama.

Feel free to reach out to us! Through our Website | Twitter | Discord | Telegram

--

--

--

Polkadot Investor & Promotor, Polkadot & Kusama Validator, Seed Investments. Project marketing and Community Development - www.stakenode.dev (under constr.)

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Create a PDF from a Template serverless style using Azure Functions

The death of “front-end developers”

How we built the “Header & Footer”

Creating a Firebase Project with ES5 Javascript on Mac & Saving to GitHub

Angular Directive alternative in React

A Better Way to Share Code Between Your Node.js Projects

Chat popups on react, ever reuseable components

Two really handy libraries for React

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Stakenode

Stakenode

Polkadot Investor & Promotor, Polkadot & Kusama Validator, Seed Investments. Project marketing and Community Development - www.stakenode.dev (under constr.)

More from Medium

Astar Network & Arth Swap Lock-Swap-Hiring

Stake2Earn Festival

Astar Network token distribution details and roadmap

Astar Network — Frequently Asked Questions By New Community Members.