This repository contains examples that are used as part of the Auction Tutorial in the documentation.
The repo contains three versions of an auction contract written in both Rust and JavaScript. The first contract is a simple auction where you can place bids and claim the auction, the second introduces NFTs as a prize and the final contract uses fungible tokens to place bids.
This repo also has two different frontends, one for the simple auction and one for the final contract that uses FTs and NFTs.
Lastly, this repo contains a factory contract written in rust that is used to deploy new auctions and initialize them.
- Creating a simple smart contract
- Writing tests for a contract
- Deploying a contract to testnet
- Locking a contract
- Creating a frontend to interact with the contract
- Using an indexing API to view historical bids
- Making cross-contract calls
- Using Non-Fungible Tokens
- Using Fungible Tokens
- Modifying a factory contract to deploy your own contracts