🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@zoralabs/cointags-contracts

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zoralabs/cointags-contracts

## Deployment

0.1.2
latest
npm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

Cointags

Deployment

The CointagsFactory contract is deployed deterministically using a turnkey account. The deployment process uses a helper contract, DeterministicDeployerAndCaller.

Prerequisites

  • Ensure you have Forge installed.
  • Familiarity with turnkey accounts is recommended.

Setting up environment variables

In the packages/cointags directory:

  • Copy .env.example to .env
  • Populate the parameters in .env

Deploying the Cointags Factory

  • Deploy the CointagsFactory contract, you must pass the --ffi flag to enable calling an external script to sign the deployment with turnkey:
forge script script/Deploy.s.sol $(chains {chainName} --deploy) --broadcast --verify --ffi

where {chainName} is the emdash name of the chain you want to deploy on.

  • Verify the factory contract. Since it is deployed with create2, foundry won't always recognize the deployed contract; verification instructions will be printed out in the logs.

FAQs

Package last updated on 20 Dec 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