Integration with Wallet Connect and the Starname Manager
Wallet Connect lets us grab someones address from a mobile wallet into the starname manager for ease of use and to help avoid errors, it also greatly simplifies the process of editing starnames.
Your wallet needs to do one change to allow a multichain wallet to send all the addresses to the manager. (Same kind of change than for Binance chain)
In order to do so, the wallet has to comply with 2 things.
- 2.Given that (1) is satisfied, to send all the desired addresses your wallet has to send a json with the following structure
For example your wallet can send:
This json must be sent:
- as the first element of the array that makes the standard payload of a Wallet Connect session message.
- It also needs to be converted to a string as with
This is required because Wallet Connect actually shares an array of strings.
You can also send regular Wallet Connect payloads.