You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw 'Invalid address, make sure your node address follow the format "protocol://host:port"(e.g. https://aion.node:8545). Supported protocols: http, https';
}
} else {
endpoint = 'http://127.0.0.1:8545';
console.log('Connected to default', endpoint);
promptPrefix = endpoint;
}
var context = repl.start(promptPrefix + '> ').context;
context.web3 = new Web3(new Web3.providers.HttpProvider(endpoint));