@gemini-wallet/contract
v0.1.2
Published
**Repository for Gemini smart wallet contracts**
Readme
Gemini Smart wallet contracts
Repository for Gemini smart wallet contracts
Local Setup
cd packages/contractInstall Foundry via Foundryup
$ curl -L https://foundry.paradigm.xyz | bash
$ foundryup- Run Setup
$ npm run init- Select the
foundry.tomlas Soldeer configuration file.
Build
$ npm run build:contractDeploy
To deploy your own version of the contract factory
- Create a
.envfile in the root of the package (i.e./packages/contract) - Copy the contents of
.env.exampleto.env - Update private key and factory owner to your own private key and EOA
- Source the
.envconfig 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_URLNOTES:
- 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
