OPEN SOURCEMIT License
Charli3 Dendrite Python SDK
Build trading bots, DEX aggregators, and DeFi apps with a fraction of the code. Access every major Cardano DEX through one powerful Python interface. No complex integrations, no switching between APIs - just clean, efficient code that gets the job done.
8+Supported DEXs
PoolsLiquidity Data
SwapsToken Operations
AnyNative Asset Support
multiDEX_example.py
Python SDK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from charli3_dendrite import GeniusYieldOrderState, MinswapCPPState, SundaeSwapCPPState
from charli3_dendrite.backend import set_backend
from charli3_dendrite.backend.blockfrost import BlockFrostBackend
# Configure blockchain access
set_backend(BlockFrostBackend("your-project-id"))
# Support multiple DEXs in one go
dexs = [
GeniusYieldOrderState,
MinswapCPPState,
SundaeSwapCPPState
]
# Track pools across DEXs
pool_data = {}
for dex in dexs:
selector = dex.pool_selector()
pools = backend.get_pool_utxos(
limit=1000,
historical=False,
**selector.model_dump()
)
for pool in pools:
data = dex.model_validate(pool.model_dump())
pool_data[data.pool_id] = {
"tvl": data.tvl,
"price": data.price,
"dex": dex.__name__
}
supported Platforms
Your Gateway to Cardano DEXs
Charli3 Dendrite supports a growing list of Cardano DEXs, with more integrations on the way.
Capabilities
Built for Growth
Discover a suite of features designed to simplify processes, enhance efficiency, and scale with your goals.
Multi-DEX Support
Seamlessly integrate with all major Cardano DEXs through a single interface
Rich Data Access
Fetch and analyze liquidity pool data across multiple DEXs in real-time
Easy Token Swaps
Execute cross-DEX token swaps with just a few lines of code
Extensible Design
Flexible architecture that grows with your application's needs
© 2024 Charli3. All rights reserved.