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

Anvil fork #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Anvil fork #17

wants to merge 1 commit into from

Conversation

leeftk
Copy link
Owner

@leeftk leeftk commented Jul 3, 2024

This basically forks berachain locally and allows you to deploy the contracts with the script I wrote.

This will help a lot with frontend testing.

Remember anvil gives you default accounts via private keys. You'll need to copy and paste the private key it gives you into the script itself. Once there your rpc will be the local host that is given to you by anvil, this is the one you can add to Metamask in order to do transactions.Add https://127.0.0.1:8545to metamask and it should allow you to connect to the local host and run transactions on it.

The commands to run in the terminal are commented out in the deploy script itself just follow those and you should be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant