Commit 3800bcf2 authored by Eknir's avatar Eknir Committed by GitHub

fix: get funding via docs, not via bzzaar (#1746)

parent 8d7e9e9b
...@@ -174,7 +174,7 @@ scoop: ...@@ -174,7 +174,7 @@ scoop:
- "(Get-Content -path $persist_dir\\bee.yaml -Raw) -replace './password',\"$persist_dir\\password\" | Set-Content -Path $persist_dir\\bee.yaml" - "(Get-Content -path $persist_dir\\bee.yaml -Raw) -replace './password',\"$persist_dir\\password\" | Set-Content -Path $persist_dir\\bee.yaml"
- "if(!(Test-Path $persist_dir\\password)){[System.Web.Security.Membership]::GeneratePassword(32,5) | Set-Content -Path $persist_dir\\password}" - "if(!(Test-Path $persist_dir\\password)){[System.Web.Security.Membership]::GeneratePassword(32,5) | Set-Content -Path $persist_dir\\password}"
- "if(sc.exe query SwarmBeeSvc | Select-String FAILED){sc.exe create SwarmBeeSvc binPath= \"$dir\\bee.exe start --config=$persist_dir\\bee.yaml\" type= share start= auto displayName= \"Bee\"; sc.exe description SwarmBeeSvc \"Swarm client implemented in Go.\"}" - "if(sc.exe query SwarmBeeSvc | Select-String FAILED){sc.exe create SwarmBeeSvc binPath= \"$dir\\bee.exe start --config=$persist_dir\\bee.yaml\" type= share start= auto displayName= \"Bee\"; sc.exe description SwarmBeeSvc \"Swarm client implemented in Go.\"}"
- "if($global){$ETH_ADDRESS = (((C:\\ProgramData\\scoop\\shims\\bee.exe init --config=$persist_dir\\bee.yaml | Select-String ethereum) -split ' ‘)[-1]).Trim('\"')} else {$ETH_ADDRESS = (((bee.exe init --config=$persist_dir\\bee.yaml | Select-String ethereum) -split ' ‘)[-1]).Trim('\"')}; Write-Host \"Please make sure there is sufficient eth and bzz available on $ETH_ADDRESS address.\nYou can get both goerli eth and goerli bzz from https://bzz.ethswarm.org/?transaction=buy&amount=10&slippage=30&receiver=0x$ETH_ADDRESS\"" - "if($global){$ETH_ADDRESS = (((C:\\ProgramData\\scoop\\shims\\bee.exe init --config=$persist_dir\\bee.yaml | Select-String ethereum) -split ' ‘)[-1]).Trim('\"')} else {$ETH_ADDRESS = (((bee.exe init --config=$persist_dir\\bee.yaml | Select-String ethereum) -split ' ‘)[-1]).Trim('\"')}; Write-Host \"Please make sure there is sufficient eth and bzz available on $ETH_ADDRESS address.\nLearn how to fund your node by visiting our docs at https://docs.ethswarm.org/docs/installation/fund-your-node\""
- "Write-Host \"After the initial fund deploy Bee chequebook with [sudo] $dir\\bee.exe deploy --config=$persist_dir\\bee.yaml\"" - "Write-Host \"After the initial fund deploy Bee chequebook with [sudo] $dir\\bee.exe deploy --config=$persist_dir\\bee.yaml\""
- "Write-Host 'Start Bee service with [sudo] sc.exe start SwarmBeeSvc'" - "Write-Host 'Start Bee service with [sudo] sc.exe start SwarmBeeSvc'"
......
...@@ -26,9 +26,7 @@ The node's output was: ...@@ -26,9 +26,7 @@ The node's output was:
echo " echo "
Please make sure there is sufficient ETH and BZZ available on the node's Ethereum address: $ETH_ADDRESS. Please make sure there is sufficient ETH and BZZ available on the node's Ethereum address: $ETH_ADDRESS.
You can get both Goerli ETH and Goerli BZZ via the Bzzaar at https://bzz.ethswarm.org/?transaction=buy&amount=10&slippage=30&receiver=0x$ETH_ADDRESS Learn how to fund your node by visiting our docs at at https://docs.ethswarm.org/docs/installation/fund-your-node
Or you can join us on Discord (at https://discord.gg/ykCupZMuww) and ask our bot for a sprinkle in the #faucet-request channel.
Once the node's wallet has received the funds it will begin joining the Swarm network. Once the node's wallet has received the funds it will begin joining the Swarm network.
......
...@@ -13,7 +13,7 @@ After you fix configuration run 'bee-get-addr' again. ...@@ -13,7 +13,7 @@ After you fix configuration run 'bee-get-addr' again.
ETH_ADDRESS=$(echo "$RESP" | grep ethereum | cut -d' ' -f6 | tr -d '"') ETH_ADDRESS=$(echo "$RESP" | grep ethereum | cut -d' ' -f6 | tr -d '"')
echo " echo "
Please make sure there is sufficient eth and bzz available on $ETH_ADDRESS address. Please make sure there is sufficient eth and bzz available on $ETH_ADDRESS address.
You can get both Goerli ETH and Goerli BZZ now via the bzzaar at https://bzz.ethswarm.org/?transaction=buy&amount=10&slippage=30&receiver=0x$ETH_ADDRESS Learn how to fund your node by visiting our docs at https://docs.ethswarm.org/docs/installation/fund-your-node
After you get the funds start service with 'brew services start swarm-bee'. After you get the funds start service with 'brew services start swarm-bee'.
" "
......
...@@ -73,7 +73,7 @@ func checkBalance( ...@@ -73,7 +73,7 @@ func checkBalance(
logger.Warningf("cannot continue until there is at least %d BZZ available on %x", neededERC20, overlayEthAddress) logger.Warningf("cannot continue until there is at least %d BZZ available on %x", neededERC20, overlayEthAddress)
} }
if chainId == 5 { if chainId == 5 {
logger.Warningf("get your Goerli ETH and Goerli BZZ now via the bzzaar at https://bzz.ethswarm.org/?transaction=buy&amount=%d&slippage=30&receiver=0x%x", neededERC20, overlayEthAddress) logger.Warningf("learn how to fund your node by visiting our docs at https://docs.ethswarm.org/docs/installation/fund-your-node")
} }
select { select {
case <-time.After(balanceCheckBackoffDuration): case <-time.After(balanceCheckBackoffDuration):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment