/smart-contracts

Collection of smart contracts for the EVM

Primary LanguageSolidity

smart-contracts

Collection of smart contracts for the EVM. Each contract has been unit tested.

NumbersCoin Link

Token made to mint the NumbersNFT.
ERC20. Contract inheriting from OpenZeppelin contracts.
Capped supply at 1 million.

NumbersNFT Link

NFTs of images of numbers hosted with IPFS.
ERC721. Contract inheriting from OpenZeppelin contracts.
Royalty enabled, as defined in the ERC2981 NFT Royalty Standard.
NFT images were randomly pre-generated and hosted on IPFS before the mints. Image generator used.
In the future the image characteristics must be generated in the smart contract at the time of minting. For the random nonce we can use Chainlink VRF.

NFT Marketplace Link

NFT marketplace to buy/sell NumbersNFT with the NumbersToken
The marketplace can be deployed with another NFT and token contract addresses.
The marketplace takes a fee on the sale of the percentage defined by the owner.
The contract implements ERC2981 and fowards the royalties to the NFT creator.
If something goes wrong Emergency Delisting can be enabled, allowing anyone to take their NFTs, out of the contract.

Dex V2 Link

Descentralized exchange to host liquidity for the NumbersCoin.
Fork of UniswapV2, adapted to build with Solidity compiler 0.8+

Rock-Paper-Scissors Link

Solidity smart contract of a rock, paper and scissors game.