Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onit-labs/onit-contracts
Contracts for Onit smart account - A passkey controlled ERC-4337 Safe wallet
https://github.com/onit-labs/onit-contracts
erc-4337 foundry multisig passkey wallet
Last synced: about 2 months ago
JSON representation
Contracts for Onit smart account - A passkey controlled ERC-4337 Safe wallet
- Host: GitHub
- URL: https://github.com/onit-labs/onit-contracts
- Owner: onit-labs
- License: agpl-3.0
- Created: 2022-11-03T16:22:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-09T13:48:09.000Z (9 months ago)
- Last Synced: 2024-04-14T02:02:01.376Z (9 months ago)
- Topics: erc-4337, foundry, multisig, passkey, wallet
- Language: Solidity
- Homepage: https://onit.fun
- Size: 1.8 MB
- Stars: 16
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-account-abstraction - Forum Wallet
README
# Onit Contracts
Onit accounts are a fork of the [Base Smart Wallet](https://github.com/coinbase/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.
https://github.com/onit-labs/onit-contracts/assets/68289880/b74d5d6e-79e3-4b98-97d4-aca08f25144b
### **Chat focus**
Groups can discuss and execute trades directly from an [XMTP](https://xmtp.org/) group chat
https://github.com/onit-labs/onit-contracts/assets/68289880/475d865e-a1ba-4d6f-a27e-68373df5a543
### **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](https://sepolia.basescan.org/address/0xEf1D15eb2252d5E6b8450c54eC312f572687eE98#code) | Smart wallet with EOA or passkey owners |
| Onit Account Factory | [0xB56e5DD499d6f873225289A451DeF38FE47adc84](https://sepolia.basescan.org/address/0xB56e5DD499d6f873225289A451DeF38FE47adc84#code) | Factory for Onit Accounts |