Skip to content

Smart Contracts

INFO

Learn more about Smart Contracts from the Wikipedia Article and Ethereum Homepage

CPUchain supports General Smart Contracts that could be deployed and executed by user transactions via embedded EVM (Ethereum Virtual Machine) engine integrated on CPUchain nodes.

Every full node is required to import and execute smart contracts with function inputs embedded on the transaction input field. This guarantees that the Smart Contract is actually a "contract" that is valid and gains validity across the network.

Being said, Smart Contracts don't have exceptions, and every behavior can be executed deterministically. When executed, it stores data on account state and transaction receipts, which could be derived by user-facing read-only nodes. And it is what constructs core data for so-called DApps ( Decentralized Applications )

CPUchain supports Smart Contracts written on Solidity Language, a type-safe programming language with C-like syntax. You can code and deploy Smart Contracts on CPUchain via popular Solidity tools like Remix Web IDE or command-line tools like Foundry or Hardhat.

Released under the MIT License.