FrostFS smart-contract
 
 
Go to file
Alex Vanin bf391b57dd [#18] Add sidechain contracts
Sidechain contracts include alphabet contracts for governance
and audit, balance, container, neofsid, netmap, reputation
contracts.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-10-27 17:33:56 +03:00
alphabet [#18] Add sidechain contracts 2020-10-27 17:33:56 +03:00
audit [#18] Add sidechain contracts 2020-10-27 17:33:56 +03:00
balance [#18] Add sidechain contracts 2020-10-27 17:33:56 +03:00
container [#18] Add sidechain contracts 2020-10-27 17:33:56 +03:00
neofs [#18] Move neofs contract to separate dir 2020-10-27 17:33:56 +03:00
neofsid [#18] Add sidechain contracts 2020-10-27 17:33:56 +03:00
netmap [#18] Add sidechain contracts 2020-10-27 17:33:56 +03:00
reputation [#18] Add sidechain contracts 2020-10-27 17:33:56 +03:00
.gitignore [#18] Ignore contracts `config.json` files 2020-10-27 17:33:56 +03:00
LICENSE.md init commit 2020-04-01 19:27:29 +03:00
Makefile [#15] Add notifications list in config 2020-08-28 09:55:02 +03:00
README.md Remove tests and update readme file 2020-07-21 12:42:14 +03:00
go.mod [#15] Update neo-go to v0.91.0 2020-08-28 09:55:02 +03:00
go.sum [#15] Update neo-go to v0.91.0 2020-08-28 09:55:02 +03:00

README.md

NeoFS smart-contract

This smart-contract controls list of NeoFS Inner Ring nodes, user assets in NeoFS balance contract and stores NeoFS runtime configuration.

Getting Started

This repository contains:

  • NeoFS smart-contract in Go

Prerequisites

To compile smart-contract you need:

Compiling

To compile smart contract run make build command. Compiled contract neofs_contract.nef and manifest config.json will be placed in the same directory.

$ make build
neo-go contract compile -i neofs_contract.go -c neofs_config.yml -m config.json
$ ls neofs_contract.nef config.json 
config.json  neofs_contract.nef

You can specify path to the neo-go binary with NEOGO environment variable:

$ NEOGO=/home/user/neo-go/bin/neo-go make build

License

This project is licensed under the GPLv3 License - see the LICENSE.md file for details