Solana only. Ethereum and Polygon are coming soon.
To execute secondary sales and build a game's economy, you can use Fractal Marketplace. Using our API, players can buy and sell items they hold in their Fractal Account between eachother and you can take a cut of the sales.
The flow for buying an item is as follows:
- Get the list of game items that are for sale.
- Generate a buy transaction, and URL to approve the transaction.
- Open the URL for user to approve the transaction.
- (Optional) Detect when the user has approved the sale.