Catalog npm
PACKAGE EXPLORERView in registry

0xsequence

npm

Sequence: a modular web3 stack and smart wallet for Ethereum chains

Versions collected612
Direct dependencies27From release 2.3.47
Last observed20 Oct, 17:53 UTC

README

Current package documentation

0xsequence

Install

npm install 0xsequence ethers

or

pnpm install 0xsequence ethers

or

yarn add 0xsequence ethers

Development Workflow

Sequence is a critical piece of software and any change should be delivered via a TDD (test-driven development) workflow.

As well, sequence.js's monorepo tooling is setup with preconstruct, which links all sub-packages together so it feels like a single program and is easy to work with. Please run pnpm dev in the root of sequence.js/ folder to ensure the monorepo is in 'dev-mode'.

Second, you can run the test suite directly from console with a single pnpm test, or you can boot up the Typescript compiling server (pnpm test:server) and ethereum test node (pnpm start:hardhat and pnpm start:hardhat2) manually in separate terminals, and then run a specific test directly from your browser instance. We recommend running the test stack separately and running specific browser tests manually during development. See here for recommended setup.

Running E2E Tests

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

You can view tests running directly from the browser directly, or from the cli which will communicate to the headless browser behind the scenes. See below. Please note, for an improved development workflow we highly recommend to view your tests running from the browser as its more clear and better experience.

From Browser

  1. pnpm test:server -- in one terminal, to start the webpack server compiling typescript
  2. pnpm start:hardhat -- in a second terminal, to start hardhat local ethereum test node
  3. pnpm start:hardhat2 -- (2nd chain) in a third 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
  5. open your browser console so you can see the tests running and their results.

Finally, if you'd like to run only a specific test case, either add a temporary "return" statement following the last test case, so you will preempt the runner after a certain test case.

As well, since you have all the services running in terminals, you can also execute commands via the cli by calling test:run, which is similar to step 4 above, but executing all tests from the terminal. There is also the test:only command if you'd like to execute a specific test from ./tests/browser/*.spec.ts file, ie. pnpm test:only window-transport.

From CLI

With a single command, you can spin up the testing stack and execute tests:

pnpm test

This is useful for a sanity check to ensure tests pass, or using it with the CI. However, if you're developing on sequence.js, its highly recommended you follow the development workflow instructions.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 612

Collected releases
VersionPublishedDirect dependenciesOpen version
2.0.129 Oct 202427
0.0.0-202410071549317 Oct 202427
2.0.112 Oct 202427
2.0.1026 Sept 202427
2.0.924 Sept 202427
0.0.0-2024092313560223 Sept 202427
2.0.819 Sept 202427
2.0.718 Sept 202427
2.0.613 Sept 202427
2.0.512 Sept 202427
2.0.411 Sept 202427
2.0.311 Sept 202427
0.0.0-2024091115514911 Sept 202427
2.0.210 Sept 202427
2.0.14 Sept 202427
0.0.0-202409031952463 Sept 202427
0.0.0-202409031831503 Sept 202427
0.0.0-2024082918304929 Aug 202427
2.0.026 Aug 202427
1.10.1526 Aug 202428

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xsequence/sequence.js

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:52 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:96b32b97025d9ebf34c7ff1c869464132b5efac49900e0c7a444968ce0834a24