Skip to content

Commit

Permalink
revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
themacexpert committed Jan 6, 2025
1 parent 036ef6f commit de15383
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .snippets/code/builders/ethereum/dev-env/ape/ape-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# ape-config.yaml
name: ape-demo

default_ecosystem: ethereum

ethereum:
default_network: local_moonbeam

local_moonbeam:
default_transaction_type: 0
gas_limit: "auto"
block_time: 6
transaction_acceptance_timeout: 60
max_receipt_retries: 10

networks:
custom:
- name: local_moonbeam
chain_id: 1281
ecosystem: ethereum
base_ecosystem_plugin: ethereum
default_provider: node

node:
ethereum:
local_moonbeam:
uri: http://127.0.0.1:9944
4 changes: 3 additions & 1 deletion builders/ethereum/dev-env/ape.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,9 @@ Congratulations! You have successfully deployed and interacted with a contract u
There are some nuances associated with using Ape with a local Moonbeam node. As a Moonbeam local node is not included as a preset network with Ape, you'll need to customize your `ape-config.yaml` before using Ape with a local Moonbeam node. Adjust your `ape-config.yaml` as follows:
--8<-- 'code/builders/ethereum/dev-env/ape/terminal/ape-config.yaml'
```bash
--8<-- 'code/builders/ethereum/dev-env/ape/ape-config.yaml'
```
After configuring your `ape-config.yaml`, you can target your local Moonbeam node by appending the following network configuration flag to your Ape command:
Expand Down

0 comments on commit de15383

Please sign in to comment.