Dogecoin

Dogecoin

Dogecoin (DOGE) was forked from Litecoin in 2013, from which it inherited the Scrypt mining algorithm. The Dogecoin network is configured to mine 1 block per minute. Dogecoin creates 10,000 DOGE per block. This entails that 14,400,400 new DOGE tokens are created per day.

Dogecoin can be accessed with the following coin types:

EnvironmentCoin TypeFaucet
Dogecoin Productiondoge
Dogecoin Testnettdogehttps://dogecointf.salmen.website/

Generating wallets

1 2 3 4 5 6 7 8 9 10 11 bitgo .coin('tdoge') .wallets() .generateWallet({ label: 'My Test Wallet', passphrase: 'secretpassphrase1a5df8380e0e30', }) .then(function (wallet) { // print the new wallet console.dir(wallet); });
1 2 3 4 5 6 7 8 LABEL="My Test Wallet" PASSPHRASE="secretpassphrase1a5df8380e0e30" curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -d "{ \"label\": \"$LABEL\", \"passphrase\": \"$PASSPHRASE\" }" \ http://$BITGO_EXPRESS_HOST:3080/api/v2/tdoge/wallet/generate

For Dogecoin, BitGo uses a 2-of-3 multisig P2SH scheme, with the keys in the order of User, Backup, and BitGo respectively.

You can create wallets with a single line of code using the BitGo SDK.

Creating addresses

1 2 3 4 5 6 7 8 9 10 11 bitgo .coin('tdoge') .wallets() .getWallet({ id: '585c51a5df8380e0e3082e46' }) .then(function (wallet) { return wallet.createAddress(); }) .then(function (newAddress) { // print new address details console.dir(newAddress); });
1 2 3 4 5 WALLET=585c51a5df8380e0e3082e46 curl -X POST \ -H "Authorization: Bearer $ACCESS_TOKEN" \ https://app.bitgo-test.com/api/v2/tdoge/wallet/$WALLET/address

Note: To view all supported address types and chain codes, see Address Types. Dogecoin defaults to chain code 0.

Balances

Dogecoin (DOGE) is the native asset of the Dogecoin blockchain. The base unit of Dogecoin is satoshi (or "sat"):

  • 1 satoshi is (10-8) or 0.00000001 Dogecoin.
  • 1 Dogecoin is (108) or 100000000 satoshis (100 million).

BitGo Dogecoin wallets can support maximum (2-63- 1) DOGE. Balances are supported only in string to ensure values do not exceed the programmable number limit: balanceString, confirmedBalanceString, and spendableBalanceString.