[英]Receiving error when minting NFT on Solana devnet Metaplex v1.2.0 candy-machine-ui
Running metaplex version to 1.2.0, and using 3 basic NFT's (stored on Arweave).将 metaplex 版本运行到 1.2.0,并使用 3 个基本 NFT(存储在 Arweave 上)。 When minting on devnet I receive a Timeout Error.
在 devnet 上铸造时,我收到超时错误。
I have tried minting on Metaplex's candy-machine-ui and a separate ui that uses javascript.我曾尝试在 Metaplex 的 candy-machine-ui 和使用 javascript 的单独 ui 上进行铸造。 Both receive same error.
两者都收到相同的错误。
Timeout Error caught
Error: Timed out awaiting confirmation on transaction
at sendSignedTransaction
Timeout Error caught
Error: Timed out awaiting confirmation on transaction
at sendSignedTransaction
的交易确认
Tried downgrading metaplex to v1.1.1;尝试将 metaplex 降级到 v1.1.1; still, receive Timeout Error.
仍然,收到超时错误。
Tried the following RPC Hosts, still received Timeout Error: -https://explorer-api.devnet.solana.com -https://metaplex.devnet.rpcpool.com/尝试了以下 RPC 主机,仍然收到超时错误:-https://explorer-api.devnet.solana.com -https://metaplex.devnet.rpcpool.com/
The metaplex.devnet.rpcpool (came stock with candy-machine-ui) actually gives me CORS errors, but regardless still no mint. metaplex.devnet.rpcpool(与 candy-machine-ui 一起库存)实际上给了我 CORS 错误,但无论如何仍然没有薄荷糖。
Network has always been set to devnet
网络一直设置为
devnet
Tried the follwoing Candy Machine IDs: 64EFEgBcLZHhdb3Tr6BzCRKX23ktS2Ltk42RC3z9CPLP
& 492Mhv2Kx6Mp91D1xyrXgDA9ZKeeXSRg2rWuN6LA2Qg6
尝试了以下糖果机 ID:
64EFEgBcLZHhdb3Tr6BzCRKX23ktS2Ltk42RC3z9CPLP
& 492Mhv2Kx6Mp91D1xyrXgDA9ZKeeXSRg2rWuN6LA2Qg6
Tried these config.json
:尝试了这些
config.json
:
#candy-machine-ui
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
},
"include": [
"src"
]
}
#custom ui
{
"price": 0.1,
"number": 3,
"gatekeeper": null,
"solTreasuryAccount": "MY_WALLET_ADDY",
"splTokenAccount": null,
"splToken": null,
"goLiveDate": "25 Dec 2021 00:00:00 GMT",
"endSettings": null,
"whitelistMintSettings": null,
"hiddenSettings": null,
"storage": "arweave",
"ipfsInfuraProjectId": null,
"ipfsInfuraSecret": null,
"awsS3Bucket": null,
"noRetainAuthority": false,
"noMutable": false
}
Thanks I take a look to both CandyMachineIds that you provided and was able to mint without any issue using the last version of candy-machine-ui with this the Candy Machine 64EFEgBcLZHhdb3Tr6BzCRKX23ktS2Ltk42RC3z9CPLP
.谢谢,我查看了您提供的两个 CandyMachineId,并且能够使用 Candy Machine
64EFEgBcLZHhdb3Tr6BzCRKX23ktS2Ltk42RC3z9CPLP
的最新版本的candy-machine-ui毫无问题地进行铸造。 Your second Candy Machine with ID 492Mhv2Kx6Mp91D1xyrXgDA9ZKeeXSRg2rWuN6LA2Qg6
has the goLiveDate setted at Sunday, December 25, 2022 12:00:00 AM
so anyone will be able to mint that.您的第二台糖果机 ID 为
492Mhv2Kx6Mp91D1xyrXgDA9ZKeeXSRg2rWuN6LA2Qg6
的 goLiveDate 设置为Sunday, December 25, 2022 12:00:00 AM
因此任何人都可以铸造它。
What did I do to be able to mint?我做了什么才能铸币?
git clone https://github.com/metaplex-foundation/metaplex.git
git clone https://github.com/metaplex-foundation/metaplex.git
将最新版本的 candy-machine-ui 克隆到我的笔记本电脑中yarn
inside this candy-machine-ui folder.yarn
。REACT_APP_CANDY_MACHINE_ID=64EFEgBcLZHhdb3Tr6BzCRKX23ktS2Ltk42RC3z9CPLP
REACT_APP_SOLANA_NETWORK=devnet
REACT_APP_SOLANA_RPC_HOST=https://metaplex.devnet.rpcpool.com/
SKIP_PREFLIGHT_CHECK=true
yarn start
and waited till the localhost appear.yarn start
并等到本地主机出现。 Hope this can hep you solve, any issue add a comment to this answer to keep me updated希望这可以帮助您解决任何问题,请对此答案添加评论以使我保持最新状态
EDIT: I used Opera browser with phantom wallet to mint from the UI编辑:我使用带有幻像钱包的 Opera 浏览器从 UI 铸造
That is caused beacuse of the slow RPC you're using.这是因为您使用的 RPC 速度较慢。
Follow one of these solutions:-遵循以下解决方案之一:-
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.