Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/balmy-protocol/deterministic-factory


https://github.com/balmy-protocol/deterministic-factory

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# Deterministic Factory

This is an open factory of smart contracts with deterministic addresses. Based on [t11s](https://github.com/transmissions11) awesome [CREATE3 library](https://github.com/Rari-Capital/solmate/blob/main/src/utils/CREATE3.sol).

## But why?

We all love having the same address for our smart contracts across different chains. This is a tool for that.

## Usage

You can see how it can be used under the [end to end tests](./test/e2e).

## Package

The package will contain:

- Compatible deployments for [hardhat-deploy]() plugin under the `@mean-finance/deterministic-factory/deployments` folder.
- Typescript smart contract typings under `@mean-finance/deterministic-factory/typechained`

## Installation

To install with [**Hardhat**](https://github.com/nomiclabs/hardhat) or [**Truffle**](https://github.com/trufflesuite/truffle):

```sh
npm install @mean-finance/deterministic-factory
```