JSPM

0xsequence

0.8.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3075
  • Score
    100M100P100Q120689F
  • License Apache-2.0

Sequence: simple & powerful Ethereum development library and Web-based smart wallet

Package Exports

  • 0xsequence

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (0xsequence) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

0xsequence

Install

yarn add 0xsequence

Running Browser E2E Tests

The 0xsequence top-level package also contains e2e tests which run in a headless chrome browser.

You can run the test suite directly from console with a single yarn test, or you can boot up the typescript compiling server (yarn test:server) and ethereum test node (yarn start:hardhat) manually in separate terminals, and then run a specific test directly from your browser instance by visiting the path:

From CLI

yarn test

From Browser

  1. yarn test:server -- in one terminal, to start the webpack server compiling typescript
  2. yarn start:hardhat -- in another terminal, to start hardhat local ethereum test node
  3. yarn start:hardhat2 -- (2nd chain) in another terminal, to start hardhat2 local ethereum test node
  4. open browser to http://localhost:9999/{browser-test-dir}/{test-filename}.test.html for example, http://localhost:9999/wallet-provider/dapp.test.html