Skip to content

Commit

Permalink
rosetta
Browse files Browse the repository at this point in the history
  • Loading branch information
codehans committed Apr 11, 2024
1 parent 21462c1 commit 6bf1aa3
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions ROSETTA.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Enable Rosetta support by modifying `.kujira/config/config.toml` as follows.

```
###############################################################################
### Rosetta Configuration ###
###############################################################################
[rosetta]
# Enable defines if the Rosetta API server should be enabled.
enable = true
# Address defines the Rosetta API server to listen on.
address = ":8080"
# Network defines the name of the blockchain that will be returned by Rosetta.
blockchain = "kujira"
# Network defines the name of the network that will be returned by Rosetta.
network = "kaiyo-1"
# Retries defines the number of retries when connecting to the node before failing.
retries = 3
# Offline defines if Rosetta server should run in offline mode.
offline = false
# EnableDefaultSuggestedFee defines if the server should suggest fee by default.
# If 'construction/medata' is called without gas limit and gas price,
# suggested fee based on gas-to-suggest and denom-to-suggest will be given.
enable-fee-suggestion = false
# GasToSuggest defines gas limit when calculating the fee
gas-to-suggest = 200000
# DenomToSuggest defines the defult denom for fee suggestion.
# Price must be in minimum-gas-prices.
denom-to-suggest = "ukuji"
```

0 comments on commit 6bf1aa3

Please sign in to comment.