diff --git a/book/src/SUMMARY.md b/book/src/SUMMARY.md index f50f732c..ad78cba9 100644 --- a/book/src/SUMMARY.md +++ b/book/src/SUMMARY.md @@ -36,3 +36,4 @@ - [Intersect Options](./advanced/intersect_options.md) - [Guides](./guides/README.md) - [Cardano => Kafka](./guides/cardano_2_kafka.md) + - [Custom networks](./guides/connecting_to_custom_networks.md) \ No newline at end of file diff --git a/book/src/guides/connecting_to_custom_networks.md b/book/src/guides/connecting_to_custom_networks.md new file mode 100644 index 00000000..55061371 --- /dev/null +++ b/book/src/guides/connecting_to_custom_networks.md @@ -0,0 +1,43 @@ +# Connecting to custom networks + +This guide shows you how to configure Oura to connect to a custom (not mainnet or testnet) network. + + +## Instructions + +### 1. Add Network specific configurations + +Add the following data on the network to config TOML file. + +```TOML +[chain] +byron_epoch_length = u32 +byron_slot_length = u32 +byron_known_slot = u64 +byron_known_hash = String +byron_known_time = u64 +shelley_epoch_length = u32 +shelley_slot_length = u32 +shelley_known_slot = u64 +shelley_known_hash = String +shelley_known_time = u64 +address_hrp = String +adahandle_policy = String +``` + +Some details on the cofigurataion: + +| Name | DataType | Description | +| :--- | :--- | :--- | +| byron_epoch_length | u32 | .... | +| byron_slot_length | u32 | .... | +| byron_known_slot | u32 | .... | +| byron_known_hash | String | .... | +| byron_known_time | u64 | .... | +| shelley_epoch_length | u32 | .... | +| shelley_slot_length | u32 | .... | +| shelley_known_slot | u32 | .... | +| shelley_known_hash | String | .... | +| shelley_known_time | u64 | .... | +| address_hrp | String | .... | +| adahandle_policy | String | Minting policy of AdaHandle on the network. | \ No newline at end of file