Initial Starknet specification
What's this?
We (Steakwallet) want to allow users to connect to applications on Starknet via WalletConnect. This specification PR is the first step of many to make this a reality.
Reference links
Notes
- I did not define a specification for
starknet_addDeployTransactionbecause I believe wallets should be responsible for deploying contract wallets - We need an API for signing messages. I believe something like EIP-1271 should do the trick. Happy for someone from the Starknet team to provide guidance here
- Decide on if we want a
starknet_addInvokeTransactionmethod (omitting the signature field) for total parity that the wallet would simply sign and broadcast -
starknet_declareTransactionnot needed because it's related to contract deployment
Next steps
- [ ]
starknet_addInvokeTransactionis about to change (mid August) so we need to update this specification - [ ] Proof of concept in https://react-wallet.walletconnect.com and https://react-app.walletconnect.com/
- [ ] Implementation in
get-starknet-walletlibrary - [ ] Implementation in Steakwallet
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| walletconnect-docs | ✅ Ready (Inspect) | Visit Preview | Jun 24, 2022 at 10:54AM (UTC) |
Agree for the signing API. Currently all wallets implements a is_valid_signature that returns true or false.
It is on the Account interface so I guess it could be on the API too.
Did you create a post on chaman to discuss about it? https://community.starknet.io/
@AlexBHarley a year late - but it looks like we've added docs for Starknet: https://docs.walletconnect.com/2.0/advanced/rpc-reference/starknet-rpc
Is this PR good to close?
Closed as RPC specs moved to WalletConnect/walletconnect-specs