2020-07-24 13:54:03 +00:00
|
|
|
<p align="center">
|
|
|
|
<img src="./.github/logo.svg" width="500px" alt="NeoFS">
|
|
|
|
</p>
|
|
|
|
<p align="center">
|
|
|
|
<a href="https://fs.neo.org">NeoFS</a> is a decentralized distributed object storage integrated with the <a href="https://neo.org">NEO Blockchain</a>.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
---
|
2021-12-10 11:24:04 +00:00
|
|
|
[![Report](https://goreportcard.com/badge/github.com/nspcc-dev/neofs-node)](https://goreportcard.com/report/github.com/nspcc-dev/neofs-node)
|
2020-07-24 13:54:03 +00:00
|
|
|
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/nspcc-dev/neofs-node?sort=semver)
|
|
|
|
![License](https://img.shields.io/github/license/nspcc-dev/neofs-node.svg?style=popout)
|
|
|
|
|
|
|
|
# Overview
|
|
|
|
|
2022-03-04 06:55:25 +00:00
|
|
|
NeoFS Nodes are organized in a peer-to-peer network that takes care of storing
|
|
|
|
and distributing user's data. Any Neo user may participate in the network and
|
2022-04-21 11:28:05 +00:00
|
|
|
get paid for providing storage resources to other users or store their data in
|
2022-03-04 06:55:25 +00:00
|
|
|
NeoFS and pay a competitive price for it.
|
2020-07-24 13:54:03 +00:00
|
|
|
|
|
|
|
Users can reliably store object data in the NeoFS network and have a transparent
|
2022-03-04 06:55:25 +00:00
|
|
|
data placement process due to a decentralized architecture and flexible storage
|
2020-07-24 13:54:03 +00:00
|
|
|
policies. Each node is responsible for executing the storage policies that the
|
|
|
|
users select for geographical location, reliability level, number of nodes, type
|
|
|
|
of disks, capacity, etc. Thus, NeoFS gives full control over data to users.
|
|
|
|
|
|
|
|
Deep [Neo Blockchain](https://neo.org) integration allows NeoFS to be used by
|
2022-03-04 06:55:25 +00:00
|
|
|
dApps directly from
|
2020-07-24 13:54:03 +00:00
|
|
|
[NeoVM](https://docs.neo.org/docs/en-us/basic/technology/neovm.html) on the
|
2021-12-10 11:24:04 +00:00
|
|
|
[Smart Contract](https://docs.neo.org/docs/en-us/intro/glossary.html)
|
2020-07-24 13:54:03 +00:00
|
|
|
code level. This way dApps are not limited to on-chain storage and can
|
|
|
|
manipulate large amounts of data without paying a prohibitive price.
|
|
|
|
|
2022-03-04 06:55:25 +00:00
|
|
|
NeoFS has a native [gRPC API](https://github.com/nspcc-dev/neofs-api) and has
|
|
|
|
protocol gateways for popular protocols such as [AWS
|
|
|
|
S3](https://github.com/nspcc-dev/neofs-s3-gw),
|
2021-12-10 11:24:04 +00:00
|
|
|
[HTTP](https://github.com/nspcc-dev/neofs-http-gw),
|
2020-07-24 13:54:03 +00:00
|
|
|
[FUSE](https://wikipedia.org/wiki/Filesystem_in_Userspace) and
|
|
|
|
[sFTP](https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol) allowing
|
2021-12-10 11:24:04 +00:00
|
|
|
developers to integrate applications without rewriting their code.
|
2020-07-24 13:54:03 +00:00
|
|
|
|
2021-04-20 19:14:43 +00:00
|
|
|
# Supported platforms
|
|
|
|
|
2022-04-21 11:28:05 +00:00
|
|
|
Now, we only support GNU/Linux on amd64 CPUs with AVX/AVX2 instructions. More
|
2022-03-04 06:55:25 +00:00
|
|
|
platforms will be officially supported after release `1.0`.
|
2021-04-20 19:14:43 +00:00
|
|
|
|
2022-07-22 14:12:45 +00:00
|
|
|
The latest version of neofs-node works with neofs-contract
|
2022-10-17 11:31:13 +00:00
|
|
|
[v0.16.0](https://github.com/nspcc-dev/neofs-contract/releases/tag/v0.16.0).
|
2021-06-03 16:39:27 +00:00
|
|
|
|
2022-06-30 12:48:56 +00:00
|
|
|
# Building
|
|
|
|
|
|
|
|
To make all binaries you need Go 1.17+ and `make`:
|
|
|
|
```
|
|
|
|
make all
|
|
|
|
```
|
|
|
|
The resulting binaries will appear in `bin/` folder.
|
|
|
|
|
|
|
|
To make a specific binary use:
|
|
|
|
```
|
|
|
|
make bin/neofs-<name>
|
|
|
|
```
|
|
|
|
See the list of all available commands in the `cmd` folder.
|
|
|
|
|
|
|
|
## Building with Docker
|
|
|
|
|
|
|
|
Building can also be performed in a container:
|
|
|
|
```
|
|
|
|
make docker/all # build all binaries
|
|
|
|
make docker/bin/neofs-<name> # build a specific binary
|
|
|
|
```
|
|
|
|
|
|
|
|
## Docker images
|
|
|
|
|
|
|
|
To make docker images suitable for use in [neofs-dev-env](https://github.com/nspcc-dev/neofs-dev-env/) use:
|
|
|
|
```
|
|
|
|
make images
|
|
|
|
```
|
|
|
|
|
2020-07-24 13:54:03 +00:00
|
|
|
# Contributing
|
|
|
|
|
|
|
|
Feel free to contribute to this project after reading the [contributing
|
|
|
|
guidelines](CONTRIBUTING.md).
|
|
|
|
|
2020-12-30 10:07:48 +00:00
|
|
|
Before starting to work on a certain topic, create a new issue first, describing
|
|
|
|
the feature/topic you are going to implement.
|
2020-07-24 13:54:03 +00:00
|
|
|
|
|
|
|
# Credits
|
|
|
|
|
|
|
|
NeoFS is maintained by [NeoSPCC](https://nspcc.ru) with the help and
|
|
|
|
contributions from community members.
|
|
|
|
|
|
|
|
Please see [CREDITS](CREDITS.md) for details.
|
|
|
|
|
|
|
|
# License
|
|
|
|
|
|
|
|
- [GNU General Public License v3.0](LICENSE)
|