vudu is the swiss knife of Solana
- Perform powerful automations for you and your users
- No more hassle of managing multiple DeFi APIs, documentations and smart contracts to do what you want to do
- Easy and flexible queries to get what you’re looking for on our indexed databases. No need for SQL knowledge
import vudu from 'vudu'
vudu.initialize("... ...")
let ethPrice = vudu.Apps.app('orca').fetchPrice({
token: "ETH",
unit: "USDC"
});
if(ethPrice > 2000){
vudu.Apps.app("mango").short({
value: 5,
asset: "ETH",
})
vudu.Apps.app("drift").long({
value: 5,
asset: "ETH",
})
};
vudu.DB.table("contracts").findAll({
where: {
isNFT: true,
address: "longSolanaAddress"
}
});