Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@gemini-wallet/contract

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gemini-wallet/contract

**Repository for Gemini smart wallet contracts**

latest
npmnpm
Version
0.1.2
Version published
Maintainers
2
Created
Source

Gemini Smart wallet contracts

Repository for Gemini smart wallet contracts

Local Setup

  • cd packages/contract

  • Install Foundry via Foundryup

$  curl -L https://foundry.paradigm.xyz | bash
$  foundryup
  • Run Setup
$  npm run init
  • Select the foundry.toml as Soldeer configuration file.

Build

$ npm run build:contract

Deploy

To deploy your own version of the contract factory

  • Create a .env file in the root of the package (i.e. /packages/contract)
  • Copy the contents of .env.example to .env
  • Update private key and factory owner to your own private key and EOA
  • Source the .env config file
$ source .env
  • Compile and dryrun against a chain
$ npm run deploy:dryrun $RPC_URL
  • (If no error in previous steps) deploy and verify to a chain

You need to get etherscan api for the chain

$ npm run deploy $RPC_URL

NOTES:

  • You can only deploy the same set of contract factory once per account
  • Can deploy new set of factory if there are any changes in the factory

FAQs

Package last updated on 02 Sep 2025

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