Skip to content

Commit 0692945

Browse files
committed
Document network section of the config file
1 parent 8ac7e46 commit 0692945

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,16 +184,24 @@ use your own config file stored somewhere else. Here is an example config file:
184184
"blockchaindev/my-marmalade-templates",
185185
"blockchaindev/txlib",
186186
"my-favorite-dex/txlib",
187-
"kadena-io/txlib"
188-
]
187+
"kda-community/txlib"
188+
],
189+
"networks": {
190+
"testnet04":"https://testnet.kadena.fun:1848",
191+
"mainnet01":"https://api.chainweb-community.org"
192+
}
189193
}
194+
190195
```
191196

192197
Each repo is tried in the order they appear in the config file, stopping after
193198
the first one that works. This allows projects building on Kadena to publish
194199
libraries of transation templates for working with their smart contracts and for
195200
users to use any combination of template sets that they desire.
196201

202+
Additionnally the config file allows you to setup network endpoints. Avoiding the need to sepcify it with thee `-n` flag for
203+
each `local`, `send` or `poll` command.
204+
197205
## Transaction Signing
198206

199207
### Signing with key files

0 commit comments

Comments
 (0)