https://github.com/danielwpz/nft-linkdrop
Linkdrop smart contract in Rust which supports NFT
https://github.com/danielwpz/nft-linkdrop
Last synced: about 1 year ago
JSON representation
Linkdrop smart contract in Rust which supports NFT
- Host: GitHub
- URL: https://github.com/danielwpz/nft-linkdrop
- Owner: danielwpz
- Created: 2021-09-07T05:30:35.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-28T07:20:45.000Z (over 4 years ago)
- Last Synced: 2025-02-16T01:13:31.862Z (over 1 year ago)
- Language: Rust
- Size: 180 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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