Crypto address converter for multiple EVM Clone Chain

Pendem Shiva Shankar
2 min readMay 28, 2022

Ethereum allows developers to build and run decentralised applications on the network. This is achieved by a developer-friendly ecosystem that allows the coding and deployment of smart contracts, which are at the heart of all decentralised applications.

This is achieved by the Ethereum Virtual Machine, which provides an environment for smart contracts to run and interact with other contracts. Smart contracts on Ethereum are coded in the programming language Solidity and then converted into EVM bytecode

With the better advantages of EVM Chains, there are many projects that are coming with customised changes with their specific interests. The projects that are build are Xinfin Network , Welups Network, and Tron Network.

I made a node library supporting all the chains, which convert all the addresses to the desired chains format with a single library.

const cryptoaddressconverter = require('crypto-address-converter');

XinFin Digital Contract (XDC) is the Digital Asset Powering XinFin Network. partnering with multiple areas. so to convert the address from normal Ethereum to XDC wallet address,

console.log(cryptoaddressconverter.convertaddress("0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1","EVM","XINFIN")); //xdc90f8bf6a479f320ead074411a4b0e7944ea8c9c1

This is the standard format for conversion of EVM address to XinFin Network,

WELUPS is the main cryptocurrency issued in the Welups blockchain network. It is a cryptocurrency issued on the WRC-20 platform which is fully compatible with TRC-20 and ERC-20

this is completely similar architecture with TRON network and it has a simpler swap mechanism of changing the address from the Tron to the Welups network, this can be done with a single line of code,

console.log(cryptoaddressconverter.convertaddress("0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1","EVM","WELUPS")); //WPBkHycN1Hmr2bFcfjvp2fjkca1hfPbPka

the desired address is converted to the Welups chain and the same can be accessed with the same old private key of the account.

TRON is an ambitious project dedicated to building the infrastructure for a truly decentralised Internet. The goal is to help DApps to operate on TRON with lower energy consumption, faster speed and enhanced safety, providing unlimited capacity for TRON’s main network.

with the market computability and less transaction fee, users started to adopt higher usage of Tron network and the projects over Tron network. This chain address is even accepted from this library and the library,

console.log(cryptoaddressconverter.convertaddress("0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1","EVM","TRON")); //TPBkHycN1Hmr2bFcfjvp2fjkca1hfPbPka

this converts the EVM address to Tron chain and this is made it in simpler format.

In order to facilitate user participation in this new ecosystem of Ethereum Chains, this application has provided a feasibility to convert all at a single step and computable with multiple chains available.

At this moment, this library is available for EVM Chains, XDC Network, Welups Network, and Tron Networks,

This library is intended to us the same account private key for various chains available in the market.

Nodejs Library: https://npm.io/package/crypto-address-converter

Happy to add more, and need any updates, do get in touch on my telegram over @chigovera

--

--