Dogan Profile picture
Mar 26 9 tweets 5 min read
Introducing Opclave: An Op Stack chain that enables to turn iPhone's into a hardware wallet with fully Account Abstraction support.
ethglobal.com/showcase/opcla…
In Apple Slicon, there is one processor that has abstracted from other components of the phone: Secure Enclave. Secure enclave is designed to protect the users keys and sensitive data which can be reached by only biometric identification (Face ID - Touch ID)
So, we have a fully abstracted TEE in our phones. If we can use it for Private Key storing, that can improve our mobile wallet security level nearly to hardware wallet.
But we have a problem: The Secure Enclave only supports the “secp256r1 curve”, whereas Ethereum supports the “secp256k1 curve”. So, we needed some custom solutions to implement Apple signatures to blockchain.
We could write a solidity verifier for secp256r1 but this verifier consumes too much gas. So we decided to configure the Op Stack and implemented a precompile verifier for secp256r1. Precompile implementation helps us to prove the ownership of the user account.
So we have a fully secure mobile wallet but we still have lots of problem that makes the UX poor. For this reason, we've implemented various Account Abstraction features such as Paymasters, Social Recovery, Daily spend limits.
Here is the summary of what we've built for this hackaton. User sign the message with their face id, than the bundler takes the UserOperation and precompile verifier verifies the transaction's validity.
So we have a fully Secure Enclave and Account Abstraction support in OpClave
We also have a PoC demo video live and absolutely all of our codes are open sourced! We are discussing for our future as we want to improve our project with new Account Abstraction features and supporting with new chains that have protocol level AA support
ethglobal.com/showcase/opcla…
We, Opclave team, had so much fun while developing the Opclave. We want to take this PoC to the next levelop and develop it for the mainnet.

Developing a wallet is such a hard process but let's see what this hackathon will bring us.
@ulerdogan @0xTahos @zetsuboii_ @thebuzagi

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Dogan

Dogan Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(