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

migrate to ethers #76

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

migrate to ethers #76

wants to merge 8 commits into from

Conversation

zeroxbt
Copy link
Contributor

@zeroxbt zeroxbt commented May 11, 2023

No description provided.

@zeroxbt zeroxbt self-assigned this May 11, 2023
dist/dkg.min.js.LICENSE.txt Show resolved Hide resolved
@NZT48
Copy link
Collaborator

NZT48 commented Aug 4, 2023

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'
  }
}

@@ -43,18 +43,6 @@ const BLOCKCHAINS = {
},
};

const WEBSOCKET_PROVIDER_OPTIONS = {
Copy link
Collaborator

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