Skip to content

Commit a095664

Browse files
authored
add balances section to the chain directive (#557)
1 parent 7dbc7e3 commit a095664

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/pages/config/chains.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,3 +335,19 @@ chains:
335335
```
336336

337337
> Note: To complete the ICS setup one also needs to setup the relayer with ics enabled. Have a look at the [relayer](https://docs.cosmology.zone/starship/config/relayers#ics)
338+
339+
## `balances` (optional)
340+
The `balances` directive allows you to set the initial balances for the chain addresses. This is useful when you want to test a chain with specific initial balances.
341+
342+
```yaml
343+
chains:
344+
- id: osmosis-1
345+
name: osmosis
346+
numValidators: 1
347+
balances:
348+
- address: cosmos1xv9tklw7d82sezh9haa573wufgy59vmwe6xxe5
349+
coins: 100000000000000uosmo
350+
- address: cosmos1xv9tklw7d82sezh9haa573wufgy59vmwe6xxe5
351+
coins: 100000000000000uion
352+
```
353+

0 commit comments

Comments
 (0)