# Run a Bee Node on Sepolia Testnet ## Install latest Bee 2.2.0 ``` wget -q -O - https://raw.githubusercontent.com/ethersphere/bee/master/install.sh | TAG=v2.2.0 bash ``` ## Check Bee Version ``` bee version ``` ``` 2.2.0-06a0aca7 ``` ## Create a bash script create a `run_bee.sh` file and past the following text. Replace `<TESTNET-DATA-DIR>` and `<SEPOLIA-ENDPOINT>` accordingly ``` #!/bin/bash bee start \ --data-dir="<TESTNET-DATA-DIR>" \ --debug-api-enable=true \ --full-node=true \ --mainnet=false \ --network-id=10 \ --password="password" \ --blockchain-rpc-endpoint="wss:<SEPOLIA-ENDPOINT>" \ --swap-enable=true \ --verbosity=5 \ --welcome-message="Hello" \ --warmup-time="30s" ``` ## Run Bee ``` bash run_bee.sh ``` logs: ``` "time"="2024-03-06 14:24:29.563915" "level"="warning" "logger"="node/chequebook" "msg"="learn how to fund your node by visiting our docs at https://docs.ethswarm.org/docs/installation/fund-your-node" "time"="2024-03-06 14:24:49.883940" "level"="warning" "logger"="node/chequebook" "msg"="cannot continue until there is at least min ETH (for Gas) available on address" "min_amount"="0.0003044902892" "address"="0x0E429c1F38901275b2A5143b67F44fCE338fA072" ``` Note this wallet `address` and `min_amount`. ## Funding you bee wallet with sepolia ETH Transfer `0.001` sepolia ETH (or any amount greater than `min_amount`) to the `address` shown above. ## Funding you bee wallet with sBZZ for staking ### Connect to Sepolia Uniswap : https://bafybeidymy5uhlni5456cwgyyj5wlst44gdh5343cfkivvvdysiwok5uam.ipfs.dweb.link/?chain=sepolia#/swap Note: Make sure, Sepolia is selected as the chain on Metamask. ### Select sBZZ as your output currency: sBZZ token : `0x543dDb01Ba47acB11de34891cD86B675F04840db` ![image](https://hackmd.io/_uploads/B1PmQAjjA.png) ### Swap sepolia ETH to sBZZ. ![image](https://hackmd.io/_uploads/H1ShrJLp6.png) Transfer 10 or more sBZZ to the wallet address above. ## Staking your testnet node Check your node's wallet balance: ``` curl localhost:1635/wallet ``` to stake 10 sBZZ tokens: ``` curl -XPOST localhost:1635/stake/100000000000000000 ```