We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cf370b commit 67bcb33Copy full SHA for 67bcb33
deploy.js
@@ -36,7 +36,7 @@ async function deploy() {
36
let args = [
37
artifacts.incentiveLayer.address,
38
artifacts.tru.address,
39
- artifacts.fileSystem,
+ artifacts.fileSystem.address,
40
info.ipfshash,
41
info.codehash
42
]
@@ -47,7 +47,7 @@ async function deploy() {
47
48
let tru = new web3.eth.Contract(artifacts.tru.abi, artifacts.tru.address)
49
50
- tru.transfer(c._address, "100000000000", {from: accounts[0], gas:200000})
+ tru.methods.transfer(c._address, "100000000000").send({from: accounts[0], gas:200000})
51
52
fs.writeFileSync("export.json", JSON.stringify({
53
address: c._address,
0 commit comments