Back

Version 3

8/25/2024
import { blob } from "https://esm.town/v/std/blob";
import BetSession from "npm:auto-bet-session";
import axios from "npm:axios";

const DEFAULT_BETAMOUNT = 0.0001;
const DEFAULT_MULTIPLIER = 1.5;
const DEFAULT_OPTION = "higher";
const DEFAULT_INCREASE = 100;
const VAL_URL = "";

// handle incoming requests
export default async function(req) {
const PLATFORM = "dogepick.io";
const cookies = await blob.getJSON("platforms");
const COOKIES =
"fp=lM6JSaXtfVFINJ8L; _ga=GA1.1.1780620828.1718868508; adbit_session=jleiomodni66erukrdqjqm1103k2698i; _ga_YWVVLG9BZ0=GS1.1.1724651558.50.0.1724651558.0.0.0; csrf_cookie_name=8699ab93935b15dfa194f6499cfc216b";
var session = new BetSession(PLATFORM, COOKIES);
var body;
try {
/**
* {
* initialBetAmount,
* initialMultiplier,
* currentBetAmount,
* currentMultiplier,
* option,
* increase,
* winStreak,
* lossStreak
* }
*/
body = await req.json();
}
catch {
body = {
initialBetAmount: DEFAULT_BETAMOUNT,
Updated: October 7, 2024