Open wa0x6e opened 1 month ago
It's ready on sx side, waiting for update on backend (sequencer) side to accept starknet addresses
I am trying to make this work via EthSig in Starknet, but it always fail with just undefined when trying to Follow a space with a starknet account.
If you are signed in using ArgentX (or Braavos, or any other Starknet wallet) you will get Starknet provider, starknet's EthereumSig
client is supposed to work with Ethereum provider (so you can vote with Ethereum wallet on Starknet spaces), for doing actions with Starknet provider we need to use StarknetSig
client (which I see has been updated now).
I am trying to make this work via EthSig in Starknet, but it always fail with just undefined when trying to Follow a space with a starknet account.
If you are signed in using ArgentX (or Braavos, or any other Starknet wallet) you will get Starknet provider, starknet's
EthereumSig
client is supposed to work with Ethereum provider (so you can vote with Ethereum wallet on Starknet spaces), for doing actions with Starknet provider we need to useStarknetSig
client (which I see has been updated now).
Yes, I just finally made it work with StarknetSig. A small thing I noticed is that there are no network switcher when the wallet is on the wrong network, and the signing will fail with "Invalid chain ID"
A small thing I noticed is that there are no network switcher when the wallet is on the wrong network, and the signing will fail with "Invalid chain ID"
Shouldn't the alias and any hub-related action done with it be agnostic of the chain currently used in the wallet? That's at least how it works for evm wallets right now
Is this PR supposed to work or it's missing sequencer support?
refactoring in progress, to include features in the current cycle
Summary
Closes: #372 and https://github.com/snapshot-labs/pitches/issues/83
This PR add starknet wallet support for
setAlias
on offchain networks.Once alias is created, a starknet account will be able to follow/unfollow a space and edit its user profile
Changes
SignatureData
from sx/offchain/types, and use the global one from sx/typesHow to test
Waiting merging of https://github.com/snapshot-labs/snapshot-sequencer/pull/400
TODO