0.4.0-alpha1 • Published 6 years ago

op-wallet v0.4.0-alpha1

Weekly downloads
1
License
GPL-3.0
Repository
gitlab
Last release
6 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

6 years ago

0.3.4

6 years ago

0.3.3-alpha5

6 years ago

0.3.3-alpha4

6 years ago

0.3.3-alpha3

6 years ago

0.3.3-alpha2

6 years ago

0.3.3-alpha1

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0-alpha13

6 years ago

0.3.0-alpha11

6 years ago

0.3.0-alpha12

6 years ago

0.3.0-alpha10

6 years ago

0.3.0-alpha9

6 years ago

0.3.0-alpha8

6 years ago

0.3.0-alpha7

6 years ago

0.3.0-alpha6

6 years ago

0.3.0-alpha5

6 years ago

0.3.0-alpha4

6 years ago

0.3.0-alpha3

6 years ago

0.3.0-alpha2

6 years ago

0.3.0-alpha1

6 years ago

0.2.4-alpha1

6 years ago

0.2.3

6 years ago

0.2.2-alpha18

6 years ago

0.2.2-alpha17

6 years ago

0.2.2-alpha16

6 years ago

0.2.2-alpha15

6 years ago

0.2.2-alpha14

6 years ago

0.2.2-alpha13

6 years ago

0.2.2-alpha12

6 years ago

0.2.2-alpha11

6 years ago

0.2.2-alpha10

6 years ago

0.2.2-alpha9

6 years ago

0.2.2-alpha7

6 years ago

0.2.2-alpha8

6 years ago

0.2.2-alpha6

6 years ago

0.2.2-alpha5

6 years ago

0.2.2-alpha4

6 years ago

0.2.2-alpha3

6 years ago

0.2.2-alpha2

6 years ago

0.2.1

6 years ago

0.2.1-alpha1

6 years ago

0.2.2-alpha1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.6-alpha.15

6 years ago

0.0.7

6 years ago

0.0.8-alpha.1

6 years ago

0.0.6-alpha.14

6 years ago

0.0.6-alpha.13

6 years ago

0.0.6-alpha.12

6 years ago

0.0.6-alpha.11

6 years ago

0.0.6-alpha.10

6 years ago

0.0.6-alpha.9

6 years ago

0.0.6-alpha.8

6 years ago

0.0.6-alpha.7

6 years ago

0.0.6-alpha.6

6 years ago

0.0.6-alpha.5

6 years ago

0.0.6-alpha.4

6 years ago

0.0.6-alpha.2

6 years ago

0.0.6-alpha.1

6 years ago

0.0.6-alpha.0

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago