How to migrate any Ethereum token to XinFin Network in less than 10 minutes

  1. XinFin Address (Apothem Network)
  2. A text editor (I.e. Sublime / Atom)
  3. Solidity contract (Any Ethereum ERC-20 or EVM compatible contract can be used)
  • Sublime Text
  • VS Code
  • Atom
  • Download XDCPay
  • Select Apothem Network.
  • Copy the address
  • Go to the faucet and get 1000 test XDC
  • Open the contract you downloaded in your Text Editor.
  • Go to Line 3–15 and look at the comment section. Although this is a comment section, this will help you down the track. For me, 0Fucks was my first one :). Basically, you send 0Fucks to someone when you don’t care.
  • Change Line 4 to the title of your Smart Contract
  • Change Line 6 to the XinFin address you created in XDCPay
  • Change Line 7’s Symbol to your respective coin name (Keep it short)
  • Change Line 8 to the name of your token
  • Do the same for Line 115
  • Go to Line 116 and change the symbol name, the same as the ones you did in the comment section
  • Do the same for Line 117
  • Change Line 120’s Address to be the same as the one you generated in XDCPay
  • The same goes for Line 121

--

--

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