How to Set Up a Dispatch Wallet & Send Tokens

Step-by-step instructions on how to generate a new wallet, send, and receive tokens via web or command line

Zane Witherspoon
Dispatch
3 min readMar 6, 2019

--

Ready to get your Divvy?

There are currently two ways to generate a wallet and use it on the Dispatch platform. We’ll walk through both methods below for anyone looking to get started on either our main network or our devnet, which is purely for testing.

Wallets can be created via either the Dispatch Network Scanner, which offers an easy point-and-click interface over the web, or through our command-line Disgo client, which offers more options in terms of private-key encryption.

The Scanner:

Our Network Scanner has some ease-of-use functionality built into it for conveniently doing things like generating a wallet, sending tokens, and deploying smart contracts via the web. Those of you who are more security-minded can also download the scanner’s source code and run it locally as well.

Point. Click. Profit.

Generating a Wallet with Scanner:

  1. Head on to http://scanner.dispatchlabs.io
  2. Go to the hamburger menu at the top right and select “Create Account.”
  3. Click “Generate New Private Key and Address.”
  4. Save your private key somewhere secure, ideally offline or on some form of encrypted storage.
  5. Send us your public address to receive some tokens! We’re happy to distribute test tokens for free to folks who want to experiment with Dispatch on devnet. Or, if you’re ready to dive into the mainnet full-on, please email Colin Lowenberg, our Director of Developer Relations, to learn more about our token programs for new developers building on Dispatch.

Sending Tokens with Scanner:

  1. Head over to http://scanner.dispatchlabs.io
  2. Go to the hamburger menu at the top right and select “Send Tokens”
  3. Enter your Private Key on the first line and the To address on the second line
  4. Enter the number of tokens you would like to send. Remember that 1 Divvy has 8 decimal places, so 100,000,000 Divvitos in this field = 1 full token
  5. Click “Send Tokens” and wait a couple of seconds
Devs know what’s good

The Disgo Client:

Generating a Wallet with disgo:

  1. We wrote the first implementation of Dispatch in GO (dis-go), so make sure GoLang is installed on your computer (https://golang.org/dl/)
  2. From your terminal type go get github.com/dispatchlabs/disgo
  3. Move into the disgo directory (probably cd $HOME/go/src/github.com/dispatchlabs/disgo depending on your $GOPATH)
  4. go run main.go
  5. You will be prompted for a password to encrypt your node’s private key. Write down this decryption password somewhere safe, preferably offline.
  6. Your private key is then generated in encrypted .JSON keystore format. You can access the keystore file and find your public address at disgo/config/myDisgoKey.json
  7. Hop on over to our Discord and send us your public address to receive some tokens!

Sending Tokens with disgo:

Disgo comes with a baked in Local API to make it easy to send transactions.

  1. First, you need to find your randomly generated LocalAPI password in disgo > config > config.json > “localHttpApiPassword
  2. Next all you need to do is curl a post to your disgo client while it’s still running. Just remember to replace *YOURAPIPASSWORD* in the example below.
curl -X POST \
http://localhost:1971/v1/local/transfer \
-H ‘Authorization: Disgo *YOURAPIPASSWORD*’ \
-d ‘{
“to”: “5fca768372eacb2fa39daf98685634bdd852a3b3”,
“amount”: 100000000
}’

So there you have it — two methods to create and use a new wallet on Dispatch. We’ll be adding even more later, including improved options for mobile, so stay tuned!

--

--

Zane Witherspoon
Dispatch

2x exited technical founder • Executive Director at Superset • Previously @DispatchLabsIO & @FathomPrivacy acquired by @Delphia