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

Lucid causing Entire webpage not to load on Safari browsers #491

Open
3 tasks done
B35000 opened this issue Feb 1, 2025 · 0 comments
Open
3 tasks done

Lucid causing Entire webpage not to load on Safari browsers #491

B35000 opened this issue Feb 1, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@B35000
Copy link

B35000 commented Feb 1, 2025

Describe the bug

Im instantiating Lucid to generate wallets and sign transactions in my CRA and so far it works really well on chrome and firefox. However, its causing my Safari browser to fail to load the entire webpage.

Reproduction

generate_cardano_wallet = async (mnemonic) => {
  const blockfrost = new Blockfrost("https://cardano-mainnet.blockfrost.io/api/v0", "my-projectId")
  const lucid = await Lucid(
    blockfrost, "Mainnet"
  );
  lucid.selectWallet.fromSeed(mnemonic);
  const address = await lucid.wallet().address();
  console.log(address)
}

Expected Behavior

A valid Cardano address to be logged in the console

Error Details

SyntaxError: Invalid regular expression: invalid group specifier name

Cardano Network

Mainnet

Additional context

Safari: Version 15.5 (17613.2.7.1.8), NPM version: 9.6.7, Node version: 18.17.1 and the lucid version in my package.json file:"@lucid-evolution/lucid": "^0.4.21"
Im also using CRACO to handle all the required WebAssembly modules as detailed in issue #487

Validations

  • Read the documentation
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate
  • The provided reproduction is a minimal reproducible example of the bug
@B35000 B35000 added the bug Something isn't working label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants