-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Whenever i call the ensureWasmClient() methodi get this console log, preventing me from essentially doing anything:
❌ API Error Response:
Status: 403
Code: undefined
Message: Request failed with status code 403
Data: ""
Here is the relevant part of my code and yes, the env vars are correctly set and read at runtime:
const signerClient = new SignerClient({
url: "https://mainnet.zklighter.elliot.ai",
privateKey: env.LIGHTER_API_PRIVATE_KEY,
accountIndex: parseInt(env.LIGHTER_API_ACCOUNT_INDEX),
apiKeyIndex: parseInt(env.LIGHTER_API_KEY_INDEX),
});
(async () => {
try {
// Initialize WASM signer (mandatory)
await signerClient.initialize();
await signerClient.ensureWasmClient();
...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels