mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-18 18:26:50 +00:00
Merge branch 'develop' of github.com:iurimatias/embark-framework into develop
This commit is contained in:
commit
9c8ca846cc
@ -11,7 +11,7 @@ methods in EmbarkJS contracts will be converted to promises.
|
|||||||
.. code:: javascript
|
.. code:: javascript
|
||||||
|
|
||||||
var myContract = new EmbarkJS.Contract({abi: abiObject, address: "0x123"});
|
var myContract = new EmbarkJS.Contract({abi: abiObject, address: "0x123"});
|
||||||
myContract.get().then(function(value) { console.log("value is " + value.toNumber) });
|
myContract.get().then(function(value) { console.log("value is " + value.toNumber()) });
|
||||||
|
|
||||||
**deployment**
|
**deployment**
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user