https://github.com/maxgfr/hack721
Hack721 is a token ERC721
https://github.com/maxgfr/hack721
crypto cryptokitties erc erc721 eth ethereum ethereum-contract nft openzeppelin token token-erc721
Last synced: about 2 months ago
JSON representation
Hack721 is a token ERC721
- Host: GitHub
- URL: https://github.com/maxgfr/hack721
- Owner: maxgfr
- License: unlicense
- Created: 2018-07-01T05:10:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:50:20.000Z (over 2 years ago)
- Last Synced: 2025-02-16T22:18:10.792Z (over 1 year ago)
- Topics: crypto, cryptokitties, erc, erc721, eth, ethereum, ethereum-contract, nft, openzeppelin, token, token-erc721
- Language: JavaScript
- Homepage:
- Size: 15.3 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hack721
Hack721 is an ERC721 token
-----------------------
### Install truffle
```
$ npm install -g truffle
```
### Compile
```
$ truffle compile
```
### Run test
```
$ truffle test
```
### Migrate to ropsten network
```
$ mv .env.example .env
$ truffle migrate --network ropsten --reset
```
### Use CareGame contract
```
$ cd script
$ truffle exec caregame_contract.js --network ropsten
$ truffle exec create_achievement.js --network ropsten
$ truffle exec transfer_achievement.js --network ropsten
$ truffle exec check_achievement.js --network ropsten
```