rooch-network / rooch

VApp Container with Move Language for Bitcoin ecosystem
https://rooch.network
Apache License 2.0
158 stars 83 forks source link

[types] Unify address format to bech32 #1749

Closed jolestar closed 4 months ago

jolestar commented 4 months ago

Summary

  1. Use RoochAddress in Object Owner and Transaction Sender, output bech32 in json.
  2. RPC argument supports both bech32 and hex.

TODO:

  1. The StateView directly outputs AnnotatedState of Move; we can not auto covert all AccountAddress to RoochAddress in Move state because we also use AccountAddress to represent h256.
vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2024 10:23am
1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **rooch** | ⬜️ Ignored ([Inspect](https://vercel.com/rooch/rooch/78FeScAQJwccFY8x5yggpbaRcznA)) | | | May 27, 2024 10:23am |
wow-sven commented 4 months ago

The rooch faucet relevant addresses have not all been changed, you can merge me to change first