Smart contracts
Smart contracts are computer programs that are executed on a DLT network. They are used to automate the execution of a contract or agreement between two or more parties.
Smart contracts templates
A smart contract template is a program ready to be deployed. The template contains the specification of the smart contract, which can be versioned and deployed multiple times on the same network.
For example, a smart contract template can be a specification that implements a token standard, such as ERC-20. This template can be deployed multiple times on a ledger to create different tokens.
Supported languages
MARCO supports uploading smart contracts templates written in the following technologies:
DLT | Smart contract language |
---|---|
Ethereum | Solidity |
HyperLedger Fabric | Chaincode |
Smart contracts instances
A smart contract instance is a specific instance of a smart contract template already deployed on a DLT network. Following the previous example, a smart contract instance can be a specific ERC-20 token deployed on the Ethereum mainnet.