Smart contracts
Smart contracts on Obyte are expressions that evaluate to true or false, the money stored on the contract can be spent only when it evaluates to true.
Offering smart contracts
Creating contract definition
var arrDefinition = ['or', [
['and', [
['address', user_address],
// conditions when user can unlock the contract
]],
['and', [
['address', bot_address],
// conditions when I can unlock the contract
]]
]];Sending a request for contract payment
Re-sending lost smart-contracts
Last updated
Was this helpful?