Introduction to VelaCore
Welcome to the official documentation for the VelaCore Protocol (VEC). VelaCore is a next-generation decentralized finance (DeFi) protocol built on the BNB Smart Chain to provide secure, efficient, and ultra-fast cross-chain trading. Our mission is to simplify the DeFi experience for everyone, from beginners to seasoned developers, without compromising on security or the core principles of decentralization.
Traditional finance is burdened with high fees, slow settlement times, and financial exclusion. VelaCore addresses these problems head-on by creating a scalable, borderless, and community-driven financial network. This documentation serves as a comprehensive guide for anyone interacting with the VelaCore ecosystem.
Our Vision & Mission
Vision
We envision a decentralized future where anyone, anywhere, can access instant, low-cost, and borderless digital finance. A world where financial tools are open, transparent, and accessible to all, breaking down the barriers of traditional banking.
Mission
Our mission is multi-faceted, focusing on empowering every segment of the digital economy:
- Empower Businesses: Provide small and medium-sized enterprises (SMEs) with robust blockchain-based payment tools to streamline operations and reduce costs.
- Enable DeFi Access: Bring sophisticated financial instruments like lending, borrowing, and staking to the masses in a user-friendly way.
- Reward Holders: Ensure long-term value creation for VEC token holders through a sustainable and rewarding ecosystem.
- Drive Mass Adoption: Make blockchain technology simple, intuitive, and genuinely useful for everyday people and transactions.
Getting Started
Interacting with VelaCore is simple. Here’s how you can get started in just a few minutes.
1. Set up a Wallet
You need a Web3-compatible wallet like MetaMask or Trust Wallet. Download and configure your wallet, making sure to securely store your seed phrase. Connect your wallet to the BNB Smart Chain network.
2. Acquire VEC Tokens
You can acquire VEC tokens through our official presale events or by swapping for them on a supported Decentralized Exchange (DEX) like PancakeSwap after the public launch.
3. Perform Your First Swap
Swapping on VelaCore is seamless:
- Visit the VelaCore App and click "Connect Wallet".
- Select the token you want to swap from and the token you wish to receive.
- Enter the amount. Our interface will find the best possible rate for you.
- Review the transaction details (price, slippage, fees) and confirm the swap in your wallet.
Core Concepts
The Delta Engine
Delta is the revolutionary, intent-based execution engine at the heart of VelaCore. It optimizes every transaction for speed, cost, and security. Instead of just executing a simple swap, Delta interprets what the user wants to achieve and finds the most efficient path across multiple liquidity sources to fulfill that intent, minimizing slippage and gas fees.
Cross-Chain Swaps
VelaCore enables true, seamless cross-chain functionality. Our protocol allows users to swap native assets between different blockchains (e.g., BNB on BNB Chain to ETH on Ethereum) in a single, atomic transaction. This powerful feature eliminates the need for complex, risky, and often expensive bridging procedures, making DeFi more interconnected.
Token Utility (VEC)
The VEC token is the lifeblood of the VelaCore ecosystem. It is a multi-purpose utility token designed to provide a wide range of functionalities and incentives to its holders.
- Payments: Use VEC for fast, low-cost transactions at partner merchants and within the ecosystem.
- DeFi & Staking: Stake VEC tokens in our staking pools to earn passive income, or provide liquidity to earn a share of trading fees.
- Governance: VEC holders can vote on key protocol upgrades, treasury fund allocations, and other important ecosystem proposals, giving the community a direct say in the future of VelaCore.
- Discounts & Incentives: Partners and users who utilize VEC for transactions may receive reduced fees and other exclusive benefits.
- NFT Marketplace: VEC will be the primary currency for buying, selling, and trading digital assets on our upcoming NFT marketplace.
VelaCore DeFi Ecosystem
VelaCore is more than just a token; it's a complete decentralized finance layer designed for maximum utility and capital efficiency.
Staking Pools
Our staking pools are designed for long-term holders who believe in the future of VelaCore. By staking your VEC tokens, you not only help secure the network but also earn a steady stream of passive income from protocol revenue.
Yield Farming
Liquidity is crucial for any DEX. Users can become Liquidity Providers (LPs) by depositing pairs of assets into our liquidity pools. In return, they receive LP tokens which can be staked in yield farms to earn additional VEC rewards, on top of the trading fees.
Lending & Borrowing
Future updates will introduce a decentralized money market where users can lend their crypto assets to earn interest or borrow against their holdings in a secure, over-collateralized manner.
API Reference
For developers, our robust API allows seamless integration of VelaCore's functionalities. Below are basic examples using `ethers.js`.
Get Pair Price
Fetches the current price for a token pair
import { VelaCoreRouterABI } from './VelaCore';
const routerContract = new ethers.Contract(ROUTER_ADDRESS, VelaCoreRouterABI, provider);
async function getPrice(tokenIn, tokenOut) {
const amountIn = ethers.utils.parseUnits('1', 18); // 1 token
const amountsOut = await routerContract.getAmountsOut(amountIn, [tokenIn, tokenOut]);
const price = ethers.utils.formatUnits(amountsOut[1], 18);
console.log(`The price is: ${price}`);
return price;
}
Execute a Swap
// Executes a swap transaction
async function executeSwap(signer, tokenIn, tokenOut, amountIn) {
const routerContract = new ethers.Contract(ROUTER_ADDRESS, VelaCoreRouterABI, signer);
const deadline = Math.floor(Date.now() / 1000) + 60 * 20; // 20 minutes from now
const tx = await routerContract.swapExactTokensForTokens(
ethers.utils.parseUnits(amountIn, 18),
0, // amountOutMin: 0 for simplicity
[tokenIn, tokenOut],
await signer.getAddress(),
deadline
);
console.log(`Transaction hash: ${tx.hash}`);
return tx.wait(); // Wait for transaction to be mined
}
Security First
Security is paramount. The VelaCore protocol has undergone multiple external audits from reputable blockchain security firms. All smart contracts are open-source and available for public review. We are committed to transparency and maintaining the highest security standards.
Best Practices for Users
- Never Share Your Seed Phrase: The VelaCore team will NEVER ask you for your private keys or seed phrase.
- Bookmark Official Sites: Always access our app via official, bookmarked links to prevent phishing.
- Revoke Permissions: Periodically review and revoke token approvals for dApps you no longer use.