npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

web3sdks

v1.0.2

Published

The web3sdks CLI is your one-stop-shop for publishing custom contracts for your team or the world to use. The CLI uploads all necessary data to decentralized storage and makes it available to deploy via the web3sdks sdk or web3sdks dashboard.

Downloads

13

Readme

Getting started

The web3sdks CLI is your one-stop-shop for publishing custom contracts for your team or the world to use. The CLI uploads all necessary data to decentralized storage and makes it available to deploy via the web3sdks sdk or web3sdks dashboard.

This brings all the capabilities of web3sdks to your own custom contracts.

Deploying your contract

npx web3sdks@latest deploy

This command will:

  • auto-detect any contracts in your project
  • compile your project
  • Upload ABIs to IPFS
  • Open the deploy flow in your web3sdks dashboard in a browser

From the web3sdks dashboard, you can review and deploy your contracts on any supported EVM chain.

Deploying contracts this way gives you access to:

  • auto generated SDKs for react, node, python, go
  • dashboards to manage, monitor and interact with your contracts

Releasing your contract

npx web3sdks@latest release

Creates an official release of your contract, along with:

  • author attribution
  • contract information
  • instructions on how to use and what it's for
  • versioning
  • release notes

Creating releases this way gives you shareable URL to let others to deploy your contracts in one click. It lets you manage released versions and get attribution for deployed contracts. Contract releases are registered on-chain (Polygon) and IPFS, for free (gasless).

Deploying released contracts give deployers access to automatic SDKs to integrate into their app and dashboards to manage and monitor the deployed contracts.

Detecting contract extensions

npx web3sdks@latest detect

As you're developing your contracts, you may want to implement Extensions to unlock functionality on the SDKs (ie. nft minting with automatic upload to IPFS) and the dashboard (ie. generated UI to manage permissions). This command will show what extensions were detected on your contract, unlocking the corresponding functionality on the SDKs and dashboard.


Global installation

We recommend using npx to always get the latest version. Alternatively, you can install the CLI as a global command on your machine:

npm i -g @web3sdks/cli

Supported projects

To publish, you need to be in a directory that contains a project which the CLI is compatible with. The projects we support so far:

  • hardhat
  • forge
  • truffle
  • solc

Running the examples

Clone the repo and run this command after installing the CLI tool:

$ cd examples/hardhat
$ npx web3sdks@latest release

Local Development

The simplest way to work on the CLI locally is to:

  1. Install the package locally
  2. Run the build:watch command to compile any changes in realtime
$ npm install -g ./
$ yarn run build:watch