Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: force deploy of newly minted smart wallet code to blockchain #85

Open
Ncastro878 opened this issue Aug 20, 2024 · 2 comments

Comments

@Ncastro878
Copy link

Ncastro878 commented Aug 20, 2024

I am looking to integrate the soinbase smart wallet into my app. We primarily use the USDC token and one feature used is the permit() function with an offchain gassless signature that authorizes an allowance of usdc for another address; the smart wallet owner van sign the permit message and authorize another address to spend their usdc.

However, it seems the USDC code only accepts the signature from smart wallets that have deployed their code to the blockchain, not newly minted predeployed wallets. I have raised the issue here: circlefin/stablecoin-evm#470

So in order for a smart wallet to sign a permit signature for usdc they must initiate a transaction that will trigger the deployment of the wallet code to the blockchain.

Perhaps there already exists a way to force a smart wallet to deploy to its code, but if not I think this would be a helpful feature for edge cases like this one.

I can elaborate further if needed.

@Ncastro878 Ncastro878 changed the title Feature request: force deploy of smart wallet code to blockchain Feature request: force deploy of newly minted smart wallet code to blockchain Aug 20, 2024
@wilsoncusack
Copy link
Contributor

Hey @Ncastro878, this makes sense. Are you using the Coinbase Wallet SDK?

@Ncastro878
Copy link
Author

@wilsoncusack I am not. I am using web3modal to sign users in, and that allows users to pick between coinbase mobile app or coinbase smart wallet for connecting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants