Skip to content

Commit 5273480

Browse files
committed
reformatted code in readme
1 parent d67eb31 commit 5273480

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ To compile your code run
1111

1212
This will generate a javascript file and print out a statement like the following.
1313

14-
`loadScript('/path/contract.js')`
14+
```javascript
15+
loadScript('/path/contract.js')
16+
```
1517

1618
Paste this statement into the geth console. Your code will be loaded.
1719

@@ -24,6 +26,7 @@ getContractInstance(contract, input, account, code, gas)
2426

2527
You can use them to deploy the contract.
2628

27-
`var contract = createContract(compiled.SimpleStorage.info.abiDefinition);`
28-
29-
`var instance = getContractInstance(contract, 10, eth.coinbase, compiled.SimpleStorage.code,10000);`
29+
```javascript
30+
var contract = createContract(compiled.SimpleStorage.info.abiDefinition);
31+
var instance = getContractInstance(contract, 10, eth.coinbase, compiled.SimpleStorage.code,10000);
32+
```

0 commit comments

Comments
 (0)