You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
Right now, it's hard to make sure if you've configured it right. The docs are verbose enough to provide this guidance, but the configuration should be readable enough to make it easier to use.
Goal
Make it easier to use for the general public
Proposal
StellarBase.configure = Rails.root.join("config", "stellar_base.yml")
# We can also provide something like this to validate the config file.
# Raise something like StellarBase::InvalidConfigError
StellarBase.validate_config_file = Rails.root.join("config", "stellar_base.yml")
-----
# config/stellar_base.yml
---
horizon_url:
stellar_network: "public"
sending_strategy:
sep_0001:
TRANSFER_SERVER:
ASSET_ISSUER:
sep_0006:
enable_fees_endpoint: true
# if present /deposit is automatically enabled
depositable_assets:
- asset_code: BTCT
fee_fixed_from: Deposit::Bitcoins
# if present /withdraw is automatically enabled
withdrawable_assets:
- asset_code: BTCT
fee_fixed_from: Withdraw::Bitcoins
on_withdraw: ProcessWithdrawal
bridge_server:
on_bridge_callback: BridgeCallback::Process
# if enabled, it will verify the payload with the mac key
enable_verify_mac_payload: true
bridge_callbacks_mac_key:
# compares the callback POST'd if it exists in the XLM blockchain
enable_authenticity_check:
account_subscriptions:
subscribe_to:
- G-ADDR-1
- G-ADDR-2
The text was updated successfully, but these errors were encountered:
Problem
Right now, it's hard to make sure if you've configured it right. The docs are verbose enough to provide this guidance, but the configuration should be readable enough to make it easier to use.
Goal
Make it easier to use for the general public
Proposal
The text was updated successfully, but these errors were encountered: