notemine mines nostr notes, is written in rust, targets web and compiles to wasm. Variable difficulty and realtime hashrate. There's some demos.
@notemine/core
- It is in here you find therust
source for the moner. Build step generates JS Bindings, type declarations and wasm file viawasm-bindgen
. The base of all packages in this monorepo.@notemine/wrapper
- A user-friendly wrapper for@notemine/core
that greatly simplifies usage in modern stacks and deployments with modern bundlers. Provides observables, manages workers, tracks internal state and bundles wasm as inline base64 within inline web-workers for hassle-free use in modern apps targeted for the browser.@notemine/svelte
[coming soon] - Library optimized for Svelte that exports stores and components for hassle-free use in svelte projects.@notemine/reactjs
[coming soon] - Library optimized for ReactJS that exports stores and components for hassle-free use in svelte projects.
@notemine/vanilla-js-demo
- Demo of Notemine written with vanilla Javascript, HTML and CSS that implements@notemine/core
. No bundlers.@notemine/svelte-demo
- Vanilla JS Demo Ported to Svelte that implements@notemine/wrapper
(note: future version will implement@notemine/svelte
)
@notemine
monorepo presently uses yarn workspaces
without any monorepo toolkit (pending). Recommended to use yarn v2
until monorepo is fully configured.
yarn install
Use workspace commands:
yarn workspace @notemine/wrapper ...