loom-js icon indicating copy to clipboard operation
loom-js copied to clipboard

Cannot deploy to plasma chain using zeppellinOS

Open jsdu opened this issue 5 years ago • 1 comments

Using https://zeppelinos.org/ deployer with truffle results in the following error: deployment failed with error: Method "web3_clientVersion" not supported on this provider

My truffle.js:

extdev_plasma_us1: {
  provider: function() {
    const privateKey = readFileSync(path.join(__dirname, 'extdev_private_key'), 'utf-8')
    const chainId = 'extdev-plasma-us1'
    const writeUrl = 'http://extdev-plasma-us1.dappchains.com:80/rpc'
    const readUrl = 'http://extdev-plasma-us1.dappchains.com:80/query'
    return new LoomTruffleProvider(chainId, writeUrl, readUrl, privateKey)
  },
  network_id: '9545242630824'
}

My truffle migrate looks very similar to https://github.com/zeppelinos/zos/blob/master/examples/truffle-migrate/migrations/3_deploy_v1.js

Dependency Versions:

"loom-js": "1.46.2",
"loom-truffle-provider": "^0.13.0",

jsdu avatar Mar 07 '19 07:03 jsdu

Probably because that method isn't supported at the moment, you can take a look at the readme section about the supported methods

eduardonunesp avatar Mar 08 '19 11:03 eduardonunesp