Migration from Ethereum

This section will cover how to develop or migrate an existing DApp from Ethereum to Aion

Why build on Aion?

  • run applications faster and cheaper
  • source level compatibility for Solidity contracts
  • simple migration

Migrating from Ethereum

DifferenceEthereumAion
Data Word256 bits128 bits
Local Variable Count16 data word (256 bits)16 data word (128 bits)
int Sizeint8 - int256int8 - int128
uint Sizeuint8 - uint256uint8 - uint128
Inline AssemblySupportedNot Supported (currently)
Address20 bytes32 bytes
Hash Function (signatures & wallet)Keccak-256Blake2b
Signature FunctionECDSA – curve secp256k1ECDSA - curve ED25519
CompilersSolidity, LLL, SerpentSolidity