2021-08-06 09:29:23 +00:00
|
|
|
# N3 Mainnet Storage node configuration
|
|
|
|
|
2022-04-21 11:28:05 +00:00
|
|
|
Here is a template for simple storage node configuration in N3 Mainnet.
|
2021-08-06 09:29:23 +00:00
|
|
|
Make sure to specify correct values instead of `<...>` placeholders.
|
2022-12-23 17:35:35 +00:00
|
|
|
Do not change `contracts` section. Run the latest frostfs-node release with
|
|
|
|
the fixed config `frostfs-node -c config.yml`
|
2021-08-06 09:29:23 +00:00
|
|
|
|
2022-04-21 11:28:05 +00:00
|
|
|
To use NeoFS in the Mainnet, you need to deposit assets to NeoFS contract.
|
2021-12-09 12:26:12 +00:00
|
|
|
The contract sript hash is `2cafa46838e8b564468ebd868dcafdd99dce6221`
|
|
|
|
(N3 address `NNxVrKjLsRkWsmGgmuNXLcMswtxTGaNQLk`)
|
|
|
|
|
2021-08-06 09:29:23 +00:00
|
|
|
## Tips
|
|
|
|
|
2022-04-21 11:28:05 +00:00
|
|
|
Use `grpcs://` scheme in the announced address if you enable TLS in grpc server.
|
2021-08-06 09:29:23 +00:00
|
|
|
```yaml
|
|
|
|
node:
|
|
|
|
addresses:
|
2022-12-23 17:35:35 +00:00
|
|
|
- grpcs://frostfs.my.org:8080
|
2021-08-06 09:29:23 +00:00
|
|
|
|
|
|
|
grpc:
|
|
|
|
num: 1
|
|
|
|
0:
|
2022-12-23 17:35:35 +00:00
|
|
|
endpoint: frostfs.my.org:8080
|
2021-08-06 09:29:23 +00:00
|
|
|
tls:
|
|
|
|
enabled: true
|
|
|
|
certificate: /path/to/cert
|
|
|
|
key: /path/to/key
|
|
|
|
```
|