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

@hujw77/contracts

v0.1.20

Published

Sphinx contracts

Downloads

155

Readme

Sphinx: DevOps for Deployments

Sphinx is an automated smart contract deployment platform for Foundry. Key features include gasless deployments, one-click multi-chain deployments, and deployments in CI. You can integrate Sphinx with minimal changes to your existing Forge scripts.

Deployments with Sphinx are a three-step process:

  1. Propose: Initiate the deployment from your command line or CI process by submitting the transactions to Sphinx's backend.
  2. Approve: Your Gnosis Safe owner(s) approve the deployment by signing a single meta transaction in the Sphinx UI.
  3. Execute: Sphinx's backend trustlessly executes the deployment through your Gnosis Safe.

Key features:

  • Gasless Deployments: You don't need to worry about securing a funded private key or getting native gas tokens on any chain. We'll bill you in fiat after your deployment is finished. Deployments on testnets are completely free.

  • One-Click Multichain Deployments: Approve deployments across dozens of networks by signing a single meta transaction. Sphinx's backend will deploy on each network in parallel and verify your smart contracts on block explorers.

  • Deployments in CI: Eliminate human error and improve security by gaslessly triggering deployments from your CI process. You can always propose from your local machine if you'd prefer.

  • Deploy via Gnosis Safe: The Sphinx protocol is a Gnosis Safe Module designed for deployments. With the Sphinx Module, your Gnosis Safe owners can approve multi-chain deployments by signing a single meta transaction. Sphinx will deploy a Gnosis Safe on your behalf at a consistent address using CREATE2.

  • Trustless: It's impossible to execute anything your Gnosis Safe owners have not explicitly approved. Spearbit has audited our system; see our audit report here.

  • Compatible with Forge Scripts: You can integrate Sphinx by adding a few lines of code to your existing Forge scripts.

  • Deployment Artifact Management: Sphinx generates and stores deployment artifacts, which can be retrieved at any time.

  • Contract Verification: Sphinx automatically verifies contracts on block explorers with no configuration necessary.

  • No Lock-In: You can execute deployments from your local machine without using the Sphinx DevOps Platform. These deployments are executed in the exact same manner as they would be executed with the DevOps Platform, including identical contract addresses. This includes networks that the DevOps Platform doesn't currently support.

Request Access

Sphinx is currently invite-only. Request access on our website.

Pricing

Pricing for the DevOps Platform is on the website's landing page.

Sphinx does not charge for the Deploy CLI Command, which executes the deployment from your local machine without using the DevOps Platform. However, since it doesn't use the DevOps Platform, you'll need native gas tokens for the deployment.

Demo

A demo of the DevOps Platform is on the website's landing page.

Documentation

Getting Started

References

Specifications

Security

Current Limitations

  • You cannot deploy libraries.
  • You can only use the Deploy CLI Command on live networks if your Gnosis Safe has a single owner. (Deployments with the DevOps Platform support an arbitrary number of owners).

Coming Soon

  • Use existing Gnosis Safes with Sphinx.
  • Pay for deployments with USDC on the DevOps Platform.

Please feel free to reach out to us in our Discord to request a feature!

Networks Supported by the DevOps Platform

Note: You can use the Deploy CLI Command to deploy on networks that the DevOps Platform doesn't currently support.

  • Ethereum
  • BNB Smart Chain (aka BSC)
  • Gnosis Chain
  • Base
  • Scroll
  • Mantle
  • Darwinia
  • Crab
  • Astar zkEVM
  • Arbitrum
  • Blast
  • Polygon
  • Moonbeam

Test networks:

  • Ethereum Sepolia
  • Arbitrum Sepolia
  • Darwinia Pangolin
  • Tanssi Pangoro
  • Taiko Hekla

More networks are on the way! Please reach out to us in our Discord if there are networks you'd like us to add.

Contributors

@rpate97
@sam-goldman
@smartcontracts
Wonderland

Contributing

Contributions to Sphinx are greatly appreciated! Please read our contributing guide to get started. Then, check out the list of Good First Issues. Let us know if you have any questions!

Reach Out

If you have any questions or feature requests, send us a message in our Discord!

License

We use the Gnosis Safe contracts as a library. These contracts are licensed under LGPL v3. You can access them in Gnosis Safe's repository.

All other code in this repository is licensed under MIT.