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

@vitriollabs/immutable-deployment-factory

v0.1.1

Published

Deterministic omni-chain smart contract deployments

Downloads

8

Readme


Usage:

The following functions are available to based on hash and deployment method (create2/3)

  • findCreate[#]Address - find contract deployment address based on salt
  • safeCreate[#]Address - perform contract deployment based on salt
function safeCreate2(bytes32 salt, bytes calldata initializationCode) returns (address deploymentAddress);
function findCreate2Address(bytes32 salt, bytes calldata initCode) returns (address deploymentAddress);
function findCreate2AddressViaHash(bytes32 salt, bytes32 initCodeHash) returns (address deploymentAddress);

function safeCreate3(bytes32 salt, bytes calldata initializationCode) returns (address deploymentAddress);
function findCreate3Address(bytes32 salt) returns (address deploymentAddress);

Note: create2 deployment addresses are influenced by the deploying contract's bytecode

Deployment:

The ImmutableDeploymentFactory has been deployed to 0x0000086e1910D5977302116fC27934DC0254266C on the following networks:

The ImmutableDeploymentFactory was initially deployed using Nick's method for keyless contract deployments.

You can deploy a copy of the factory to any EVM compatible chain by:

  1. Funding the deployment address 0x0D6470aED3287d05dF6cE19Ba4fab50852a49b5e with 0.07 chain-currency (possibly with additional chain fees ex: L1 fees on Optimism)
  2. Broadcast signedTx from keylessDeployment.json when gas is less than 100 gwei. You MUST fund the account prior to broadcasting the transaction.

Some web3 providers filter out Type-0 transactions (Ethereum legacy transactions), which are used here for omni-chain deployment. We had success using the Alchemy Sandbox to broadcast the deployment transactions.

Authors / Mentions

This repo was created by Cameron White (Slvrfn) of Vitriol Labs, but would not have been possible without the contributions of:

Contributing

Contributions are welcome, please review CONTRIBUTIONS for more details.

License

The files contained therein are licensed under The MIT License (MIT). See the LICENSE file for more details.

Disclaimer

Please review the DISCLAIMER for more details.


Donations (beermoney):

  • Eth: vitriollabs.eth or 0xFe9fe85c7E894917B5a42656548a9D143f96f12E on any EVM chain.
  • Btc: bc1qwf9xndxfwhfuul93seaq603xkgr64cwkc4d4dd