Horizen EON

Powered by Horizen, EON is a fully EVM-compatible sidechain and smart contract platform built with massive scalability in mind.

Develop Your Web3 Products on a Scalable and Flexible Blockchain Protocol

Introduction

EON is Horizen's Ethereum Virtual Machine. EON has adopted Ethereum’s Account-based transaction model to represent assets as balances within accounts. The Account model, in VM capable blockchains, differentiate account types on whether they represent a normal account balance or an account which is bound to some code that has to be executed by the VM (Virtual Machine). The conventional terminology to differentiate those is:

  • Externally Owned Account (EOA)

  • Contract account

In both cases, the account has a balance.

Inside EON

For the EVM project, Horizen Labs has adopted Ethereum’s Account-based transaction model to represent assets as balances within accounts.

Stateful Model: Account-based Transaction Design

Unlike UTXO model chains (like ZEN), in which coins are uniquely referenced, account model chains represent coins as balances within an account. The Account-based model is simpler than the UTXO model as it voids the notion of "change", where the account model is similar to a bank account where the balance is the result of the sum of deposits less the sum of withdrawals with no notion of the denominations composing the balance.

In the UTXO model, where a user willing to spend 10 tokens needs a composition of coins to be greater or equal to the amount to spend, if that value does not match exactly 10, the user will receive change back (a new coin to be spent in future). In the account model, the amount spent is subtracted from the balance.

Environments

RPC Server

The RPC (Remote Procedure Call) endpoint works as a node's address: it's a URL where requests for blockchain data can be sent to. The Ethereum JSON-RPC specification defines some industry standard methods which can be used to retrieve data from a node.

Environment

URL

LocalHost

127.0.0.1 (a local node is required)

Gobi Testnet

https://gobi-rpc.horizenlabs.io/ethv1

Mainnet

https://eon-rpc.horizenlabs.io/ethv1

Chain ID

The chainId was introduced by Ethereum to prevent replay attacks on different networks, where every EVM-compatible blockchain should have its own unique Chain ID.

Environment

Chain ID

LocalHost

1997

Gobi Testnet

1663

Mainnet

7332

Official resources

🎲pageChainlink VRF v2

Last updated