You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+51-20Lines changed: 51 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,8 +57,8 @@ Table of Contents
57
57
58
58
Installation
59
59
======
60
-
Requirements: geth (1.6.5 or higher recommended, 1.6.0 or lower for whisper v1 support; whisper v5 support coming soon), node (6.9.1 or higher is recommended) and npm
61
-
Optional: testrpc (3.0 or higher) if using the simulator or the test functionality.
60
+
Requirements: geth (1.6.7 or higher recommended), node (6.9.1 or higher is recommended) and npm
61
+
Optional: testrpc (3.0 or higher) if using the simulator
62
62
Further: depending on the dapp stack you choose: [IPFS](https://ipfs.io/)
63
63
64
64
```Bash
@@ -174,18 +174,18 @@ Embark will automatically take care of deployment for you and set all needed JS
174
174
175
175
```Javascript
176
176
# app/contracts/simple_storage.sol
177
-
pragma solidity ^0.4.7;
177
+
pragma solidity ^0.4.17;
178
178
contract SimpleStorage {
179
179
uint public storedData;
180
180
181
-
functionSimpleStorage(uintinitialValue) {
181
+
functionSimpleStorage(uintinitialValue) public {
182
182
storedData = initialValue;
183
183
}
184
184
185
-
functionset(uintx) {
185
+
functionset(uintx) public {
186
186
storedData = x;
187
187
}
188
-
functionget() constant returns (uint retVal) {
188
+
functionget() view returns (uint retVal) {
189
189
return storedData;
190
190
}
191
191
}
@@ -194,9 +194,9 @@ Will automatically be available in Javascript as:
0 commit comments