Skip to content

Commit

Permalink
add small-topology example
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk committed Oct 22, 2023
1 parent 62aefb9 commit 7cc0c6b
Show file tree
Hide file tree
Showing 9 changed files with 604 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Get MiniMina
- name: 🤌 Get MiniMina
uses: piotr-iohk/install-minimina-action@v1

- name: Default network
- name: 👌 Default network
run: |
minimina network create
minimina network start
minimina network stop
minimina network delete
- name: 📥 Checkout
uses: actions/checkout@v4

- name: 👍 Network from topology
run: |
minimina network create -n small -t tests/data/small-network/topology.json -g tests/data/small-network/genesis-ledger.json
minimina network start -n small
minimina network stop -n small
minimina network delete -n small
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ jobs:
- uses: MinaFoundation/install-minimina-action@v1
with:
stream: 'stable' # or 'unstable'

```
See [examples.yml](/.github/workflows/examples.yml) workflow for more details.
1 change: 1 addition & 0 deletions data/small_network/block_producer_keys/receiver.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"box_primitive":"xsalsa20poly1305","pw_primitive":"argon2i","nonce":"7m5g15znscwWpkMvY5qp27mHomNvkrJsZJ31nZr","pwsalt":"8PAdNrBn69LoxVNkWj7CvQQQ9gN4","pwdiff":[134217728,6],"ciphertext":"BVkvZ6Lh8jWB56NRpGRJngJ3JRipzfX5Tw5PBHshrrffc6r7qun7nkHPSief7gpYq6HGGs9hg"}
Loading

0 comments on commit 7cc0c6b

Please sign in to comment.