Catalog npm
Back to packageRELEASE DETAILS

0.43.23

npm

0xsequence

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

Published27 Mar 2023
Direct dependencies24
Transitive dependenciesNot calculated

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.

Declared dependencies 25

Native requirements
24 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0xsequence/abi
Environment
{
  "local_name": "@0xsequence/abi",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/api
Environment
{
  "local_name": "@0xsequence/api",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/auth
Environment
{
  "local_name": "@0xsequence/auth",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/guard
Environment
{
  "local_name": "@0xsequence/guard",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/utils
Environment
{
  "local_name": "@0xsequence/utils",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/config
Environment
{
  "local_name": "@0xsequence/config",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/wallet
Environment
{
  "local_name": "@0xsequence/wallet",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/indexer
Environment
{
  "local_name": "@0xsequence/indexer",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/network
Environment
{
  "local_name": "@0xsequence/network",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/relayer
Environment
{
  "local_name": "@0xsequence/relayer",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/metadata
Environment
{
  "local_name": "@0xsequence/metadata",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/provider
Environment
{
  "local_name": "@0xsequence/provider",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/multicall
Environment
{
  "local_name": "@0xsequence/multicall",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
@0xsequence/transactions
Environment
{
  "local_name": "@0xsequence/transactions",
  "alias": false,
  "peer_metadata": null
}
^0.43.23runtime
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
^5.7.2development
ganache
Environment
{
  "local_name": "ganache",
  "alias": false,
  "peer_metadata": null
}
^7.5.0development
hardhat
Environment
{
  "local_name": "hardhat",
  "alias": false,
  "peer_metadata": null
}
^2.12.2development
webpack
Environment
{
  "local_name": "webpack",
  "alias": false,
  "peer_metadata": null
}
^5.65.0development
webpack-cli
Environment
{
  "local_name": "webpack-cli",
  "alias": false,
  "peer_metadata": null
}
^4.6.0development
babel-loader
Environment
{
  "local_name": "babel-loader",
  "alias": false,
  "peer_metadata": null
}
^9.1.0development
webpack-dev-server
Environment
{
  "local_name": "webpack-dev-server",
  "alias": false,
  "peer_metadata": null
}
^3.11.2development
html-webpack-plugin
Environment
{
  "local_name": "html-webpack-plugin",
  "alias": false,
  "peer_metadata": null
}
^5.3.1development
@0xsequence/wallet-contracts
Environment
{
  "local_name": "@0xsequence/wallet-contracts",
  "alias": false,
  "peer_metadata": null
}
1.10.0development
@babel/plugin-transform-runtime
Environment
{
  "local_name": "@babel/plugin-transform-runtime",
  "alias": false,
  "peer_metadata": null
}
^7.19.6development
ethers
Environment
{
  "local_name": "ethers",
  "alias": false,
  "peer_metadata": null
}
>=5.5 < 6peer

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "41880d936b3e11145fea547f903f671f42eaaf92",
  "tarball": "https://registry.npmjs.org/0xsequence/-/0xsequence-0.43.23.tgz",
  "fileCount": 40,
  "integrity": "sha512-4c4rlQVQRmsDWxeO7pFUgFintynw6tSuLvzAqe6Bh4tF0c2aC7EyKwPRd5sCG1mJlfwUGujFqSAsWxZ/f27j1A==",
  "signatures": [
    {
      "sig": "MEQCIDqi/NTQMW2jP0cACkx6lYOoiv1Mli3zjOqvzzjWpeuSAiA1ysVvKmKYdvV3OSXOsVlt744W+TRFm2Ohh9pgIqtelg==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 1079119,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIffiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqfIQ/+PYugEjTt/4DRQp1VEtUvrjQ//BiL/ro9F+lTu8SQtvDzL7da\r\nTrqyAdgMI3tmFn8BuPmVjjpe/uAvxfjrU6pL0UplJ4XqKmWA8LZ2ZUru/U/T\r\nau4venX64ZU+FPrdmQYaQwITDFYV647ttEqDyd9wrpaMtqxUXo2JVjzyLES1\r\nZe0fp2WC7KqM9hl059G2aOsQpT/tfh9bXwbee7n7lH7ddVj5T05hxr0Ex3iK\r\npMyPrglL3Hlkht9Ch9Z1+9jSShhLmxZVBp4C3htbWAmnpKB7TFQHs1pYLx+0\r\nzj+TZmBeSTcSAlrSPT3bqKSIjbj4UhhwiXMqBbe046lxZ3FCtqiL2P8pAEqM\r\nsjEHkSm6xYHGucviK6Xm37W8YkFVFlTasElxkXl40YjlMEwyVbzurW6RELyH\r\nXfcS3TTt3szvfpgfLWmXPP+kb/aE9HtAWEuR4z7Gdxm+mN2niyLhRoaBXFNY\r\nS8BCGxtEXNrkndQ92S89/cH7xL2ahnp8izJqjiIX4CCszG/dK1QpKNTeU2lN\r\npZFUMUI0PiJvBm//i5D5NTRBz/a2tMygWBuvVKxy7Z7yBYNLq9s9aRgHQkEn\r\n1xZs9nv/I+r+i4QrCAxDShwPrUbDfPPvDxXwL1cfOjFGWV0U6ChqQZA1GQde\r\ndGE6q2eRyEe63eWcOQTYDnLb/h+JhpcxOzw=\r\n=8Vu/\r\n-----END PGP SIGNATURE-----\r\n"
}

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_version:5ace978a705caa1f8c3faaabdbc4cf6e24526be6b50550fae15d17ccc5d052d2

Other collected versions

2.3.472 Oct2.3.4618 Sept2.3.4517 Sept2.3.442 Jun2.3.4324 Mar2.3.4223 MarView all collected versions →