Giter Site home page Giter Site logo

bitcoin-wallet-standard's Introduction

Bitcoin Wallet Standard

This repo contains Bitcoin-specific extensions to the Wallet Standard.

If you have a wallet and want to implement this, please see the Wallet Standard for Wallets guide.

This is a simple monorepo template with some specific design goals:

  • Latest TypeScript version
  • Fast, incremental dependency updates and builds
  • No package bundler
  • Watch mode works
  • ESM and CJS work (with distinct build outputs)
  • Vanilla TS and React packages work
  • Create React App works* (with hot module reloading of the entire workspace)
  • Parcel works (with HMR)

* Create React App, which uses Webpack 5, can't resolve ES modules without .mjs file extensions by default, so react-app-rewired is minimally used to configure Webpack to do this.

Prerequisites

  • Node 16+
  • PNPM

If you have Node 16+, you can activate PNPM with Corepack:

corepack enable
corepack prepare pnpm@`npm info pnpm --json | jq -r .version` --activate

Corepack requires a version to enable, so if you don't have jq installed, you can install it, or just manually get the current version of pnpm with npm info pnpm and use it like this:

corepack prepare [email protected] --activate

Setup

pnpm install

Build

Run this to build all your workspace packages.

pnpm build

This will build workspace packages that use tsc for compilation first, then everything else.

Watch

Run this to build and watch workspace packages that use tsc for compilation.

pnpm watch

Other packages can build and run with their own tools (like CRA's react-scripts commands).

bitcoin-wallet-standard's People

Contributors

bulgakovk avatar olistic avatar tian000 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.