From 10945a989dbc76c2087ef5e8dbd883ecee31e1d1 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 13 Nov 2020 21:52:42 +0300 Subject: [PATCH] docs: update project config example to smth more up to date --- docs/compiler.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/compiler.md b/docs/compiler.md index 5e29f8d49..f61305ea9 100644 --- a/docs/compiler.md +++ b/docs/compiler.md @@ -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: