RSK Addresses incorporate an optional blockchain identifier (also known as
chainId). If the
chainId is not present, it is assumed the address refers to the RSK main network.
RSK implements EIP-1191 to protect users from losing funds by mixing addresses of different Ethereum based networks.
In this document, you can find out how to apply the checksum and validate an address. This EIP is also supported by Web3 and hardware wallets.
To avoid a replay attack by using an already-signed transaction, originally broadcast in “network A”, and subsequently replayed it in “network B”, the EVM-based networks use
chainId as part of the transaction properties.
chainIds can be found at chainid.network.
RSK Mainnet: 30 RSK Testnet: 31
See EIP-155 for more information.
We strongly recommend the following:
chainIdin the RSK integration (and every time you integrate EVM-based blockchains)