forked from TrueCloudLab/frostfs-contract
parent
b387171187
commit
0dd9072ca0
1 changed files with 13 additions and 11 deletions
24
README.md
24
README.md
|
@ -11,13 +11,14 @@
|
|||
|
||||
NeoFS-Contract contains all NeoFS related contracts written for
|
||||
[neo-go](https://github.com/nspcc-dev/neo-go) compiler. These contracts
|
||||
are deployed both in mainnet and sidechain.
|
||||
are deployed both in main chain and side chain.
|
||||
|
||||
Mainnet contract:
|
||||
Main chain contracts:
|
||||
|
||||
- neofs
|
||||
- processing
|
||||
|
||||
Sidechain contracts:
|
||||
Side chain contracts:
|
||||
|
||||
- alphabet
|
||||
- audit
|
||||
|
@ -34,7 +35,7 @@ Sidechain contracts:
|
|||
|
||||
To compile smart contracts you need:
|
||||
|
||||
- [neo-go](https://github.com/nspcc-dev/neo-go) >= 0.94.0
|
||||
- [neo-go](https://github.com/nspcc-dev/neo-go) >= 0.94.1
|
||||
|
||||
## Compilation
|
||||
|
||||
|
@ -44,15 +45,16 @@ corresponding directories.
|
|||
|
||||
```
|
||||
$ make all
|
||||
neo-go contract compile -i alphabet/alphabet_contract.go -c alphabet/config.yml -m alphabet/config.json
|
||||
neo-go contract compile -i audit/audit_contract.go -c audit/config.yml -m audit/config.json
|
||||
neo-go contract compile -i balance/balance_contract.go -c balance/config.yml -m balance/config.json
|
||||
neo-go contract compile -i container/container_contract.go -c container/config.yml -m container/config.json
|
||||
neo-go contract compile -i neofsid/neofsid_contract.go -c neofsid/config.yml -m neofsid/config.json
|
||||
neo-go contract compile -i netmap/netmap_contract.go -c netmap/config.yml -m netmap/config.json
|
||||
neo-go contract compile -i proxy/proxy_contract.go -c proxy/config.yml -m proxy/config.json
|
||||
neo-go contract compile -i alphabet/alphabet_contract.go -c alphabet/config.yml -m alphabet/config.json
|
||||
neo-go contract compile -i audit/audit_contract.go -c audit/config.yml -m audit/config.json
|
||||
neo-go contract compile -i balance/balance_contract.go -c balance/config.yml -m balance/config.json
|
||||
neo-go contract compile -i container/container_contract.go -c container/config.yml -m container/config.json
|
||||
neo-go contract compile -i neofsid/neofsid_contract.go -c neofsid/config.yml -m neofsid/config.json
|
||||
neo-go contract compile -i netmap/netmap_contract.go -c netmap/config.yml -m netmap/config.json
|
||||
neo-go contract compile -i proxy/proxy_contract.go -c proxy/config.yml -m proxy/config.json
|
||||
neo-go contract compile -i reputation/reputation_contract.go -c reputation/config.yml -m reputation/config.json
|
||||
neo-go contract compile -i neofs/neofs_contract.go -c neofs/config.yml -m neofs/config.json
|
||||
neo-go contract compile -i processing/processing_contract.go -c processing/config.yml -m processing/config.json
|
||||
```
|
||||
|
||||
You can specify path to the `neo-go` binary with `NEOGO` environment variable:
|
||||
|
|
Loading…
Reference in a new issue