Catalog npm
PACKAGE EXPLORERView in registry

@0x/neon-router

npm

0x API /swap order router

Versions collected13
Direct dependencies13From release 0.4.0
Last observed20 Oct, 22:28 UTC

README

Current package documentation

Neon bindings for 0x API Router

For more information about 0x API see https://0x.org/api.

Developers

Test

cargo test
npm run build
npm run test

Plotting liquidity curves for local development

When building the module with the plots feature enabled, the router will create a ./plots folder relative to the folder it is executed from and output plots of the curves for every sampled source.

Building with all optional features enabled

All optional features can be enabled by building with

npm run build:all_features

Publishing the package

Production npm publish

  1. Bump the version appropriately in the package.json, commit with the message [publish binary] and push to the remote. An action will automatically build the binaries and upload them to S3
  2. Publish the new version to npm with npm run publish:npm

Private gitpkg publish

  1. Bump the version by running npm run publish:private:bump_version, commit with the message [publish binary] and push to the remote. An action will automatically build the binaries and upload them to S3
  2. Publish the package to gitpkg by running npm run publish:private
  3. See Quip doc about how to use gitpkg published packages

Developing with 0x API locally

You can develop neon-router directly towards you local 0x API instance, but it requires a bit of setup

  1. In neon-router run yarn link
  2. In neon-router run npm run build or npm run build:all_features
  3. In asset-swapper run yarn link "@0x/neon-router" && yarn build
  4. In 0x-api run yarn link "@0x/asset-swapper"
  5. You can now make changes to the router, rebuild it, then restart 0x API to use the updated version

Downloads & popularity

Awaiting observations

No metric observations yet

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

Versions 13

Collected releases
VersionPublishedDirect dependenciesOpen version
0.4.0Registry latest23 May 202313
0.3.59 Mar 202213
0.3.424 Feb 202213
0.3.323 Feb 202213
0.3.222 Feb 202212
0.3.127 Dec 202112
0.3.022 Dec 202112
0.2.114 Oct 202112
0.2.014 Oct 202112
0.1.322 Sept 202112
0.1.221 Sept 202112
0.1.121 Sept 202112
0.1.021 Sept 202112

Package advisories

0
No matching advisories collected

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

Repository

PENDING
0xproject/router

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:28 UTC

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

Record identity

package:f7e35ed4eb2b60cb76a1550376ad0d14ca2cd934d96892f2b2d3e3799237abc6