View Source Walle.Wallet (Walle v0.5.0)

Wallet specifc functions.

Summary

Functions

Returns the public address from the given private key.

Export the private key of the given wallet.

Returns a new wallet from the given keystore and password.

Returns a new wallet from the given private key.

Returns a new wallet from seed phrase.

Generates a new random wallet.

Signs the given message with the provided private key.

Signs typed data (EIP-712) with the provided private key.

Generates an encrypted JSON keystore from the given wallet.

Functions

Returns the public address from the given private key.

Link to this function

export_private_key(wallet)

View Source

Export the private key of the given wallet.

Link to this function

from_keystore(keystore, password)

View Source

Returns a new wallet from the given keystore and password.

Link to this function

from_private_key(private_key)

View Source

Returns a new wallet from the given private key.

Link to this function

from_seed_phrase(seed_phrase)

View Source

Returns a new wallet from seed phrase.

Generates a new random wallet.

Link to this function

sign_message(wallet, message)

View Source

Signs the given message with the provided private key.

Link to this function

sign_typed_data(wallet, data)

View Source

Signs typed data (EIP-712) with the provided private key.

Link to this function

to_keystore(wallet, password)

View Source

Generates an encrypted JSON keystore from the given wallet.

The keystore is encrypted with the provided password.