forked from TrueCloudLab/neoneo-go
Updated readme in compiler folder + bumped version to match latest tag. (#29)
* Updated readme in compiler folder + bumped version to match latest tag.
This commit is contained in:
parent
e93dfe8062
commit
63bc244163
2 changed files with 5 additions and 5 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.13.0
|
||||
0.15.0
|
||||
|
|
|
@ -50,20 +50,20 @@ Due to the limitations of the NEO virtual machine, features listed below will no
|
|||
### Compile a smart contract
|
||||
|
||||
```
|
||||
./bin/neo-go contract compile mycontract.go
|
||||
./bin/neo-go contract compile -i mycontract.go
|
||||
```
|
||||
|
||||
By default the filename will be the name of your .go file with the .avm extension, the file will be located in the same directory where you called the command from. If you want another location for your compiled contract:
|
||||
|
||||
```
|
||||
./bin/neo-go contract compile mycontract.go --out /Users/foo/bar/contract.avm
|
||||
./bin/neo-go contract compile -i mycontract.go --out /Users/foo/bar/contract.avm
|
||||
```
|
||||
|
||||
### Debugging your smart contract
|
||||
You can dump the opcodes generated by the compiler with the following command:
|
||||
|
||||
```
|
||||
./bin/neo-go contract opdump mycontract.go
|
||||
./bin/neo-go contract opdump -i mycontract.go
|
||||
```
|
||||
|
||||
This will result in something like this:
|
||||
|
|
Loading…
Reference in a new issue