There are situations when you want to upgrade a Solidity smart contract. You might want to fix a software vulnerability,…
Solidity
Hide Solidity code with an external contract
How to hide Solidity code with an external contract. In Solidity a contract can reference the code of another contract.…
How to fork the SafeMoon token smart contract
Fork the SafeMoon token smart contract. SafeMoon is a crypto currency token on the Binance Smart Chain. The token got…
Use a signature to generate a public key
In Ethereum one can use the v, r and s parameters of a signature to generate a public key. In…
Build a crypto back running trading bot
Build a crypto back running trading bot. Back running is the strategy of having a transaction next in line right…
Deploy a smart contract to the Fantom Network
Below are instructions about how to deploy a Solidity smart contract to the Fantom network. The Fantom Network is a…
Flash loan arbitrage on Uniswap and SushiSwap
Create a flash loan arbitrage Solidity smart contract. Flash loans are a form of uncollateralized lending where a borrower must repay the…
Block timestamp manipulation attack
A miner can manipulate the block timestamp which can be used to their advantage to attack a smart contract. In…