Closed FSM1 closed 5 years ago
For nodejs env you need to set api WebSocket constructor
const { createSdk, getSdkEnvironment } = require('@archanova/sdk');
const Ws = require('ws');
let sdkEnv = getSdkEnvironment('main');
sdkEnv = sdkEnv.setConfig('apiWebSocketConstructor', Ws); // <---
const sdk = createSdk(sdkEnv);
thanks @stanislaw-glogowski that worked a charm.
account state does not change to 'Deployed' after the deployment of the account occurs.
Please see the logs below:
the correct state is loaded the next time the SDK is initialized.