Skip to content

Conversation

@i582
Copy link
Contributor

@i582 i582 commented Oct 6, 2025

No description provided.

@i582 i582 changed the title feat: add websocket data transmission feat: add data transfer via web socket Oct 6, 2025
connectionOptions?: ConnectionOptions;
}) {
return new Blockchain({
const useWebsocket = opts?.useWebsocket ?? process.env['SANDBOX_USE_WEBSOCKET'] === 'true';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are two variables really necessary? Essentially, SANDBOX_USE_WEBSOCKET is only needed to obtain the value from SANDBOX_WEBSOCKET_ADDR.

It seems that having one SANDBOX_WEBSOCKET_ADDR is sufficient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants