Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
therealharpaljadeja authored Oct 2, 2023
1 parent abed0e0 commit d0ab951
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,30 +62,6 @@ The above will open up the site at localhost `8081` port
- Replace the `TOKEN_CONTRACT` value inside `chains` object in `/packages/site/pages/index.tsx` file (make sure to do it under the right chain)
- Then click the button and it will do a simple ERC20 transfer using UserOperations!

#### Bounties

##### To Infura and Beyond

I am using Infura's Linea testnet RPC [here](https://github.com/therealharpaljadeja/aa-snap/blob/a183b184b3e19af2e842238b894daf1a5be17f1d/packages/snap/src/keyring.ts#L44), [here](https://github.com/therealharpaljadeja/aa-snap/blob/a183b184b3e19af2e842238b894daf1a5be17f1d/packages/snap/src/keyring.ts#L214) and [here](https://github.com/therealharpaljadeja/aa-snap/blob/a183b184b3e19af2e842238b894daf1a5be17f1d/packages/site/src/pages/index.tsx#L56) to query the blockchain and make read calls, basically when creating Keyring accounts I need to read from the Entrypoint the counterfactual address of the Smart Contract Wallet which will in-turn be deployed on first transaction!

##### IYKYK Linea edition

- I am using [Thirdweb's Account Factory on Linea Testnet](https://thirdweb.com/linea-testnet/0xb68E99D84aCb7C34282086B44bE5105dE7c25496) and Pimlico VerifyingPaymaster on Linea Testnet.
- All the Smart Contract Wallets created using the Snap get deployed on Linea testnet [here](https://goerli.lineascan.build/address/0x92DE48F5896ffb67395832d335999B99F2Cd585F#code) is one example.
- To demo ERC20 transfer on Linea Testnet I deployed a [token](https://thirdweb.com/linea-testnet/0x89274A233b7A48047553408b2aFe1e2815234D26/tokens) on Linea Testnet

##### OH SNAP!

- Instructions above!

##### Make a Dapp That Slaps, No Cap

- The project basically is a Metamask Account Abstraction Snap which aims to improve UX, what I envision is that soon many dApps would want to use AA features.
- But, if every dApp uses a different Account Factory then the user will end up having different accounts for every website!
- This will make their lives even worse, so instead of AA features being on the dApp-side this project brings them on the Wallet-side!
- Only one account needed (more can be created) and can be connected to dApps who want to provide AA features all they need to do is use the right JSON-RPC methods!
- Proof of Consensys products used is above!

##### Future plans for the project

- I wasn't able to intercept `eth_sendTransaction` if that can be done, its endgame!
Expand Down

0 comments on commit d0ab951

Please sign in to comment.