-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51bd5a3
commit 991a875
Showing
1 changed file
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Exercise 6 | ||
|
||
No file generated.<br> | ||
Only interact with contract already deployed from [TDERC721_metadata.cairo](/contracts/token/ERC721/TDERC721_metadata.cairo) | ||
|
||
--- | ||
|
||
## Steps in Voyager | ||
|
||
### Addresses | ||
|
||
- My wallet 0x05533254534F94C40df38194A07ee91966E86CA7F11864506b673AFd9b744166 | ||
- Dummy ERC721 Token [0x4fc25c4aca3a8126f9b386f8908ffb7518bc6fefaa5c542cd538655827f8a21](https://goerli.voyager.online/contract/0x4fc25c4aca3a8126f9b386f8908ffb7518bc6fefaa5c542cd538655827f8a21) | ||
- Evaluator [0x2d15a378e131b0a9dc323d0eae882bfe8ecc59de0eb206266ca236f823e0a15](https://goerli.voyager.online/contract/0x2d15a378e131b0a9dc323d0eae882bfe8ecc59de0eb206266ca236f823e0a15) | ||
- Points Counter [0xa0b943234522049dcdbd36cf9d5e12a46be405d6b8757df2329e6536b40707](https://goerli.voyager.online/contract/0xa0b943234522049dcdbd36cf9d5e12a46be405d6b8757df2329e6536b40707) | ||
|
||
|
||
### Claim Dummy ERC721 Token | ||
|
||
Go to Dummy ERC721 token's page | ||
- Write Contract | ||
- 7.. claim | ||
- to: `My wallet` | ||
- [Transact](https://goerli.voyager.online/tx/0x252b2aeb5b67b674539ffebbe6ad3bd4af55d52a18bcaebf7e614b83980bd07) | ||
- Read Contract | ||
- 1.. next_token_id | ||
- Query (we get X, next token id to mint. 34) | ||
- With that value, we know that our NFT is (X-1). 34-1=33 | ||
- token_id of our NFT: 33 | ||
|
||
|
||
### View NFT on Aspect | ||
|
||
Go to [Aspect](https://testnet.aspect.co) site | ||
- Log in with `My wallet` | ||
- Check our new minted NFT | ||
|
||
|
||
### Check with evaluator we have Dummy ERC721 Token | ||
|
||
Go to Evaluator's page | ||
- Write Contract | ||
- 9.. ex6_claim_metadata_token | ||
- token_id: 33 (token_id of our NFT (X-1)) | ||
- [Transact](https://goerli.voyager.online/tx/0x52bc30c7e6132a723b86958609df8b11bb134904b6ad9e795faf54fcca8bd7f) | ||
- We receive 2 points | ||
|
||
|
||
### Check points | ||
|
||
Finally go to Point Counter's page | ||
- Read Contract | ||
- 6.. balanceOf | ||
- account: `My wallet` | ||
- We should have 18 points (We won 2 points) | ||
|
||
> To see in our wallet the token ERC721-101, we need to Add Token, contract address 0x00a0b943234522049dcdbd36cf9d5e12a46be405d6b8757df2329e6536b40707 | ||
> To see in our wallet the Dummy ERC20 Token we need to Add Token, contract address | ||
0x52ec5de9a76623f18e38c400f763013ff0b3ff8491431d7dc0391b3478bf1f3 | ||
|
||
--- | ||
|
||
## Tutorial followed | ||
|
||
[https://david-barreto.com/starknet-erc721-workshop-exercise-6/](https://david-barreto.com/starknet-erc721-workshop-exercise-6/) |