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

Can't generate deposit address: Error: No ECC Library provided. #786

Open
jooray opened this issue Nov 24, 2024 · 0 comments
Open

Can't generate deposit address: Error: No ECC Library provided. #786

jooray opened this issue Nov 24, 2024 · 0 comments

Comments

@jooray
Copy link

jooray commented Nov 24, 2024

Hi,

I am trying to bridge BTC to tBTC. I am on mint page, I have connected the wallet (tried with Metamask in Firefox and Rabby in Chrome, both with the same result). I paste my address (a normal single-sig taproot address), click on Generate Deposit Address, but nothing happens. I get this error in Javascript Console:

Uncaught (in promise) Error: No ECC Library provided. You must call initEccLib() with a valid TinySecp256k1Interface instance
    getEccLib ecc_lib.js:18
    p2tr p2tr.js:208
    toOutputScript address.js:145
    addressToOutputScript address.ts:89
    s bitcoin.ts:26
    qi forms.ts:133
    e ProvideData.tsx:96
    Babel 7
    validate ProvideData.tsx:93
    <anonymous> withFormik.tsx:136
    S Formik.tsx:188
    S Formik.tsx:187
    A Formik.tsx:303
    R Formik.tsx:325
    lr Formik.tsx:1200
    U Formik.tsx:585
    lr Formik.tsx:1200
    L Formik.tsx:640
    H Formik.tsx:653
    lr Formik.tsx:1200
    React 11
    unstable_runWithPriority scheduler.production.min.js:18
    React 3
ecc_lib.js:18:10

If taproot addresses are not supported, an error message would be better than the button doing nothing and throwing a random error in JavaScript console (which people usually don't see).

@threshold-network threshold-network deleted a comment Nov 27, 2024
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
@jooray and others