How do I connect my Ethereum Node using the Web3 interface?
Requirements
1. Setting up Parameters
'use strict'
const https = require('https')
const Web3 = require('web3')
const nodeUrl = 'https://<BLOQ_ETH_NODE_IP_ADDRESS>:8545'2. Creating a Web3 http provider with credentials
Option 1: Basic Authentication
Option 2: Using JWT
3. Creating a Web3 websocket provider with credentials
Option 1: Basic Authentication
Option 2: Using JWT
4. Disregarding Self-Signed Certificates
Additional Resources
Last updated