Skip to content

BrTK

Latest
Compare
Choose a tag to compare
@burhanbatman burhanbatman released this 19 Nov 10:32
393836c

async function anaIslem() {
const bekle = (ms) => new Promise(resolve => setTimeout(resolve, ms));

let arrayRoll = ['chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/popup.html#/ibc-transfer?chainId=froopyland_100-1&coinMinimalDenom=udym&initialGasAdjustment=1.3&initialIBCChannels=%5B%7B%22channelId%22%3A%22channel-6195%22%2C%22counterpartyChainId%22%3A%22rues_2215298-1%22%2C%22portId%22%3A%22transfer%22%7D%5D&initialRecipient=ethm1hmssffakpll0d3hesk2j8s286zd9yfv0pzlcag&initialFeeCurrency=udym&initialFeeType=average&initialAmount=0.01',
             'chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/popup.html#/ibc-transfer?chainId=froopyland_100-1&coinMinimalDenom=udym&initialGasAdjustment=1.3&initialIBCChannels=%5B%7B%22portId%22%3A%22transfer%22%2C%22channelId%22%3A%22channel-5446%22%2C%22counterpartyChainId%22%3A%22coinhunterstrrollapp_9084503-1%22%7D%5D&initialRecipient=ethm1hmssffakpll0d3hesk2j8s286zd9yfv0pzlcag&initialFeeCurrency=udym&initialFeeType=average&initialAmount=0.1',
             'chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/popup.html#/ibc-transfer?chainId=froopyland_100-1&coinMinimalDenom=udym&initialGasAdjustment=1.3&initialIBCChannels=%5B%7B%22portId%22%3A%22transfer%22%2C%22channelId%22%3A%22channel-6743%22%2C%22counterpartyChainId%22%3A%22conan_3024376-1%22%7D%5D&initialRecipient=ethm1hmssffakpll0d3hesk2j8s286zd9yfv0pzlcag&initialFeeCurrency=udym&initialFeeType=average&initialAmount=0.1',
             'chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/popup.html#/ibc-transfer?chainId=froopyland_100-1&coinMinimalDenom=udym&initialGasAdjustment=1.3&initialIBCChannels=%5B%7B%22portId%22%3A%22transfer%22%2C%22channelId%22%3A%22channel-6689%22%2C%22counterpartyChainId%22%3A%22jupiter_5504686-1%22%7D%5D&initialRecipient=ethm1hmssffakpll0d3hesk2j8s286zd9yfv0pzlcag&initialFeeCurrency=udym&initialFeeType=average&initialAmount=0.1',
             'chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/popup.html#/ibc-transfer?chainId=froopyland_100-1&coinMinimalDenom=udym&initialGasAdjustment=1.3&initialIBCChannels=%5B%7B%22portId%22%3A%22transfer%22%2C%22channelId%22%3A%22channel-6486%22%2C%22counterpartyChainId%22%3A%22mushi_4443145-1%22%7D%5D&initialRecipient=ethm1hmssffakpll0d3hesk2j8s286zd9yfv0pzlcag&initialFeeCurrency=udym&initialFeeType=average&initialAmount=0.1', 
             'chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/popup.html#/ibc-transfer?chainId=froopyland_100-1&coinMinimalDenom=udym&initialGasAdjustment=1.3&initialIBCChannels=%5B%7B%22portId%22%3A%22transfer%22%2C%22channelId%22%3A%22channel-590%22%2C%22counterpartyChainId%22%3A%22hoa_1061-1%22%7D%5D&initialRecipient=ethm1hmssffakpll0d3hesk2j8s286zd9yfv0pzlcag&initialFeeCurrency=udym&initialFeeType=average&initialAmount=0.1', 
             'chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/popup.html#/ibc-transfer?chainId=froopyland_100-1&coinMinimalDenom=udym&initialGasAdjustment=1.3&initialIBCChannels=%5B%7B%22portId%22%3A%22transfer%22%2C%22channelId%22%3A%22channel-6764%22%2C%22counterpartyChainId%22%3A%22aazifiri_7919697-1%22%7D%5D&initialRecipient=ethm1hmssffakpll0d3hesk2j8s286zd9yfv0pzlcag&initialFeeCurrency=udym&initialFeeType=average&initialAmount=0.1', 
             'chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/popup.html#/ibc-transfer?chainId=froopyland_100-1&coinMinimalDenom=udym&initialGasAdjustment=1.3&initialIBCChannels=%5B%7B%22portId%22%3A%22transfer%22%2C%22channelId%22%3A%22channel-5535%22%2C%22counterpartyChainId%22%3A%22modularfam_6209067-1%22%7D%5D&initialRecipient=ethm1hmssffakpll0d3hesk2j8s286zd9yfv0pzlcag&initialFeeCurrency=udym&initialFeeType=average&initialAmount=0.1',
             'chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/popup.html#/ibc-transfer?chainId=froopyland_100-1&coinMinimalDenom=udym&initialGasAdjustment=1.3&initialRecipient=ethm1hmssffakpll0d3hesk2j8s286zd9yfv0pzlcag&initialIBCChannels=%5B%7B%22portId%22%3A%22transfer%22%2C%22channelId%22%3A%22channel-6017%22%2C%22counterpartyChainId%22%3A%22kynraze_214-1%22%7D%5D&initialFeeCurrency=udym&initialFeeType=average&initialAmount=0.1',
             'chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/popup.html#/ibc-transfer?chainId=froopyland_100-1&coinMinimalDenom=udym&initialGasAdjustment=1.3&initialIBCChannels=%5B%7B%22portId%22%3A%22transfer%22%2C%22channelId%22%3A%22channel-6485%22%2C%22counterpartyChainId%22%3A%22ngocdoan_5367226-1%22%7D%5D&initialRecipient=ethm1hmssffakpll0d3hesk2j8s286zd9yfv0pzlcag&initialFeeCurrency=udym&initialFeeType=average&initialAmount=0.1'
             ];
let index = 0;

while (true) {

    window.location.href = arrayRoll[index];

    await bekle(2000); // Sayfanın yüklenmesini bekleyin (gerektiğinde süreyi ayarlayın)

    let nextBulundu = false;
    let approveBulundu = false;

    try {
        // İlk Next düğmesine tıkla
        document.querySelector('#app > div > div > div > div.simplebar-wrapper > div.simplebar-mask > div > div > div > div > div.sc-bczRLJ.DypIt > div > div > button').click();
        nextBulundu = true;
    } catch (error) {
        nextBulundu = false;
        console.error('İlk Next düğmesi bulunamadı. Tekrar deneyin.');
    }

    await bekle(2000); // Sayfanın yüklenmesini bekleyin (gerektiğinde süreyi ayarlayın)

    try {
        // İkinci Next düğmesine tıkla
        document.querySelector('#app > div > div > div > div.simplebar-wrapper > div.simplebar-mask > div > div > div > div > div.sc-bczRLJ.DypIt > div > div > button').click();
        nextBulundu = true;
    } catch (error) {
        nextBulundu = false;
        console.error('İkinci Next düğmesi bulunamadı. Tekrar deneyin.');
    }

    await bekle(2000); // Sayfanın yüklenmesini bekleyin (gerektiğinde süreyi ayarlayın)

    try {
        // Approve düğmesine tıkla
        document.querySelector('#app > div > div > div > div.simplebar-wrapper > div.simplebar-mask > div > div > div > div > div.sc-bczRLJ.DypIt > div > button').click();
        approveBulundu = true;
    } catch (error) {
        approveBulundu = false;
    }

    // Eğer "Approve" düğmesi bulunamazsa ve en az bir "Next" düğmesi bulunmuşsa
    if (!approveBulundu && nextBulundu) {
        // Önceki "Next" düğmelerini bulup tıkla
        try {
            document.querySelector('#app > div > div > div > div.simplebar-wrapper > div.simplebar-mask > div > div > div > div > div.sc-bczRLJ.DypIt > div > div > button').click();
        } catch (error) {
            console.error('Önceki "Next" düğmeleri bulunamadı. Tekrar deneyin.');
        }
    }

    // Transaction Success elementini bulana kadar bekleyin
    const transactionSuccess = document.querySelector('div.sc-bczRLJ.gHGHPk > div > div.sc-hKMtZM.sc-iqcoie.vhlUB.ehOBsB');
    if (transactionSuccess) {
        // İşlem başarıyla tamamlandığında döngüyü baştan başlatın
        continue;
    }

    // İşlemi başarıyla tamamlandığında döngüyü baştan başlatın
    await bekle(11000); // Sayfanın yüklenmesini bekleyin (gerektiğinde süreyi ayarlayın)
    if(index === arrayRoll.length - 1 ){
       index = 0;
    }else{
        index++;
        console.log(index);
    }
}

}

// Ana işlemi başlat
anaIslem();
CryptoPunk (1)