Introduction
Sending offline transactions on the XDC Network enhances security by allowing users to sign transactions in an isolated environment before broadcasting them. This guide will walk you through the step-by-step process of executing offline transactions using MyCrypto Wallet, ensuring that your private keys remain secure and never touch an online device.
Prerequisites
● MyCrypto Wallet: Download from https://download.mycrypto.com/ according to your operating system.
● Offline Machine: A computer with no internet connection to securely store and sign transactions.
● Online Machine: A separate device to broadcast the signed transaction.
● XDC Public RPC Endpoint: Required for setting up the XDC Network on MyCrypto.
Step 1: Setting Up MyCrypto on the Offline Machine
1.Transfer MyCrypto to Offline Machine:
○ Download MyCrypto .exe from https://download.mycrypto.com/ on your online machine.
○ Use a USB drive or other secure methods to transfer the file to the offline machine.
- Install MyCrypto: ○ Run the .exe file and install it on the offline device.
- Add XDC Network to MyCrypto: ○ Open MyCrypto and navigate to "Change Network". ○ Click on "Add Custom Node".
○ Enter the following details:
■ Node Name: XDC Network RPC Node
■ Network: Custom
■ Network Name: XDC Network
■ Chain ID: 50
■ Public RPC Endpoint: (Use the official XDC RPC URL)
○ Click Save. XDC Network is now added to MyCrypto.
Step 2: Creating a Wallet on MyCrypto
- Go to "Create a New Wallet".
Select "Generate a Wallet".
Choose "Keystore File" (MyCrypto only supports Keystore for XDC Network).
Set a Password:
○ Enter a strong password and write it down in a secure location.Download the Keystore File:
○ Click on "Create a Wallet".
○ Download the Keystore File and store it securely.Save the Private Key:
○ Click "Continue" and save the private key.
○ Print and store the paper wallet securely.
○ Take multiple backups on offline storage.
Step 3: Accessing the Wallet (Offline)
- Go to "View & Send".
- Select "Private Key".
- Enter Your Private Key.
- Access the Wallet. ○ Note: Since this is an offline machine, you will not see the account balance.
Step 4: Preparing and Signing a Transaction (Offline)
1. Prepare Transaction Details:
○ To Address: Enter the recipient's address.
○ Amount: Enter the number of tokens to send.
○ Gas Price (Gwei): 20
○ Gas Limit: 21,000
○ Nonce:
■ Check the last used nonce at https://xdcscan.com by viewing the last transaction.
○ Verify all details.
2. Sign the Transaction:
○ Click "Sign Transaction".
○ MyCrypto will generate:
■ Raw Transaction: Contains all transaction details.
■ Signed Transaction: The transaction signed using your private key.
3. Copy the Signed Transaction:
○ Save it on a USB drive or note it down securely.
Step 5: Broadcasting the Transaction (Online)
- Transfer the Signed Transaction to an Online Machine.
- Open the XDC Broadcast Tool: ○ Go to https://broadcast.xinfin.network/build/raw-tx.
- Paste the Signed Transaction.
- Verify Transaction Details: ○ Chain ID, From Address, To Address, Value, Nonce, Current Nonce, Balance, Gas Price, Gas Limit.
- Click "Publish".
- Receive the Transaction Hash: ○ After submission, you will receive a Transaction Hash confirming the transaction.
Conclusion
By following this guide, you have successfully executed an offline transaction on the XDC Network using MyCrypto. This method ensures maximum security by keeping your private key isolated from the internet while allowing transactions to be signed and broadcasted securely. Always ensure you store your private key and Keystore file safely and verify all transaction details before broadcasting.
Additional Resources and Tools
For further assistance and alternative methods for conducting offline transactions on the XDC Network, consider exploring the following resources:
● D'CENT Wallet: A hardware wallet offering biometric security features, compatible with the XDC Network. Learn more
● Send-Offline Helper for XDC Network: A tool designed to facilitate offline transactions on the XDC Network, providing a user-friendly interface for preparing and broadcasting transactions securely. Read more
● Step-by-Step Guide: A detailed article on sending offline transactions securely on the XDC Network. Check it out
● Video Guide: A tutorial on setting up and using the D'CENT Wallet for secure transactions. Watch here
For more information about the XDC Network and its features, visit the official website: XDC Network
If you have any questions or need further assistance, please feel free to post in the comments below.
Discussion (0)