Skip to content

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

@jooray

Description

@jooray

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions