- Any NFT can be bought by anyone
- After each successful deal the price is increased by a constant factor
- Fully distributed (no back-end)
- Metadata is stored on IPFS
- Buy NFTs in Ether or USDC
Solidity code can be found at contracts/
folder.
Currently hosted on Goerli.
Available methods:
safeMint(string uri, uint256 ethPrice, uint256 usdcPrice)
: mint token with the specified IPFS uri (link part afterhttps://ipfs.io/ipfs/
) and prices in ETH and USDCbuyEth(uint256 tokenId)
: buy specified token in ETH (price can be seen by invokingtokenPriceEth(uint256 tokenId)
)buyUSDC(uint256 tokenId)
: buy specified token in USDC (price can be seen by invokingtokenPriceUSDC(uint256 tokenId)
). Before invoking this method, this contract should be approved to transfer USDC from your account
After any successful deal, the price is increased by a constant amount.
Unit tests of the contract are done with the Remix Plugin.
Linting is done with the solhint Remix Plugin.