Skip to content

tancho-dex/amm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

config-task.yml task_name: 'TanchoSwap AMM Task' author: 'Jordan Burgess' description: 'Koii task for monitoring/interacting with TanchoSwap (Raydium AMM fork)' repositoryUrl: 'https://github.com/jordanbrgss/raydium-amm' task_executable_network: 'IPFS' task_audit_program: 'dist/main.js' round_time: 1500 audit_window: 350 submission_window: 350 minimum_stake_amount: 1.5 total_bounty_amount: 10 bounty_amount_per_round: 0.1 environment: 'TEST'

src/main.ts import { Connection, PublicKey } from "@solana/web3.js";

const AMM_PROGRAM_ID = new PublicKey("3UDEXQY1v8SyJQfAdCMdZuYcMEdhU7P32cD12t7CPwZx");

async function main() { const connection = new Connection("https://api.devnet.solana.com", "confirmed"); console.log("TanchoSwap Koii Task started");

// You can add interaction logic here, e.g. fetch account info const programInfo = await connection.getAccountInfo(AMM_PROGRAM_ID); if (programInfo) { console.log("Found AMM program account:", AMM_PROGRAM_ID.toBase58()); } else { console.log("AMM program account not found."); } }

main().catch(console.error);

tanchoswap-amm

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages