I signed up for Infura and they gave me a URL for a node to talk to, like https://ropsten.infura.io/mytokenjsifejsij39kdjkjfdk
. (The part beginning mytoken
isn't my real token.)
I'd like to deploy and manage my contracts using Populus; How do I get it to connect? I tried setting the following in my populus.ini and various other permutations of port numbers, but when I try to connect to it, for example with populus chain init testnet
, it results in socket.error: [Errno 111] Connection refused
.
[chain:testnet]
rpc_host = https://ropsten.infura.io/mytokenjsifejsij39kdjkjfdk
is_external = True
provider = web3.providers.rpc.RPCProvider
Is it possible to connect to an Infura node from populus, and if so how should I configure it?