現象
Metaplex Sugarを実行してNFTをアップロードすると以下のエラー。
ターミナル:
% sugar launch
Starting Sugar launch... 🚀
>>> sugar validate
[1/1] 🗂 Loading assets
▪▪▪▪▪ Validating 2 metadata file(s)...
Validation complete, your metadata file(s) look good.
>>> sugar upload
[1/4] 🗂 Loading assets
Found 2 asset pair(s), uploading files:
+--------------------+
| images | 0 |
| metadata | 2 |
+--------------------+
[2/4] 🖥 Initializing upload
▪▪▪▪▪ Connected
Funding address:
-> pubkey: HXtBm8XZbxaTt41uqaKhwUAa6Z1aPyvJdsZVENiWsetg
-> lamports: 8450 (◎ 0.00000845)
Signature: 5wNHQ5weBPo9FQyy9Jwq8TcLCHJaXpoQFPueciWnBJaQoNsDfd15pxwEKJeRucEBnW1hvcbdRdQLWFv3BfS3WuJ
[3/4] 📤 Uploading image files (skipping)
[4/4] 📤 Uploading metadata files
Sending data: (Ctrl+C to abort)
[00:00:00] Upload failed ███████████████████████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 1/2
1/2 asset pair(s) uploaded.
🛑 Error running command (re-run needed): Failed to upload all files, 1 error(s) occurred:
config.json:
{
"price": 0.000001,
"number": 1,
"gatekeeper": null,
"creators": [
{
"address": "HXtBm8XZbxaTt41uqaKhwUAa6Z1aPyvJdsZVENiWsetg",
"share": 100
}
],
"solTreasuryAccount": "HXtBm8XZbxaTt41uqaKhwUAa6Z1aPyvJdsZVENiWsetg",
"splTokenAccount": null,
"splToken": null,
"goLiveDate": "08 Dec 2022 00:00:00 +0000",
"endSettings": null,
"whitelistMintSettings": null,
"hiddenSettings": null,
"freezeTime": null,
"uploadMethod": "bundlr",
"retainAuthority": true,
"isMutable": true,
"symbol": "K",
"sellerFeeBasisPoints": 500,
"awsS3Bucket": null,
"nftStorageAuthToken": null,
"shdwStorageAccount": null
}
原因
「0.000001」とpriceが低すぎた。
対応
「0.001」にpriceを変更。
config.json:
{
"price": 0.001,
"number": 1,
"gatekeeper": null,