-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
Error while trying to use stellarSignTransaciton in Connect #4876
Comments
How? Which tool do you use for that? |
It's my code: try {
const account = await server.loadAccount('G...');
const fee = await server.fetchBaseFee();
let transaction = new StellarSDK.TransactionBuilder(account, {
fee,
networkPassphrase: StellarSDK.Networks.PUBLIC,
});
transaction = transaction
.addOperation(
StellarSDK.Operation.pathPaymentStrictSend({
sendAsset: new StellarSDK.Asset.native(),
sendAmount: '1',
destination: 'G...', // a stellar address
destAsset: new StellarSDK.Asset('MOBI', 'G....'),
destMin: '2',
path: [],
})
)
.setTimeout(30)
.build();
const params = transformTrezorTransaction("m/44'/148'/0'", transaction);
const signedFromTrezor = await TrezorConnect.stellarSignTransaction(params);
console.log(signedFromTrezor);
} catch (e) {
console.log(e);
} When I run this code, I was redirected to trezor popup8 page, and after following instruction and pressing continue button for couple times, my trezor wallet stuck ( I mean I press continue or cancel but nothing happens ) at final step and popup8 page redirect me to my application and it throw an error which provided in first comment. |
@prusnak hello again, are you able to reproduce the problem? is there any solution? I've updated my firmware and trezor-connect library to latest version. |
How to reproduce:
in Firefox:
o is undefined
, in Chrome:Cannot read property 'type' of undefined
The text was updated successfully, but these errors were encountered: