Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/web3gamesofficial/web3games-near-nftdrop
For NFT airdrop by Near
https://github.com/web3gamesofficial/web3games-near-nftdrop
Last synced: about 2 months ago
JSON representation
For NFT airdrop by Near
- Host: GitHub
- URL: https://github.com/web3gamesofficial/web3games-near-nftdrop
- Owner: web3gamesofficial
- Created: 2021-07-06T03:12:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-13T02:57:04.000Z (over 3 years ago)
- Last Synced: 2024-02-12T23:12:05.645Z (11 months ago)
- Language: Rust
- Size: 79.1 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-near - NFT Linkdrop
README
Web3games-nftdrop covers three parts
1-web3games-nft
2-web3games-drop
3-web3games-scripts
Use
```
## Testing
To test run:
```bash
cargo test -- --nocapture
```
## Build
to run:
```bash
RUSTFLAGS='-C link-arg=-s' cargo build --target wasm32-unknown-unknown --release
```
```use js
1- deposit money for airdrop nft [deposit.js]
2- for mint NFT [mint.js]
3- for transfer to nftDrop and callback to add function call keys [transfercall.js]
4- create a low tx for front-end to claim nft [lowtx.js]
5- for deploy contract quickly by script [deploycontract.js]
you can find these scripts at
https://github.com/web3gamesofficial/web3games-near-scripts