forked from TrueCloudLab/neoneo-go
docs: update project config example to smth more up to date
This commit is contained in:
parent
3cb945f022
commit
10945a989d
1 changed files with 6 additions and 9 deletions
|
@ -145,15 +145,12 @@ Deploying a contract to blockchain with neo-go requires a configuration file
|
||||||
with contract's metadata in YAML format, like the following:
|
with contract's metadata in YAML format, like the following:
|
||||||
|
|
||||||
```
|
```
|
||||||
project:
|
supportedstandards: []
|
||||||
author: Jack Smith
|
events:
|
||||||
email: jack@example.com
|
- name: info
|
||||||
version: 1.0
|
parameters:
|
||||||
name: 'Smart contract'
|
- name: message
|
||||||
description: 'Even smarter than Jack himself'
|
type: ByteString
|
||||||
hasdynamicinvocation: false
|
|
||||||
returntype: ByteArray
|
|
||||||
parameters: ['String', 'Array']
|
|
||||||
```
|
```
|
||||||
|
|
||||||
It's passed to the `deploy` command via `-c` option:
|
It's passed to the `deploy` command via `-c` option:
|
||||||
|
|
Loading…
Reference in a new issue