loom-js
loom-js copied to clipboard
Cannot deploy to plasma chain using zeppellinOS
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",
Probably because that method isn't supported at the moment, you can take a look at the readme section about the supported methods