Deploy a smart contract
Smart contracts written in Solidity can function on HPB as they do on Ethereum. This is because HPB's backend uses Ethereum's Virtual Machine (EVM).
To deploy a smart contract, you send an HPB transaction containing your bytecode without specifying any recipients.
After the contract is deployed, it will be available to all users of the HPB network.
Smart contracts have an HPB address like other accounts.
Requirements
Bytecode (compiled code of your smart contract)
HPB for gas costs
Deployment script/plugin
Access to an HPB node, either by running your own node or API access to HPBNODE
Additional resources
Tools
Truffle: Development environment and testing framework for blockchains using the EVM
Remix: Integrated Development Environment (IDE) used to write, compile, debug & deploy Solidity code in your browser
Solidity: Solidity is an object-oriented, high-level language for implementing smart contracts
OpenZeppelin: A library of battle-tested template smart contracts that minimize risk
Last updated