Migrate from Ethereum
ThunderCore is a scaling solution for public blockchain. ThunderCore supports all existing Ethereum tooling along with faster and much much much cheaper transactions.
If you are looking to integrate with ThunderCore, you are in the right place.

Overview

Our blockchain natively supports EVM-compatible smart contracts. This following describes the steps required to port your existing Ethereum DApp to ThunderCore. If you haven't created a DApp before, checkout deploy your own game tutorial.

Connecting to our network

To connect to our network, see the RPC endpoints below. You can perform any RPC operation available in Ethereum on these URLs.
If you're using MetaMask, specify one of these URLs as a new, custom RPC.
If you're using Truffle, add the following section to your truffle.js file:
module.exports = {
networks: {
development: {
host: 'localhost',
port: 8545,
network_id: '*' // Match any network id
},
thunder-mainnet: {
provider: function() {
return new HDWalletProvider(mnemonic, "https://mainnet-rpc.thundercore.com");
},
network_id: '108',
},
thunder-testnet: {
provider: function() {
return new HDWalletProvider(mnemonic, "https://testnet-rpc.thundercore.com");
},
network_id: '18',
}
},
compilers: {
solc: {
version: "0.5.9",
settings: {
// see the solidity docs for advice about optimization and evmversion
optimizer: {
enabled: true,
runs: 200
},
evmVersion: "byzantium" // Current EVM on ThunderCore is fixed to "byzantium"
}
}
}
}

Yup, that's it

No need to rewrite your smart contracts or change any of your infrastructure code, you should be good to go! If you are facing any problems, post it in our Discord for direct access to and immediate help from some of our developers.
Copy link
On this page
Overview