Skip to content

scalprox/SuperSweep_bots

Repository files navigation

UTILS

  • Url of app super-sweep-bots.vercel.app
  • url of start scheduler super-sweep-bots.vercel.app/api/scheduler/supersweep/initScheduler ( method POST )
  • url of get Stats super-sweep-bots.vercel.app/api/getStats ( method GET )

How FamousFoxFederation api work

  1. get raffle by calling https://rafffle.famousfoxes.com/foxy/raffles/20/1 in puppeteer response exemple here change period to "past" in body to get past raffle

How SuperSweep api work

  1. First when config it call https://be.supersweep.xyz/api/raffle/config with the following value Here

  2. Get all active auction https://be.supersweep.xyz/api/raffles see value exmple

  3. Create raffle https://be.supersweep.xyz/api/tx/raffle/create see response exemple

How MagicEden api work

Get Collection list

// Get a Collection List
const collection_name = "theprimes";
const url = `https://api-mainnet.magiceden.dev/v2/collections/${collection_name}/listings?limit=10`;
const options = { method: "GET", headers: { accept: "application/json" } };

fetch(url, options)
  .then((res) => res.json())
  .then((json) => console.log(json))
  .catch((err) => console.error(err));

And you get this

Instruction to buy now

// Instruction to buy now
import axios from "axios";

const options = {
  method: "GET",
  url: "https://api-mainnet.magiceden.dev/v2/instructions/buy_now?buyer=buyer_wallet&seller=seller_wallet&tokenMint=token_mint_adress&tokenATA=buyer_token_account&price=price_in_sol",
  headers: { accept: "application/json" },
};

axios
  .request(options)
  .then((res) => console.log(res.data))
  .catch((err) => console.error(err));

Collection to buy

( on magic eden api )

  • bored_ape_solana_club
  • theprimes
  • y00ts
  • famous_fox_federation
  • blocksmith_labs

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published