๐ซฑ๐ปโ๐ซฒ๐ผ Crypto account access control
Sign-in use case
About
- Accounts should follow the principle of least privilege (PoLP) to expose the least amount of data necessary.
- Tokens like NFTs are used for gated communities, products, and services.
- Storing valuable tokens on less secure hot wallets is risky.
- Storing valuable tokens on more secure cold wallets and multisig wallets is not easy to use.
- Aka account/wallet/token/app permissions/delegation
Assign access controls for sign-in
- Assign flexible and custom access to apps
- E.g. Allow a hot wallet to claim airdrops that are deposited into cold storage
- @DCInvestor 2022-12-20
- Alternative: Web and app based credential storage with cookies
Delegate Cash
delegate.cash
About
Delegation features
- Tokens like ERC-20, NFTs like ERC-721, and etc.
- Contracts like Uniswap and LensProtocol
- Wallet addresses
Networks
- Ethereum, Polygon, and Goerli (Compatible on all EVM protocols)
Implementation options
A. Smart contract
B. Javascript SDK/API
C. Integrate with a trusted provider who has integrated, e.g. A bridging service.
Steps to use
- From a secure wallet assign a hot wallet delegate.
a. Assign for all assets
b. Assign for a specific contract
c. Assign for a specific token
- The delegate has permission to use the assigned tokens, e.g, Sign-in, claim airdrops, and etc.
a. The delegate cannot move or access any other tokens or assets in the original secured wallet.
Architecture
- Uses singleton pattern.
- Integrations query the central registry rather than deploy their own.
- Requires that the smart contract interacting with the user wallet recognizes the Delegate.cash registry as a source of truth.
Opportunities
Open-source
Delegatable
delegatable.org
About
- Created by Dan Finlay, MetaMask Co-founder
- Contract based
- Access control features built into the contract rather than a contract needing to be updated in order to accept an outside registry.
- Uses off-chain signatures
- Open-source
Sismo
Sismo.io
About
- Maintains the privacy of connected accounts
- Compared to other contract and registry delegation strategies that potentially expose the account addresses.
- Open-source
- Compatible for EVM protocols
- Twitter: @Sismo_eth
Sign-in with Sismo (SIWS)
- 2 accounts create a Sismo vault
- Vaults store ZK badges
- Non-transferrable NFTs, aka Soulbound tokens (ERC-1155)
- Technically ERC-20 with badge balances
- Minted by a ZK attester smart contract
- Connect to the third-party service with the vault
- Transferring badges
- Can create new badges with the attester contract
Research
Warm
warm.xyz
About
- Registry-based (Similar to Delegate.cash)
- You can only delegate access to your cold wallet to a single hot wallet at a time: warm.xyz/faq > How do I use Warm?
Zodiac
gnosisguild.org
About
- Open protocols for DAOs and contract tools for programmable accounts
- Originally built by the Gnosis team and @gnosisGuild
Research to dos
Return on investment (ROI)
- Metric: How much USD value is secured with each access control solution?
- Opportunity size
- Project based on YoY user metrics (transaction volume, sign-ins, and etc.) of sign-in with Ethereum (SIWE) apps.
- Individuals
- Financial
- Social: Lens apps, Farcaster, Skiff, etc
- Top NFT projects
- Top games
- Organizations
- Total USD value of high-profile hacks in crypto, e.g. rekt.news/leaderboard.
Decentralization
- Which solutions are the most trustless? That is do they require trust in a third party for the off-chain transactions?
This information is not financial or technical advice. Always consult a financial professional and do your own research.