Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tallyxyz/factory

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tallyxyz/factory

A package that contains the logic that handles Tally Factory and Implementations Manager contracts.

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

Tally Factory

This package provides a factory contract for creating clones of a given implementation.

Factory Contract

The factory contract is responsible for creating clones of a given implementation contract.

The factory contract allows for the storage and update of the implementation address, cloning of the implementation contract using a deterministic address, initialization of the cloned contract with provided data, and prediction of the address of a clone created with a specific implementation and salt.

Usage

To use the Tally Factory, follow these steps:

  1. Install the package by running npm install tally-factory.

  2. Import the factory module into your code:

    import "@tallyxyz/tally-factory/contracts/factory/Factory.sol";
    

Deploy

To deploy it you have to run the following:

# run all deploy scripts in the deploy folder
npx hardhat deploy
# just implementation manager
npx hardhat deploy --tags ImplementationManager
# just MockToken
npx hardhat deploy --tags MockToken
# just MockFactory
npx hardhat deploy --tags MockFactory

License

This package is licensed under the MIT License.

Keywords

FAQs

Package last updated on 29 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc