feat(contract): add README with config
This commit is contained in:
parent
183a25dbe3
commit
b573544d94
2 changed files with 12 additions and 0 deletions
7
contract/README.md
Normal file
7
contract/README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
## Как скомпилить
|
||||
`neo-go contract compile -i passtorage.go -c config.yml -m manifest.json`
|
||||
|
||||
## Как сгенерить обёртку
|
||||
`neo-go contract generate-rpcwrapper -m manifest.json -o wrapper.go`
|
||||
Можно добавить хеш скрипта через `--hash HASH`
|
||||
Потом можете поместить `wrapper.go` в свой проект и использовать его.
|
5
contract/config.yml
Normal file
5
contract/config.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
name: "Password storage"
|
||||
sourceurl: https://git.frostfs.info/Web3N3/neowolves
|
||||
safemethods: ["checkUser"]
|
||||
supportedstandards: []
|
||||
events: []
|
Loading…
Reference in a new issue