Skip to content

migrate to ethers#76

Open
zeroxbt wants to merge 8 commits into
masterfrom
ethers-migration
Open

migrate to ethers#76
zeroxbt wants to merge 8 commits into
masterfrom
ethers-migration

Conversation

@zeroxbt

@zeroxbt zeroxbt commented May 11, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@zeroxbt zeroxbt self-assigned this May 11, 2023
Comment thread dist/dkg.min.js.LICENSE.txt
@NZT48

NZT48 commented Aug 4, 2023

Copy link
Copy Markdown
Contributor

Let's first test out and fix connecting to WSS blockchain endpoint. I am getting this errors when I try:

Error: could not coalesce error (error={ "code": -32601, "message": "Method not found" }, payload={ "id": 27, "jsonrpc": "2.0", "method": "eth_subscribe", "params": [ "newHeads" ] }, code=UNKNOWN_ERROR, version=6.7.0)
    at makeError (/ethers/lib.commonjs/utils/errors.js:125:21)
    at WebSocketProvider.getRpcError (/ethers/lib.commonjs/providers/provider-jsonrpc.js:650:41)
    at /ethers/lib.commonjs/providers/provider-jsonrpc.js:268:45
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'UNKNOWN_ERROR',
  error: { code: -32601, message: 'Method not found' },
  payload: {
    method: 'eth_subscribe',
    params: [ 'newHeads' ],
    id: 27,
    jsonrpc: '2.0'
  }
}

Comment thread constants.js
},
};

const WEBSOCKET_PROVIDER_OPTIONS = {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment left to check wss connection

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.

4 participants