feat: avax contract

This commit is contained in:
Zitao Xiong
2023-12-12 18:16:56 +08:00
parent 96554e2e57
commit 378b81e269
6 changed files with 105 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
set -euo pipefail
PATH_add node_modules/.bin
export ETH_NODE_RPC_URL="https://subnets.avacloud.io/cfca744c-9318-44bf-ab4d-406c134b0755"
export ETH_NODE_RPC_URL="https://avalanche-fuji-c-chain.publicnode.com"
# Wallet
# ==================

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -43,7 +43,7 @@ module storytime::story_nft {
// For `name` one can use the `Hero.name` property
utf8(b"{name}"),
// For `link` one can build a URL using an `id` property
utf8(b"https://story.storytime.one/{id}"),
utf8(b"https://data.storytime.one/story/{id}"),
// For `image_url` use an IPFS template + `image_url` property.
utf8(b"https://image.storytime.one/images/{image_url}"),
// Description is static for all `Hero` objects.

4
model/config.ts Normal file
View File

@@ -0,0 +1,4 @@
export const kSuiNFTPackageID =
"0x12bd3005b97f951c978e67c0d67626db779436b0e6f54ee783102080d76d9dec";
export const kAvaxNFTAddress = "";