AleoNet / snarkOS

A Decentralized Operating System for ZK Applications

Home Page:http://snarkos.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Proposal] Feature Request: support custom IP in param

lz1998 opened this issue · comments

💥 Proposal

I am using a server without a public IP, and I use frpc to bind port from my server. Can I specify my public IP?

You can specify them using these options (only --node is important if you're not running a validator):
https://github.com/AleoNet/snarkOS/blob/mainnet-staging/cli/src/commands/start.rs#L96-L101

As for the rest server, you can set it using --rest: https://github.com/AleoNet/snarkOS/blob/mainnet-staging/cli/src/commands/start.rs#L112-L114