We all know that the first smart contracts appeared on the Ethereum network. As far as I know, in the Bitcoin network, smart contracts work with a limited functionality – Bitcoin uses a non-Turing Complete language. At the moment, just the following types of smart contracts are possible on the bitcoin network:
- Endowment contract
- Escrow contract
- Will of digital assets
- Multisig contract
- Safe for digital assets
- etc...
Questions:
What other types of contracts can I implement in 2021?
What languages are mainly used to implement smart contracts in the network?
Can you give an example of an implemented smart contract in Apple Swift language?