Lifting Tokens EWC -> EWX (Contract Interaction)
This document explains the steps required for lifting EWT tokens from the Energy Web Chain to the Energy Web X parachain.
Lifting: briding tokens from Tier-1 (EWC) to Tier-2 (EWX).
Key Components
Tier-1 (T1): Energy Web Chain (EWC, EVM).
Tier-2 (T2): Energy Web X (EWX, Substrate parachain).
t2PublicKey: the public key (Substrate SS58 key) corresponding to your EWX account.
Energy Bridge Contract: deployed on EWC, coordinates token transfers to/from EWX.
Parachain Pallets: on EWX, manage the T2 side of bridge operations.
Note: Add EWC Network to EVM Wallet
Lifting EWT (Native Token)
Go to the Energy Bridge Contract (EWC mainnet) Proxy Contract Click here: Proxy Contract address
Choose the “Write Proxy” tab and click Connect Wallet.
Connect with your EWC account
This must be an Ethereum/EWC account that holds EWT on EWC.
Ensure you have a small amount of EWT left in the account for gas.
Select function liftEWT (function #7)
t2PublicKey (bytes): Enter the EWX account you want to lift to, converted to hex public key bytes.
To convert:
Use the “address” converter to paste your EWX Substrate address.
Copy the hex public key representation.
Paste this value into t2PublicKey.
amount: Enter the number of EWT (in wei units). Example:
For 1 EWT, enter 1000000000000000000 (1e18).
Can use this converter for decimals: https://eth-converter.com/
Note, 10 EWT is the minimum lift
Click “Write” to submit the transaction.
The contract will lock tokens on EWC and initiate the lift.
Once collators validate the lift on EWX, the equivalent EWT will appear in your EWX account.
Note, it can take a couple minutes for the balance changes to reflect on EWX
Last updated