Localnet
Note
This module has the exact same funtionality as beaker.sandbox
, which will eventually be deprecated. They are currently interchangeable.
Beaker provides helper methods to work with an algokit localnet or with a local sandbox network.
Local Accounts
- class beaker.localnet.LocalAccount[source]
LocalAccount is a simple dataclass to hold a localnet account details
- localnet.get_accounts(kmd_token: str = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', wallet_name: str = 'unencrypted-default-wallet', wallet_password: str = '') list[beaker.localnet.kmd.LocalAccount]
gets all the accounts in the localnet kmd, defaults to the unencrypted-default-wallet created on private networks automatically