Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing: Automatically fund personal accounts when using test networks #264

Open
antazoey opened this issue Nov 24, 2021 · 4 comments
Open
Labels
category: feature New feature or request

Comments

@antazoey
Copy link
Member

Overview

When using a development network provider, automatically fund all accounts from the ape-accounts plugin.

Specification

Can use accounts.load("dev") in a local network.

@antazoey antazoey added the category: feature New feature or request label Nov 24, 2021
@fubuloubu
Copy link
Member

only do this when launching a script or console process (not testing)

@antazoey antazoey changed the title Automatically fund personal accounts when using test networks Testing: Automatically fund personal accounts when using test networks Jan 27, 2022
@antazoey
Copy link
Member Author

antazoey commented Oct 3, 2022

This can be done using the TestAccountAPI.set_balance API method, thought it would be nice to have this first: ethereum/eth-tester#236

@antazoey
Copy link
Member Author

antazoey commented Oct 3, 2022

Although, perhaps unlock_account in EthTester may work!

@antazoey
Copy link
Member Author

antazoey commented Jul 9, 2024

blocked by #2173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants