Lightweight Contracts vs Smart Contracts
Introduction to Lightweight Contracts.
Lightweight Contracts represent a framework for developing a layer of automation on top of the existing Rest APIs.
Unlike many other contract development frameworks, lightweight contracts are not executed by every node on the blockchain, instead node operators have to configure their node to run contracts by registering the contract runner addon. The contract runner monitors every new block for trigger transactions. When found it triggers the respective contract.
Contract Runner fees and funds.
The contract runner account needs funds to pay the fees for any submitted transaction. Please ensure that the account has enough balance on every chain where the contracts will submit transactions.