Welcome to bothnode. (v0.5.2)
) ) ) (
( /( ( /( ( /( )\ ) (
)\()) ( )\()) )\()) ( ( (()/( ))\
((_)\ )\ (_))/ ((_)\ )\ ) )\ ((_)) /((_)
| |(_) ((_) | |_ | |(_) _(_/( ((_) _| | (_))
| '_ \ / _ \ | _| | ' \ | ' \)) / _ \ / _` | / -_)
|_.__/ \___/ \__| |_||_| |_||_| \___/ \__,_| \___|
What you can do with bothnode:
- setup a node with the choice of your network
- interact with a node for basic operation
- detect the anamolies and malpractiecs using the variety of methods
*Skip this step if not necessary.
Use bothnode-infra to automate cloud resources setup
First, clone the repository.
git clone https://github.com/your-username/bothnode.git
cd bothnodeTo start using CLI tool, install bothnode to your machine
pip install -e .Then, set up ethereum client by running the following command:
bothnode init <network_name>The command launch the node of your choice:
- ganache: local Ethereum emulator
- sepolia: Ethereum test network
- main: Ethereum main net
Run the usual systemctl commands to manage the underlying services (e.g., geth, lighthouse)
sudo systemctl start <service_name>.service
sudo systemctl stop <service_name>.service
sudo systemctl status <service_name>.service
sudo systemctl enable <service_name>.service
sudo journalctl -u <service_name>.service -fAfter successful execution of bothnode init, your node will be running in the background while starting the syncing process at the same time.
bothnode implements multiple ways of node interaction: get, tx, detect
bothnode get <network_name> <target> --optionsTo send transaction to the network:
bothnode tx <network_name> --options
# regular transaction
bothnode tx ganache -f <from_address>-t <to_address> --amount 1
# transaction for smart contract calling
bothnode tx ganache -f <from_address>
--contract-address <contract_address>
--func-name transfer # e.g.
--func-params '{"recipient": "0xFaD6bF978fC43DD8Dc6084356012f80CB3Ff1b56", "amount": 1000}' # e.g.Specify the method and apply detection algorithms to the living network!
bothnode detect --method <method_name>see --help for the available commands and options.
For further information on how to use bothnode, see the official documentation.