Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/balmy-protocol/deterministic-factory
https://github.com/balmy-protocol/deterministic-factory
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/balmy-protocol/deterministic-factory
- Owner: Balmy-protocol
- License: agpl-3.0
- Created: 2022-05-02T18:43:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-27T23:34:55.000Z (10 months ago)
- Last Synced: 2024-11-10T23:59:12.179Z (7 days ago)
- Language: TypeScript
- Size: 1.05 MB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```