https://github.com/zilliqa/zilliqa-marketplace-integration-examples
https://github.com/zilliqa/zilliqa-marketplace-integration-examples
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/zilliqa/zilliqa-marketplace-integration-examples
- Owner: Zilliqa
- Created: 2022-10-26T14:06:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T02:26:24.000Z (over 3 years ago)
- Last Synced: 2025-02-16T10:43:01.977Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 160 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
This repository contains a self enclosed Next.js application meant to be run locally. It shows show how to
* integrate with ZillPay
* put items on sale in batches using Rialto `fixed price sale` Smart Contract
* buy NFTs using Rialto `fixed price sale` smart Contract, including `voucher` generation. `Voucher` is required to limit the number of NFTs available per user
* interact with the `Indexer` using graphQL API to fetch asset details
* render the NFT
The idea is that you should be able to follow the code behind specific UI control to learn how to implement a given feature in your application.
# How to prepare
1. Install the ZillPay browser extension
2. Configure ZillPay extension (this includes importing the private keys if they were provided to you by Rialto team)
3. Install the project dependencies
```bash
npm install
# or
yarn install
```
4. Create a `.env` file in the main directory of this repository. This file should be provided to you by Rialto team.
# How to run
```bash
npm run dev
# or
yarn install
```