Transactions
A transaction is a digitally signed, atomic message initiated by an Externally-Owned Account (EOA) — an account controlled by a human via a private key, not by smart contract code.
Analogy: Think of an EGC transaction as a signed order slip that is submitted to the blockchain network, requesting a state change (e.g., moving EGC, deploying contracts, or executing code).
Example: If Alice sends Bob 10 EGC:
Alice’s balance → decreases by 10 EGC plus applicable transaction fees.
Bob’s balance → increases by 10 EGC.
This state change is permanently recorded on-chain once included in a block.
Prerequisites
Accounts – Understanding the difference between Externally-Owned Accounts (EOAs) and Contract Accounts.
Introduction to EGC Blockchain – A high-level overview of network architecture, consensus, and core components.
Transaction Validity Rules Any transaction that changes blockchain state must:
Transaction Structure An EGC transaction generally conforms to Ethereum’s Legacy Transaction model (EIP-2718 type 0x0) but omits EIP-1559 fields, using a single gas price model.
from
Sender’s EOA address. Follows EIP-55 (Checksummed Address).
EIP-55
to
Recipient’s address (EOA or Contract). Empty when deploying contracts.
EIP-1014 (address derivation for CREATE2)
gasPrice
Fee per unit of gas, in Wei.
Legacy model per Yellow Paper §6.2.1
gasLimit / gas
Max gas units allowed for transaction execution.
Ethereum Yellow Paper
nonce
Number of transactions sent from this address (prevents replay).
EIP-155
value
Amount of EGCs to transfer (in Wei).
Same as Ethereum
data
Optional field for contract bytecode or ABI-encoded function calls.
EIP-20, EIP-721, EIP-1155 depending on usage
v, r, s (signature)
Signature components from ECDSA signing.
BIP-66 (DER signatures) conceptually influences canonicalization
Gas Gas represents the computational effort required to process a transaction.
Fee calculation:
Validators receive the full gas fee.
Any unused gas is refunded to the sender (EIP-150 gas reduction rules apply).
Example Transaction Object
Transaction Types in EGC EGC Blockchain supports the following transaction types:
Note: Unlike Ethereum post-London Upgrade (EIP-1559), EGC uses only the legacy gasPrice model — no base fee or priority tip.
Smart Contract Interactions
Function Selector: First 4 bytes of
dataare the Keccak-256 hash of the function signature.Parameters: ABI-encoded following the Ethereum ABI specification.
Unused Gas: Refunded per EIP-150 rules.
Transaction Lifecycle
Relevant Standards & References
Ethereum Yellow Paper – Core transaction execution model. https://ethereum.github.io/yellowpaper/paper.pdf
EIP-55 – Checksummed addresses. https://eips.ethereum.org/EIPS/eip-55
EIP-150 – Gas cost changes & refund rules. https://eips.ethereum.org/EIPS/eip-150
EIP-155 – Replay protection. https://eips.ethereum.org/EIPS/eip-155
EIP-1014 – CREATE2 for address generation. https://eips.ethereum.org/EIPS/eip-1014
EIP-20, EIP-721, EIP-1155 – Token and NFT interaction standards. https://eips.ethereum.org/EIPS/eip-20 https://eips.ethereum.org/EIPS/eip-721 https://eips.ethereum.org/EIPS/eip-1155
EIP-2718 – Typed transaction envelopes (MST currently uses legacy type). https://eips.ethereum.org/EIPS/eip-2718
BIP-32, BIP-39, BIP-44 – Wallet derivation standards (HD wallets). https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki
BIP-66 – DER signature enforcement principles. https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki
Last updated