From 653ecbe50edd0ffef6f0062cf9d7621090bfd60d Mon Sep 17 00:00:00 2001 From: Evgeniy Stratonikov Date: Thu, 5 Aug 2021 11:21:52 +0300 Subject: [PATCH] docs/compiler.md: document manifest groups Signed-off-by: Evgeniy Stratonikov --- docs/compiler.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/compiler.md b/docs/compiler.md index 2ba82e7ce..5a10d927e 100644 --- a/docs/compiler.md +++ b/docs/compiler.md @@ -276,6 +276,16 @@ Using either constant or literal for contract hash and method will allow compile to perform more extensive analysis. This check can be disabled with `--no-permissions` flag. +#### Manifest file +Any contract can be included in a group identified by a public key which is used in [permissions](#Permissions). +This is achieved with `manifest add-group` command. +``` +./bin/neo-go contract manifest add-group -n contract.nef -m contract.manifest.json --sender --wallet /path/to/wallet.json --account +``` +It accepts contract `.nef` and manifest files emitted by `compile` command as well as +sender and signer accounts. `--sender` is the account who will send deploy transaction later (not necessarily in wallet). +`--account` is the wallet account which signs contract hash using group private key. + #### Neo Express support It's possible to deploy contracts written in Go using [Neo