LIQNFT / candy-shop-storefront

Ethereum, Polygon & Solana NFT Storefront & Auctions
https://candyshop.space
Apache License 2.0
121 stars 104 forks source link

error starting the shop on devnet #61

Open kazyon opened 1 year ago

kazyon commented 1 year ago

Hello team, hope you are all good, here is my issue: after creating and following the guide on retrieving the shop information adding them to .env file i ran yarn start and the test is running fine but when connection with the admin "Create Solana shop failed." and i receive the following error on

Here are the lines use in the .env file: shopCreatorAddress: // Candy Shop owner address treasuryMint: "So11111111111111111111111111111111111111112", // Candy Shop transaction currency programId: , // Candy Shop program ID received from the main admin portal https://app.candyshop.space in the home directory under : shop address. I think the shop address may be wrong

Using : REACT_APP_NETWORK=devnet REACT_APP_RPC_HOST=https://api.devnet.solana.com Wallet created locally using solana keygen-new and imported in Phantom wallet using private key (shopCreatorAddress) what do you think ?

kazyon commented 1 year ago

solved, when accessing name.staging-shop.candyshop.space/ aka the main shop created at https://candyshop.space/ with your wallet, locally generated wallets are working as well, you can open the console and search for :''candyShop constructor instatiated CandyShop=n'' image This will provide you with the Program ID necessary to run your shop at localhost:3000