Deploy Smart Contract

Hepton PoS utilizes the Ethereum Virtual Machine (EVM) in the backend. Smart contracts are written in Solidity and they can function on Hepton PoS as an extension to the side-chain.

To deploy a smart contract, you send a Hepton transaction containing your byte-code without specifying any recipients.

After the contract is deployed, it will be available to all users of the Hepton PoS network. Smart contracts have a Hepton address like other accounts

Requirements

  • Bytecode (compile code) of your contract

  • HTE for gas-fee (cheaper than EtherL1)

  • Deployment script/plugin

  • Access to Hepton whether setting up your own node or API access to a node

Additional Resources from Ethereum:

1/ Compiling

2/ Deploying Smart Contract on Ethereum

Tools

  • Truffle: Development environment, testing framework, and asset pipeline for blockchains using the EVM

  • Remix: IDE that’s used to write, compile, debug & deploy Solidity code ll in your browser.

  • Solidity: Solidity is an object-oriented, high-level language for implementing smart contracts.

  • OpenZeppelin: OpenZeppelin Contracts helps you minimize risk by using battle-tested libraries of smart contracts for Ethereum and other blockchains.

Last updated