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:
|
||||
|
||||
```
|
||||
project:
|
||||
author: Jack Smith
|
||||
email: jack@example.com
|
||||
version: 1.0
|
||||
name: 'Smart contract'
|
||||
description: 'Even smarter than Jack himself'
|
||||
hasdynamicinvocation: false
|
||||
returntype: ByteArray
|
||||
parameters: ['String', 'Array']
|
||||
supportedstandards: []
|
||||
events:
|
||||
- name: info
|
||||
parameters:
|
||||
- name: message
|
||||
type: ByteString
|
||||
```
|
||||
|
||||
It's passed to the `deploy` command via `-c` option:
|
||||
|
|
Loading…
Reference in a new issue