Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize chain ID and token denomination in GevulotClient #53

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

aleasims
Copy link
Contributor

@aleasims aleasims commented Mar 4, 2025

This allows to set chain ID and token denomination for a client:

let client = GevulotClientBuilder::new()
    .chain_id("my_chain")
    .denom("my_token")
    .build()
    .await?;

Default values are:

const DEFAULT_CHAIN_ID: &str = "gevulot";
const DEFAULT_TOKEN_DENOM: &str = "ucredit";

@aleasims aleasims self-assigned this Mar 4, 2025
@aleasims aleasims requested a review from trusch March 4, 2025 14:28
@aleasims aleasims marked this pull request as ready for review March 4, 2025 14:30
@aleasims aleasims merged commit f42df40 into dev Mar 4, 2025
1 check passed
@aleasims aleasims deleted the feature/custom-network-compat-2 branch March 4, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants