WIP: FrostFS smart-contract
Find a file
Alex Vanin 5c2d82a0b6
Merge pull request #14 from nspcc-dev/neo3/docs
Remove unused functions and update docs
2020-07-21 18:23:16 +03:00
.gitignore Update neo-go to v0.90.0 and Makefile 2020-07-15 11:47:29 +03:00
go.mod Update neo-go to v0.90.0 and Makefile 2020-07-15 11:47:29 +03:00
go.sum Update neo-go to v0.90.0 and Makefile 2020-07-15 11:47:29 +03:00
LICENSE.md init commit 2020-04-01 19:27:29 +03:00
Makefile Update neo-go to v0.90.0 and Makefile 2020-07-15 11:47:29 +03:00
neofs_config.yml Update neo-go to v0.90.0-pre and fix smart-contract 2020-07-09 16:38:53 +03:00
neofs_contract.go Remove unused functions and fix lint errors 2020-07-21 12:42:14 +03:00
README.md Remove tests and update readme file 2020-07-21 12:42:14 +03:00

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