Connecting to the Network

Details on connecting to MetaChain Mainnet and Changi Testnet via custom RPC endpoints

Setting up the network in your wallet

This tutorial will help you set up a connection to MetaChain via a custom RPC endpoint.

Connecting to the Network: MetaChain Mainnet and Changi Testnet

Introduction

Connecting to MetaChain's network is a prerequisite step for developers and users alike. This section provides a comprehensive guide on how to connect to both the MetaChain Mainnet and Testnet using custom RPC endpoints.

MetaChain Mainnet [Coming Soon]

  • RPC Endpoint: https://mainnet.metachain.org

  • Port: coming soon

  • Network ID: coming soon

To connect to the MetaChain Mainnet, you can use the following JSON-RPC command:

curl -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' https://mainnet.metachain.org:8545

Changi Testnet

  • RPC Endpoint: https://testnet.metachain.org

  • Port: coming soon

  • Network ID: coming soon

To connect to the Changi Testnet, you can use the following JSON-RPC command:

curl -X POST --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}' https://testnet.metachain.org:8545

Security Considerations

Always ensure that you are connecting to the correct RPC endpoints to avoid any security risks. Use HTTPS to ensure a secure connection.

Helpful Hint

If you're new to MetaChain, it's advisable to start with Testnet to familiarize yourself with the network and smart contract deployment before moving to Mainnet.

Additional Resources


Metachain Mainnet

Select network:

Custom RPC

Network Name:

Metachain EVM

ChainID:

coming soon

Symbol

DFI

Metachain Changi Testnet

Select network:

Custom RPC

Network Name:

Metachain Changi Testnet

ChainID:

1133

Symbol

DFI

Hint: Always ensure to test wallet functionalities on testnet before deploying changes to mainnet to avoid potential issues and ensure a smooth user experience.

Last updated