Deploy smart contract on XinFin Testnet through XinFin Remix and XinPay.

Step by step guide to deploy the smart contract on XinFin Testnet (Apothem) through XinFin Remix and XinPay.

Stage 1: Setup the Environment

  • You can find the XinFin remix at remix.xinfin.network. After this, you need to select the environment according to your contract.
Image for post
Image for post
  • Then you just need to paste your contract in the new file which you have created and select the compiler version as per your contract.
Image for post
Image for post

Stage 2: Add XinPay in Chrome

  • After compiling your contract, you need to deploy it.
  • You would need to download XinPay in order to further deploy your contract.
  • Afterwhich, you can simply XinPay as an extension in your Google Chrome browser.
  • For more details on how to get started with XinPay Crypto Asset, click here
Image for post
Image for post
  • After that, you will see a seed with which you can access your wallet. Make sure you take a proper backup of your Keystore as XinFin network is decentralized.
  • Post this, you would need to select the XinFin Apothem network where you can get the test token from Faucet.
Image for post
Image for post

Stage 3: Deploy the contract

  • After getting the test token on XinPay, you can deploy the token from XinFin Remix and submit the required transaction.
  • If the user wishes to deploy a smart contract on XinFin mainnet user will just require to change the network on XinPay and follow the same steps. Note: To deploy smart-contract on XinFin Mainnet users must have real tokens.
Image for post
Image for post
Image for post
Image for post

Stage 4: Interact with contract

You can also interact with your smart contract on the XinFin remix.

Image for post
Image for post

For Telegram Support Join: https://t.me/xinfintech

Watch the video for visual assistance.

About XinFin

XinFin is an open-source enterprise-ready Hybrid Blockchain for Global Trade and Finance.

Follow XinFin on:

Twitter: ( @ ) XinFin_Official

XinFin

XinFin [XDC] is an open source hybrid blockchain platform

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

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