Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS Error #1

Open
Vindorable opened this issue Apr 3, 2024 · 1 comment
Open

CORS Error #1

Vindorable opened this issue Apr 3, 2024 · 1 comment

Comments

@Vindorable
Copy link

Hi! I'm trying to use GetBalance/Airdrop for the ArConnect wallet and I'm encountering this issue:

I'm on Testnet (www.arweave.run) and I've also set it in 'ArConnect > Settings > Gateway > select Gateway'.

Access to fetch at 'https://www.arweave.run/mint/Zb8ECPwUAHR3il2iuTd-60aDdCBcw9oQ_FNTJCxQEjg/100000000000000' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

I'm not sure what to do. Please help.

@256hax
Copy link
Owner

256hax commented Apr 3, 2024

Thank you for use my repository but I don’t maintenance any more...

I suppose you have 2 problems. Please ask that in Discord of Arweave.

  1. www.arweave.run doesn’t work, I think.
  2. CORS error is a security function of browser. I think my repository is too old so, you should update npm packages to latest .

If you want to use NFTs on Solana, I recommend to use Metaplex.
Do you know Irys (former name: Bundlr Network)?
Irys is like a storage aggregator using Arweave and support multi chain.
Metaplex use that so, we don’t need to use directly the Arweave anymore.

I made a lot of example script(NFT/Compressed NFT) of Metaplx. Look at this if you're interested in that.
solana-anchor-react-minimal-example/scripts/metaplex

Or check GameShift. NFT minting fee is free for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants