The Chainlink ecosystem system provides an API which allows you to connect your smart contract to a suite of decentralized…
Solidity Samples
Solidity smart contract examples
Deploy a contract to the Binance Smart Chain
Deploy a contract to the Binance Smart Chain. The Binance Smart Chain (BSC) is a block chain that supports smart…
How do the Uniswap Solidity smart contracts work?
In this tutorial we will discuss how the Uniswap automated market maker Solidity smart contracts work. We will discuss the…
Covered call smart contract in Solidity
Below is a Solidity covered call smart contract. The seller deposits tokens into the contract and earns a fee selling…
Create a multi sig (signature) wallet in Solidity
Create a multi sig (signature) wallet in Solidity. Most cryptocurrency wallets need one signature (private key) to sign and process…
Delegate call to upgrade a solidity smart contract
Use a delegate call to upgrade a Solidity smart contract. A delegate call function runs code of the call in…
Deposit 14 ETH game in a Solidity smart contract
The contract below is a gambling game where the 14th person to send ETH to the contract wins all ETH…
Trustless token swap in a Solidity smart contract
The contract below demonstrate a swap of two tokens between two parties at the same time (atomic). Alice owns token…