Skip to content

Commit 7337fca

Browse files
authored
Update NFT/token to latest standard contracts (#258)
1 parent a7fef3d commit 7337fca

File tree

6 files changed

+2520
-60
lines changed

6 files changed

+2520
-60
lines changed

examples/nft/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
88
"lint:fix": "npx eslint . --ext .js,.ts --fix",
9-
"lint": "npx eslint . --ext .js,.ts",
10-
"deploy:localnet": "npx hardhat compile --force && npx hardhat deploy --network localhost --gateway 0x9A676e781A523b5d0C0e43731313A708CB607508 && npx hardhat deploy --name Echo --network localhost --gateway 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"
9+
"lint": "npx eslint . --ext .js,.ts"
1110
},
1211
"keywords": [],
1312
"author": "",
@@ -57,9 +56,10 @@
5756
"@solana-developers/helpers": "^2.4.0",
5857
"@solana/spl-memo": "^0.2.5",
5958
"@solana/web3.js": "^1.95.8",
60-
"@zetachain/protocol-contracts": "11.0.0-rc3",
61-
"@zetachain/standard-contracts": "2.0.0-rc2",
59+
"@zetachain/protocol-contracts": "13.0.0",
60+
"@zetachain/standard-contracts": "2.0.0-rc5",
6261
"@zetachain/toolkit": "13.0.0-rc17",
63-
"validator": "^13.12.0"
62+
"validator": "^13.12.0",
63+
"zetachain": "^3.0.0"
6464
}
65-
}
65+
}

examples/nft/scripts/localnet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
bash ./node_modules/@zetachain/standard-contracts/contracts/nft/scripts/localnet.sh $1
3+
bash ./node_modules/@zetachain/standard-contracts/contracts/nft/scripts/localnet.sh

0 commit comments

Comments
 (0)