docs: update project config example to smth more up to date

This commit is contained in:
Roman Khimov 2020-11-13 21:52:42 +03:00
parent 3cb945f022
commit 10945a989d

View file

@ -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: