1.0.1 (2018-09-27)
- Add address/secret/key validation and derivation methods (#932)
isValidAddress(address: string) : boolean
: Checks if the specified string contains a valid address.isValidSecret(secret: string): boolean
: Checks if the specified string contains a valid secret.deriveKeypair(seed: string): {privateKey: string, publicKey: string}
: Derive a public and private key from a seed.deriveAddress(publicKey: string): string
: Derive an XRP Ledger address from a public key.
- To derive an address from a secret:
- Derive the public key from the secret.
- Derive the address from the public key.
- Example:
const address = api.deriveAddress(api.deriveKeypair(secret).publicKey)
- Update server regex to accommodate UDS (#944)
- Include memos when parsing trustlines (#949)
- Add remaining LedgerEntry types (#943)