Skip to content
DogeJS-DevPublic

About

A free watch-only Dogecoin portfolio: balances, history and an activity feed for any address, with CSV export. No keys, no account.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

DogeJS

DogeJS Watch

Follow any Dogecoin addresses without keys: balances, history and activity in one calm dashboard, with CSV export.

Live demo · Documentation · All DogeJS projects

The Watch dashboard with total balance, activity and addresses

What it does

  • Follows any Dogecoin addresses without keys: paste them, and see balances, history and a calm activity feed in one dashboard.
  • Draws a balance chart and a running total, and labels each address so you can tell them apart.
  • Exports a CSV for your records, with a date range and an optional fiat column.
  • Flags it when your servers disagree about an address.
  • Needs no account and no keys. It refuses private keys and recovery phrases if someone pastes one, and your list stays in this browser.

Try it

Open the live page and press Try the demo: https://dogejs.com/watch/

To host your own copy, build the page script and serve it with its HTML and CSS:

npm install && npm run build   # writes dist/watch.js

Screenshots

Start empty: add addresses, try the demo or import a list.

Start empty: add addresses, try the demo or import a list.

The demo: balances, a chart, addresses and an activity feed with confirmations.

The demo: balances, a chart, addresses and an activity feed with confirmations.

Install

Nothing is on npm yet. Clone the repository and build:

git clone https://github.com/DogeJS-Dev/watch.git
cd watch
npm install      # also installs core and backends from their git tags
npm run build    # dist/watch.js (the page) and dist/index.mjs (the helper library)

dist/watch.js is a self-contained script. The helper library has no DOM at import time:

import { generatePrivateKey, getPublicKey, p2pkhAddress, testnet } from '@dogejs/core';
import { parseAddressList } from '@dogejs/watch';

const mine = p2pkhAddress(getPublicKey(generatePrivateKey()), testnet);
const result = parseAddressList(`# my addresses\n${mine} Savings\nnot-an-address`);
console.log(result.lines.map((l) => `${l.status}${l.label ? ' (' + l.label + ')' : ''}`)); // [ 'ok (Savings)', 'invalid' ]

Money is always integer koinu (bigint); there is no floating-point money.

How it works

The page asks a server you choose for the history of each address (through backends) and computes balances and chart series itself. The server can see which addresses you look up, and it can report wrong data, so with several servers the page compares them. By default it can use the free public service for main network addresses (you can turn it off), a short list of community servers, and CoinGecko for a fiat rate; all of this is visible in Settings.

The source it shares with shop-mode and payment-links is vendored in shared/; the canonical copy is in payment-links. See shared/README.md.

Works with

Status

Version 0.2.0. It is not published to npm yet. It has had no external security review. It is tested with unit tests and in a headless browser against fake servers. It has not been run against a real Esplora or electrs-doge server (the community servers were unreachable during development), and nothing has been run against the real Dogecoin network. Balances are computed from the history a server reports, and a server can report wrong data. The free public service it uses for main network addresses (BlockCypher) is free and public, not run by DogeJS, and was built from captured responses; it has never been used with a real address.

Contributing

Bug reports, ideas and pull requests are welcome. Read the contributing guide first: small, tested, explained.

npm install
npm run build
npm run typecheck
npm test

Report a security problem privately to hello@dogejs.com, never in a public issue. See SECURITY.md.

The maintainers keep one combined development workspace for all DogeJS projects and publish each project from it as a repository of its own. An accepted pull request is applied there and appears here with the next release.

Licence

MIT, see LICENSE. Bundled third-party code, where there is any, is listed in THIRD_PARTY_LICENSES.

About

A free watch-only Dogecoin portfolio: balances, history and an activity feed for any address, with CSV export. No keys, no account.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages