Expand description
Contract, for easier ErgoTree generation
Structs§
- Contract
- Defines the contract(script) that will be guarding box contents
Functions§
- contract_
compile ⚠ - Compiles a contract from ErgoScript source code
- contract_
ergo_ ⚠tree - Get the ErgoTree of the contract
- contract_
new ⚠ - Create new contract from ErgoTree
- contract_
pay_ ⚠to_ address - Create new contract that allow spending of the guarded box by a given recipient