-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
10 changed files
with
487 additions
and
21 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
---|---|---|
@@ -1 +1,52 @@ | ||
# Phân tích code chuẩn psp34 ink! | ||
|
||
|
||
## Tạo psp34 contract bằng POP CLI | ||
|
||
```bash | ||
pop new contract my_psp34 -c psp -t PSP34 | ||
``` | ||
|
||
|
||
## Build psp34 | ||
|
||
```bash | ||
cargo contract build --release --features "contract" | ||
``` | ||
|
||
|
||
## Phân tích code | ||
|
||
|
||
|
||
## Cách import nft psp34 trên mạng Aleph Zero Testnet - Subwallet | ||
|
||
Noted: Yêu cầu cài Subwallet Extension | ||
[Cài đặt SubWallet Extension](../ink_advance/token_extension_psp22#cài-đặt-subwallet-extension-trên-google-chromfirefoxbrave) | ||
|
||
|
||
|
||
### Deploy contract trên mạng Aleph Zero Testnet bằng Contract UI | ||
|
||
Bước deploy sẽ tương tự như các bước mình có hướng dẫn ở section [Ink Basic - Contract Template](../../ink_basic/contract_template#sử-dụng-contract-ui-deploy-trên-pop-network-testnet) | ||
Nên mình bỏ qua bước này | ||
|
||
![](../assets/deploy_psp34.png) | ||
|
||
|
||
### Mint PSP34 NFT trên mạng Aleph Zero Testnet bằng Contract UI | ||
|
||
|
||
![](../assets/mint_nft.png) | ||
|
||
|
||
### Import collections trên mạng Aleph Zero Testnet - Subwallet | ||
|
||
https://docs.subwallet.app/main/extension-user-guide/import-and-manage-customized-assets/import-nfts | ||
|
||
|
||
|
||
|
||
## Tài liệu tham khảo | ||
+ https://docs.subwallet.app/main/extension-user-guide/import-and-manage-customized-assets/import-nfts | ||
|
Oops, something went wrong.