0.4.0-alpha1 • Published 4 years ago

op-wallet v0.4.0-alpha1

Weekly downloads
1
License
GPL-3.0
Repository
gitlab
Last release
4 years ago

op-wallet

Quickly write and deploy browser-based Bitcoin Cash apps with the op-wallet React library. It ships with several features designed to get your app's user interface out there quickly and painlessly.

  • basic wallet management
  • basic wallet user interface
  • the ability to run on testnet or mainnet based on configuration
  • integration with testnet and testnet faucets so that users of your app can get active quickly
  • nav bar user interface for included components and your own

See op-wallet-memo-demo for an example implementation.

To start your own project (assuming you have create-react-app installed - see here if you don't)...

  • npx create-react-app my-project-name --typescript
  • npm install op-wallet
  • add to src/index.tsx of project: import 'bootstrap/dist/css/bootstrap.min.css'
  • replace implementation of App function in App.tsx in created project with
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'
import { WalletPage, OpWalletFrame } from 'op-wallet'
...
...
const App = () => {
  return (
    <OpWalletFrame>
      <Router basename={process.env.PUBLIC_URL}>
        <Switch>
          <Route exact={true} path="/" component={WalletPage}/>
          <Route path="/crypto" component={WalletPage} />
        </Switch>
      </Router>
    </OpWalletFrame>
  )
}
  • npm run start

Using GitLab CI and Pages, it's simple to host your project in a repo, publish it as a static web app, and make it publicly or privately accessible.

0.4.0-alpha1

4 years ago

0.3.4

4 years ago

0.3.3-alpha5

4 years ago

0.3.3-alpha4

4 years ago

0.3.3-alpha3

4 years ago

0.3.3-alpha2

4 years ago

0.3.3-alpha1

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0-alpha13

4 years ago

0.3.0-alpha11

4 years ago

0.3.0-alpha12

4 years ago

0.3.0-alpha10

4 years ago

0.3.0-alpha9

4 years ago

0.3.0-alpha8

4 years ago

0.3.0-alpha7

4 years ago

0.3.0-alpha6

4 years ago

0.3.0-alpha5

4 years ago

0.3.0-alpha4

4 years ago

0.3.0-alpha3

4 years ago

0.3.0-alpha2

4 years ago

0.3.0-alpha1

4 years ago

0.2.4-alpha1

4 years ago

0.2.3

4 years ago

0.2.2-alpha18

4 years ago

0.2.2-alpha17

4 years ago

0.2.2-alpha16

4 years ago

0.2.2-alpha15

4 years ago

0.2.2-alpha14

4 years ago

0.2.2-alpha13

4 years ago

0.2.2-alpha12

4 years ago

0.2.2-alpha11

4 years ago

0.2.2-alpha10

4 years ago

0.2.2-alpha9

5 years ago

0.2.2-alpha7

5 years ago

0.2.2-alpha8

5 years ago

0.2.2-alpha6

5 years ago

0.2.2-alpha5

5 years ago

0.2.2-alpha4

5 years ago

0.2.2-alpha3

5 years ago

0.2.2-alpha2

5 years ago

0.2.1

5 years ago

0.2.1-alpha1

5 years ago

0.2.2-alpha1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.6-alpha.15

5 years ago

0.0.7

5 years ago

0.0.8-alpha.1

5 years ago

0.0.6-alpha.14

5 years ago

0.0.6-alpha.13

5 years ago

0.0.6-alpha.12

5 years ago

0.0.6-alpha.11

5 years ago

0.0.6-alpha.10

5 years ago

0.0.6-alpha.9

5 years ago

0.0.6-alpha.8

5 years ago

0.0.6-alpha.7

5 years ago

0.0.6-alpha.6

5 years ago

0.0.6-alpha.5

5 years ago

0.0.6-alpha.4

5 years ago

0.0.6-alpha.2

5 years ago

0.0.6-alpha.1

5 years ago

0.0.6-alpha.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago