GasperX93
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit
      • Invitee
      • No invitee
    • Publish Note

      Publish Note

      Everyone on the web can find and read all notes of this public team.
      Once published, notes can be searched and viewed by anyone online.
      See published notes
      Please check the box to agree to the Community Guidelines.
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit
Invitee
No invitee
Publish Note

Publish Note

Everyone on the web can find and read all notes of this public team.
Once published, notes can be searched and viewed by anyone online.
See published notes
Please check the box to agree to the Community Guidelines.
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Swarm FAQ :::info Cashout troubleshooting by Ralph https://hackmd.io/95rvXRswSh-xm9Td_Xl2cg?view NOTE: Gašper add it to FAQ ::: [TOC] --- ## Community ### I am trying to join your discord channel but am unable to see content. It seems that there is a problem with the verification. Please check direct messages and find the message from Server Captcha Bot. Then complete your captcha. ![](https://i.imgur.com/sQ2L3hI.png) If you didn't get the Server Captcha Bot DM, please go to Privacy & Safety settings and Allow direct massages form server members. Then leave Swarm server and join again. ![](https://i.imgur.com/RrlojYe.png) ### Who can I contact for business or other inquiries? For business or other inquiries you can contact us at info@ethswarm.org ## The Rise of Bee - Airdrop ### Are airdrop awards calculated based on the amount of cheques or the number of cheques? For the airdrop, the worth/value of cashed-out cheques matter, not the number of cashed-out cheques. Cashing out your cheques once a day is more than enough. ### Other FAQs are in the blog (link below), please take it from there, they are alredy proofread. https://medium.com/ethereum-swarm/the-rise-of-bee-airdrop-ama-839d270563c2 ## Bee Node ### Where can I find Swarm Documentation: Bee Documentation: https://docs.ethswarm.org/docs/ Book of Swarm: https://gateway.ethswarm.org/bzz/latest.bookofswarm.eth/ ### Where can I report issues, errors, bugs? You can report issues, errors and bugs in the bee-support channel on our [Discord server](https://discord.gg/GU22h2utj6). If nobody can help you should create a new issue on [Github](https://github.com/ethersphere/bee/issues/new/choose). When you create a new issue please take care of not creating duplicate issues. ### How many Bee nodes are currently running? For the current state of Bee nodes please visit https://beenodes.live ### How do you visualize beenodes.live map? We run a "mutant Bee" crawler that determines the multiAddresses for all known-to-be-active bee nodes. It then uses an IP-to-location geocoding service to put pushpins on the map. Nodes the crawler can connect to get one pin and ones that it fails to connect to get a different pin. ### Where can I find support for running Bee node on DAppNode? You can find support for running Bee on DAppNode on the DappNode Discord server: https://discord.gg/dRd5CrjF ### How to Install Bee on Linux? Please see the guide on the link below: https://hackmd.io/RDLDF3XiSnaVNSR9ahkaiw ### How to Install Bee on windows? To run a bee node on Windows please visit https://github.com/ethersphere/bee/releases and download one of the Windows releases. Unfortunately you can't run bee-clef on windows yet, so you will need to use a different checkout scripts, but it works just fine. As an example, we offer you a very basic script, where you can manually cash out all cheques with a worth above a certain value. To use the script: https://gist.github.com/ralph-pichler/3b5ccd7a5c5cd0500e6428752b37e975#file-cashout-sh The other option is to build it from source with a git checkout and a working go environment. ### How-to cash out gBZZ cheques on Windows? Try using the windows 10 powershell or install some unix terminal like cygwin. That being said we are working on a ways to make this easier and multiplatform. Stay tuned. ### How to run more than one node? https://docs.ethswarm.org/docs/advanced/large-node-operators Quick answer - better run many small nodes (each with default db capacity) ### Which port should I open? See connectivity section on: https://docs.ethswarm.org/docs/installation/connectivity ### How do I know if I am connected to other peers? Just run `curl http://localhost:1635/peers` in your command line and see what the raw output is, as long as you see "successfully connected", then you are connecting to peers. And you would not be seeing anything from pushSync if there were no peers connected. ### What does "Failed to connect to local host port 1635: Connection refused" mean? Your node is not listening on port 1635, either the debug-api is not enabled, or it is not executing on localhost. Make sure your bee.yaml file has `debug-api-enable: true` ### What does "could not connect to peer" mean? Cannot connect to peer can happen for various reasons. Most common is that you have the identifier of a peer in your address book from a previous session. When trying to connect again to this node the peer might not be online anymore. ### What does "context deadline exceeded" error mean? The "context deadline exceeded" is a non critical warning. It means that a node took unexpectedly long to respond a request from your node. Your node will automatically try again via another node. ### How to set up the blockchain endpoint? - If you use "bee start" - you can set it in your bee configuration under --swap-endpoint or BEE_SWAP_ENDPOINT - open ~/.bee.yaml - set `swap-endpoint: https://rpc.slock.it/goerli` - If you use bee.service - you can set it in your bee configuration under --swap-endpoint or BEE_SWAP_ENDPOINT - open /etc/bee/bee.yaml - and then uncomment `swap-endpoint` configuration - and set it to `https://rpc.slock.it/goerli` - after that sudo systemctl restart bee ### How to export private keys from the node with bee-clef installed If you are running Bee together with the Bee-Clef, you can type in the command line `bee-clef-keys` and that will store the .JSON file into your home folder and copy the password in your clipboard. ### I have bee-clef installed but I can't export private keys. It happens quite a lot that bee-clef is installed, but getting the address from bee-clef-keys does not yield the same output as `:1635/addresses` In this case, the user most likely does not have clef enabled in the configuration of the bee node. This doesn't work for you? You get erorr -> `xclip: not found” or “Error: Can’t open display: (null)` Try running the command below: `sudo cat /var/lib/bee-clef/password` You can then use that to import to Metamask or any other web3 wallet provider. ### How to export private keys from the node (without bee-clef)? You can find insturction here in README section: https://github.com/ethersphere/exportSwarmKey You can also follow to the mini-guide on the link below: https://pastebee.com/?3b2a4cecafa21a7afcdd4d4f3d74fef1d5551acd91eb2d3a5b750dc9a161fbcf ### How to import bee node address to Metamask? 1. [export your bee node private keys](https://hackmd.io/tfKVeHaIQGewlGTC4ooESg#How-to-export-private-keys-from-the-node-with-bee-claf-installed) 2. go to Metamask and click import account 3. choose select type: JSON file 4. upload exported .JSON file (which contains your keys) 5. paste the password 6. click Import ### What is bee-clef? Bee-clef is a key manager. With the bee-clef your keys are not exposed to bee-process. [Clef](https://github.com/ethereum/go-ethereum/tree/master/cmd/clef) is the [Go Ethereum client](https://github.com/ethereum/go-ethereum/)'s external signer (an external service that signs transactions). [Bee-clef](https://github.com/ethersphere/bee-clef) starts up a custom clef instance that is preconfigured to be suitable for [bee](https://github.com/ethersphere/bee)'s automated operation. ### What are the restart commands of bee-clef? If you use bee.service: - Start: `sudo systemctl start bee-clef.service` - Stop: `sudo systemctl stop bee-clef.service` - Status: `sudo systemctl status bee-clef.service` ### What are the restart commands of bee? If you use bee.service: - Start: `sudo systemctl start bee.service` - Stop: `sudo systemctl stop bee.service` - Status: `sudo systemctl status bee.service` If you use "bee start" - Start: `bee start` - Stop: `ctrl + c` or `cmd + c` or close terminal to stop process ### Is there any kind of dashboard or a user friendly way to monitor the working of a node? We are developing bee-status. https://github.com/ethersphere/bee-status Currently not released yet, but Alpha release will be soon. If you using a DAppNode, there's a nice grafana dashboard. Also you can check a few tools, created by our trusted community members. https://github.com/doristeo/SwarmMonitoring https://github.com/DigiDr/swarm-docker-python-tools ### Relevant endpoints and explanations Balances: https://docs.ethswarm.org/debug-api/#tag/Balance Chequebook: https://docs.ethswarm.org/debug-api/#tag/Chequebook Status: https://docs.ethswarm.org/debug-api/#tag/Status Connectivity: https://docs.ethswarm.org/debug-api/#tag/Connectivity Settlements: https://docs.ethswarm.org/debug-api/#tag/Settlements Chunk: https://docs.ethswarm.org/debug-api/#tag/Chunk Most common use cases: - `curl http://localhost:1635/peers` - Shows you the currently connected peers - `curl http://localhost:1635/balances` - Shows balances (positive=incoming, negative=outgoing) accumulating with peers, some of which may or may not be currently connectd - `curl http://localhost:1635/settlements` - When the balance with a given peer exceeds a threshold, a settlement will be issued, if the settlement is received, then your node should have a check from that peer. - `curl http://localhost:1635/chequebook/address` your checkbook contract to see the gBZZ. ### How can I check how many cashed out cheques do I have? You can look at your checkbook contract at etherscan. Get your checkbook contract address with: `curl http://localhost:1635/chequebook/address` ### I have compared transactions between my ethereum address and my chequebook address, the number are different, which is quite weird. Your checkbook will show OUT gBZZ transactions when your peers cash checks issued by you, but you don't pay any gas for those so they won't show up in your Ethereum address transaction list. ### How to set infura.io endpoint: You need to sign up for a free account at infura.io, set up an Ethereum project, and get the goerli test net URL which will include your personal API key. Put that URL in your swap-endpoint and restart your node. Be sure that you choose the right network: ![](https://i.imgur.com/ev5Fwsm.png) ### Can I connect several nodes to infura endpoint? Yes, but their free plan has limit 100k requests per day. ### Where can I find documents about the cashout commands? https://docs.ethswarm.org/docs/advanced/swap ### When I run http://localhost:1635/chequebook/balance I get "totalBalance" and "availableBalance" what is the difference? `totalBalance` is the balance on the blockchain, `availableBalance` is that balance minus the outstanding (non-cashed) checks that you have issued to your peers. These latter checks do not show up on the blockchain. It's like what the bank thinks your balance is vs what your checkbook knows is actually available because of the checks you've written that are still "in the mail" and not yet cashed. ### How can I get the gBzz to run the node? If you are on Discord you can go to #faucet-request channel and type sprinkle "your node address", and your address will be funded. You can also get your gBZZ over [Bzzaar](https://bzz.ethswarm.org). ### How to use the Bzzaar to get gBZZ for Bee? For more indetailed instructions please check "fund your node on the [docs](https://docs.ethswarm.org/docs/installation/quick-start#fund-your-node)" 1) Set up a MetaMask account on the Goerli test chain 2) go to the bzzaar via the link as provided in your bee logs `https://bzz.ethswarm.org/?transaction=buy&amount=10&slippage=30&receiver=<address> 3) Connect the Bzzaar to your MetaMask wallet on the Goerli test chain (upper right) 4) Use the get g-eth button on the bzzaar to get g-eth on your node and metamask account 5) Press the Exchange button to mint gBzz into the node's account 6) Approve the transaction in your MetaMask 7) Wait a bit and the node should be able to proceed. 8) A small amount of gETH will be sent to both your connected wallet, and your Bee's wallet! This can take a couple of minutes, check the faucet address on Etherscan and look for the transactions to your addresses. You may need to reconnect your wallet to see your balance increase once the transaction has completed. ### What is gETH and gBZZ? gEth is the native token on the goerli test blockchain. gBZZ is the BZZ token also on the goerli test blockchain. You get gETH from goerli faucets and it is required for deploying the chequebook contract (once only), depositing gBZZ into that chequebook, and for cashing checks later. gBZZ is the currency of Bee and is collected or paid for transferring data in the network and for storage when postage stamps get released. ### How many network traffic consumes one node per day? Network traffic depends on your connectivity and the activity level in Swarm. ## Unconfirmed ### What determines the number of peers and how to influence their number? Why are there sometimes 300+ peers and sometimes 30? The number of connected peers is determined by your node as it attempts to keep the distributed kademlia well connected. As nodes come and go in the network your peer count will go up and down. If you watch bee's output logs for "successfully connected", there should be a mix of (inbound) and (outbound) at the end of those messages. If you only get (outbound) then you need to get your p2p port opened through your firewall and/or forwarded by your router. ### How to Install Bee on Dappnode / Raspberry PI? Please see the guide on the link below: https://medium.com/ethereum-swarm/how-to-run-bee-on-a-dappnode-raspberry-pi-7b4993ff7583 ### What is the difference between "systemctl" and "bee start"? "bee start" and "systemctl start bee" actually run 2 different instances with 2 different bee.yaml files and two different data directories. "bee start" uses ~/.bee.yaml and the ~/.bee directory for data systemctl uses /etc/bee/bee.yaml and (IIRC) /var/lib/bee for data

Import from clipboard

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template is not available.
Upgrade
All
  • All
  • Team
No template found.

Create custom template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

How to use Slide mode

API Docs

Edit in VSCode

Install browser extension

Get in Touch

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Upgrade to Prime Plan

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

No updates to save
Compare with
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Upgrade

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Upgrade

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully