5. Building Block View
5.2. Whitebox
Web UI application. |
|
API application. |
|
Database. |
Admin |
The admin is responsible for creating and managing auctions. When an auction is complete, the system will produce a transaction or API call that the admin can use to create the burn/redeem app on Manifold. |
User |
A user can use their ethereum wallet to bid on auctions. |
Crypto Wallet |
The crypto wallet is responsible for managing a user’s private keys. |
Alchemy API |
The system will use Alchemy’s NFT API to query holder count. |
5.3. Building Blocks Level 2
5.3.1. Web UI
The Web UI is the main entry point for the system. It is responsible for displaying the current auctions and allowing users to bid on them.
User Area |
Contains views for unauthenticated users, and the ability to bid for users authenticated with a wallet. |
Admin Area |
Contains views for managing auctions. |
Crypto Wallet |
The User Area will require a user to sign a transaction to validate wallet ownership. |
The Web UI depends on the API for all backend operations. |
5.3.2. API
The API is where all of the business logic and data access is performed. Server side API calls allow the app to be opaque to the user.
Auction API |
An admin will use the Auction API for creating and managing auctions. |
Bid API |
A user will use the Bid API for bidding on auctions. |
Gallery API |
The gallery will self update by using an API that pulls revealed 1/1’s. |
Database |
All off-chain data will be stored in a database. |
Alchemy API |
The bid API will use the Alchemy API to query holder count. The gallery API will retrieve 1/1’s to display. |