I’m trying to use truffle with your service.
Regular config works, but I need events. I’ve been told for that I need a wss connection.
development: {
provider: function() {
// ?? return new HDWalletProvider(mnemonic, "wss://ropsten.infura.io/v3/8a90b8fee54c4cb7a7c14e3680c882b2")
return new HDWalletProvider(mnemonic, "https://ropsten.infura.io/v3/8a90b8fee54c4cb7a7c14e3680c882b2")
},
network_id: 3
},