Download node-funder which will be used to create gift wallets.
Make sure your Go version is 1.18 or above. Run go version to verify.
Set some environment variables:
export TESTNET_PRIVATE_KEY="..."
export TESTNET_RPC_ENDPOINT="https://goerli.infura.io/v3/..."
export NODE_FUNDER_PATH="<path to node-funder>"Make sure you have the latest utility CLI version: npm install --global cafe-tui
Create a gift wallet with the command npx cafe-tui funder gift and make notes as it is not stored anywhere.
Overwrite the following values in config.yaml which is at ~/Library/Application Support/Swarm Desktop:
mainnet: false
data-dir: 'data-dir-testnet'
swap-enable: false
swap-endpoint: ''
resolver-options: 'https://goerli.infura.io/v3/...'
bootnode: '/dnsaddr/testnet.ethswarm.orgDownload the Bee binary under test from the releases page
Rename it to bee and move it to ~/Library/Application Support/Swarm Desktop
Grab swarm-desktop source and run the following:
cd ui && npm install
cd .. && npm install
npm startGrab bee-dashboard source and switch to branch chore/testnet. It contains the testnet BZZ_TOKEN_ADDRESS and
NETWORK_ID.
Start it with REACT_APP_BEE_DESKTOP_URL=http://localhost:3054 REACT_APP_BEE_DESKTOP_ENABLED=true npm start
Open URL http://localhost:3002/?v=YOUR_API_KEY with your Desktop API key. You may use the following command on OSX:
open "http://localhost:3002/?v=$(cat ~/Library/Application\ Support/Swarm\ Desktop/api-key.txt)"