Skip to content

Sync a light bch node using the nakamoto rust crate example, forked to sync with bitcoin cash main or chip network.

Notifications You must be signed in to change notification settings

samrock5000/p2p-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟 Light P2P BCH Client Example 🌟

🚀 Clone the Repo

git clone https://github.com/samrock5000/p2p-client

▶️ Run the Client

cargo run -- --network chipnet --debug

⚠️ Caution

Creates client data in $HOME/.nakamoto by default
requires rust edition 2024 stable.

Update root to change directory path:

    let cfg = Config {
        network,
        connect,
        root: PathBuf::from(env::var(HOME_DIR).unwrap_or_default()),
        listen: vec![], // Don't listen for incoming connections.
        ..Config::default()
    };

About

Sync a light bch node using the nakamoto rust crate example, forked to sync with bitcoin cash main or chip network.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages