Cross-chain DeFi Abstraction powered by Intents
An end-to-end funds navigation delivering the best use experience
An Intents DeFi EngineFast: Executes complex, multi-step transactions, requiring confirmation only once.Efficient: Identifies the optimal path and supports batch DeFi-to-DeFi operations.All or Nothing: Ensures no intermediary stacking, with a full revert in case of failure.
Intent-based communication for seamless navigation across different chains.A state change intent structured as a symmetric two-state object ("From" & "To").
More than just solvers.Easy to integrate and appealing to all types of liquidity providers and protocols.Collaboratively finding the best path for an intent to ensure optimal route.
Decentralized engine to build a path in the favor of the user and to fulfill any use case.self-custody all the time with near-instant execution, eliminating third-party custody risks.
The key to an optimal experience lies in a unified interface with a simple, efficient, fast, and secure execution.
This goes beyond cross-chain interactions to encompass the entire DeFi space with Intents.
import { IntentBuilder, PROJECTS, CHAINS, Asset, Stake, toBigInt } from './src';
import { ethers } from 'ethers';
const BUNDLER_URL = 'https://testapi.balloondogs.team:4338' //'https://api.balloondogs.network';
const signer = new ethers.Wallet('private key');
const eth = '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE';
const amount = 0.1;
const from = new Asset({
address: eth,
amount: toBigInt(Number(amount)),
chainId: toBigInt(CHAINS.Ethereum),
});
const to = new Stake({
address: PROJECTS.Lido,
chainId: toBigInt(CHAINS.Ethereum),
});
async function executeIntent() {
const intentBuilder = await IntentBuilder.createInstance(BUNDLER_URL);
await intentBuilder.execute(from, to, signer);
}
executeIntent()
.then(() => console.log('Intent executed successfully.'))
.catch(error => console.error('Error executing intent:', error));
© 2024 BalloonDogs Ltd. All Rights Reserved.
Follow us on Twitter© 2024 BalloonDogs Ltd. All Rights Reserved.