mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-02 08:56:11 +00:00
example on how to deploy a single contract with custom arguments
This commit is contained in:
parent
0faa649c2f
commit
0c29b171fd
@ -8,6 +8,8 @@ describe("SimpleStorage", function() {
|
||||
EmbarkSpec.sim.createAccounts(10, function() {
|
||||
EmbarkSpec.sim.setBalance(web3.eth.accounts[0], 1000000000000000000000, function() {
|
||||
EmbarkSpec.deployAll(done);
|
||||
// or
|
||||
// EmbarkSpec.deployContract('SimpleStorage', [100], done);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -28,4 +30,4 @@ describe("SimpleStorage", function() {
|
||||
});
|
||||
});
|
||||
|
||||
})
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user