feat(contract): add README with config

This commit is contained in:
Iamnotagenius 2024-01-05 18:17:56 +03:00
parent 183a25dbe3
commit b573544d94
No known key found for this signature in database
GPG key ID: 8D92479E65411DFA
2 changed files with 12 additions and 0 deletions

7
contract/README.md Normal file
View 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
View file

@ -0,0 +1,5 @@
name: "Password storage"
sourceurl: https://git.frostfs.info/Web3N3/neowolves
safemethods: ["checkUser"]
supportedstandards: []
events: []