Fiber Network Node (FNN) is a reference implementation of Fiber Network Protocol (FNP). In the current stage, it's not a production-ready implementation, but a prototype to demonstrate the feasibility of FNP. It's capable of:
Please note that the implementation is still under development, there are two major features not implemented yet:
But as a prototype, it's a good starting point for developers to understand the FNP and try out the integration with their applications.
cargo build --release
mkdir /folder-to/my-fnn
cp target/release/fnn /folder-to/my-fnn
cp config/testnet/config.yml /folder-to/my-fnn
cd /folder-to/my-fnn
ckb/key
. You may use the ckb-cli to generate a new key or export an existing key:mkdir ckb
ckb-cli account export --lock-arg <lock_arg> --extended-privkey-path ./ckb/exported-key
// ckb-cli exports master private key and chain code, FNN only needs the private key part
head -n 1 ./ckb/exported-key > ./ckb/key
RUST_LOG=info ./fnn -c config.yml -d .