Skip to content

Contracts for Onit smart account - A passkey controlled ERC-4337 Safe wallet

License

Notifications You must be signed in to change notification settings

onit-labs/onit-contracts

Repository files navigation

Onit Contracts

Onit accounts are a fork of the Base Smart Wallet. They are deigned to easily onboard new users with passkeys, and have been modified to allow the account to easily work as an owner on a Safe.

Highlights

Passkeys

New users create a passkey on their phone (currently only available on iOS, requiring >v15) using FaceID or TouchID. This is securely stored and is used to generate signatures for transactions. The P-256 signature is verified on-chain on the Onit contract.

This means no more seed phrases, you can add new memebrs to your Safe by sharing a link, the new member does not need to create an EOA account to take part.

onboarding-passkey-short.mp4

Chat focus

Groups can discuss and execute trades directly from an XMTP group chat

wallet-tabs-short.mp4

Extensions

Onit groups will be extendedable with additional functionality, such as Fundraise to structure funding rounds, or Withdrawals to allow members to quickly withdraw their share from the group treasury. Other custom extensions for managing assets are in development, and groups can even develop their own extensions.

Core Contracts

Contract Address Description
Onit Account 0xEf1D15eb2252d5E6b8450c54eC312f572687eE98 Smart wallet with EOA or passkey owners
Onit Account Factory 0xB56e5DD499d6f873225289A451DeF38FE47adc84 Factory for Onit Accounts