You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: add AztecAddress.isValid and make random be valid (#10081)
Closes#10039
Since #8970 is not
yet implemented, invalid addresses cannot be the recipient of e.g. token
transfers, since we end up producing points not in the curve and causing
MSM to fail. Making `random()` return valid addresses seems like very
reasonable behavior.
Aztec is in full-speed development. Literally every version breaks compatibility with the previous ones. This page attempts to target errors and difficulties you might encounter when upgrading, and how to resolve them.
8
8
9
+
## TBD
10
+
11
+
### [aztec.js] Random addresses are now valid
12
+
13
+
The `AztecAddress.random()` function now returns valid addresses, i.e. addresses that can receive encrypted messages and therefore have notes be sent to them. `AztecAddress.isValid()` was also added to check for validity of an address.
0 commit comments