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

support ledger emulator #3883

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Prev Previous commit
Next Next commit
using port 5001
  • Loading branch information
Nebyt committed Mar 10, 2025
commit a4f95dd11f4dc52ed5f0000b898b18e84ab88c77
2 changes: 1 addition & 1 deletion packages/e2e-tests/helpers/ledgerEmulatorController.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const SPECULOS_ENDPOINT = 'http://localhost:5000';
const SPECULOS_ENDPOINT = 'http://localhost:5001';

export class LedgerEmulatorController {
constructor(logger) {
Expand Down
2 changes: 1 addition & 1 deletion packages/yoroi-extension/chrome/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ export const injectedScripts = [
'initialInject.js',
];

export const speculosEndpoint = 'http://localhost:5000';
export const speculosEndpoint = 'http://localhost:5001';
1 change: 1 addition & 0 deletions packages/yoroi-extension/chrome/manifest.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default (isDebug: boolean, shouldInjectConnector: boolean): * => buildMan
additional: {
'connect-src': [
serverToPermission(Servers.Primary),
serverToPermission(Servers.Testnet),
speculosEndpoint,
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Transport from "@ledgerhq/hw-transport";
import { TransportError } from "@ledgerhq/errors";
import axios from "axios";

const SPECULOS_ENDPOINT = 'http://localhost:5000/apdu';
const SPECULOS_ENDPOINT = 'http://localhost:5001/apdu';
/**
* HTTP transport implementation
*/
Expand Down