mirror of https://github.com/embarklabs/embark.git
Updated Test Driven Development (markdown)
parent
04d8f81d37
commit
a50cd62bc8
|
@ -9,7 +9,7 @@ Afterwards you can initialize a contract and pass arguments to its contractor:
|
|||
|
||||
```SimpleStorage = EmbarkSpec.request("SimpleStorage", [150]);```
|
||||
|
||||
You can then interact with the contract normally. e.g ```SimpleStorage.set(100)```
|
||||
Embark will look for the contract at ```app/contracts/*```, compile it and run it in a VM. You can then interact with the contract normally. e.g ```SimpleStorage.set(100)```
|
||||
|
||||
An caveat at the moment is that the return values are represented as strings. So ```SimpleStorage.get()``` will return ```"100"```
|
||||
|
||||
|
|
Loading…
Reference in New Issue