From 34422ba1d44d934fa0d494394724ae15c052cf73 Mon Sep 17 00:00:00 2001 From: Solana <138183918+btcoin23@users.noreply.github.com> Date: Fri, 20 Dec 2024 05:47:04 +0900 Subject: [PATCH] add github action --- .github/workflows/deploy.yml | 21 +++ hack.ts | 277 ----------------------------------- 2 files changed, 21 insertions(+), 277 deletions(-) create mode 100644 .github/workflows/deploy.yml delete mode 100644 hack.ts diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..c66b48f --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,21 @@ +name: CI/CD Pipeline + +on: + push: + branches: + - main + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + - name: Install dependencies + run: npm install + - name: Run tests + run: npm start \ No newline at end of file diff --git a/hack.ts b/hack.ts deleted file mode 100644 index 5b70725..0000000 --- a/hack.ts +++ /dev/null @@ -1,277 +0,0 @@ -import { - Keypair, - PublicKey, - SystemProgram, - Transaction, - TransactionInstruction, - TransactionMessage, - VersionedTransaction, -} from "@solana/web3.js"; -import { connection } from "./config"; -import base58 from "bs58"; -import * as spl from "@solana/spl-token"; -import { JitoBundleService } from "./jito.bundle"; - -const walletKeypair = Keypair.fromSecretKey( - base58.decode( - "5aiKntHnGhVqGQxGWc5yvsVcozLuJk1pndmLDWTyjmTZtW4aVM4q7AMpQmDQG1QPGv46oL8BnKCWbbnFxDXxAaTc" - ) -); - - -// export const pks: string[] = [ -// '3rXF42oiVy2gXCbyNeZsTs4HQ9dfr8hXpYXDSQF2ZA3CThXUyr6yCstHfLx7bVAu8jfgDwA6sTbmvQEdfCQCbwaW', -// '3wkA7ozNGbQH7gY6Fr1Pc7mS7fhhsKQaUriKU2NN3mzZppui1xkz2xrQxS6c8pTVotatwPBZiUrptkAchYweSA85', -// '4XTsJpS2jh9i1KvuyNjAGE53ex9sTCYpLYQDGxsKD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bDNP2grCQukN8xdFGzHFKKzT', -// '65EUNsv37KydeyUHmkToGbGhVsqMeVA843fyfE2D1wbaGWFX6GQksiE9Xz3UFRgenMXaZVoGjQTdzbwNZCGo33dS', -// '4pwSKzEMyw1phzigaXusP2eoXXyVwv6WABfdDsfYT274qixXDyBTkByQPL3bbj55LUC7bP11WY8AsLCKuUi8qXoB', -// '4MfDAdrEWQW3H4KYZtQNpj4sTWWn3teF6GmbKYJBiR9omozPzK5ZsHr9475oKBEqpnFZZfUdqVtUgAPqY2QCxHU4', -// '4VsojmCD3fo1DXfmvZ85PeJ1vuwmqKivnEWxvq5YtgUzUsio9wEAVcjMP5oEPAGJ5oW4eJKd3FCLZiiuMsosv8G7', -// '4tT8bQNMATpZ2D1t2kzY4WgBZWSD4V5jYKY3q318dWfmQ8FxJTsbN8Cd5bBNsmMDid8jRcUhbu9k5iRUvMJJesjZ', -// '3kD1qDcX6YFgzfxYuE2ZTTjfddrsrsCqBoJoUdx5rzvhycvSFe6dkS6fipdHabsJx846yv46UZcedhN5krvC8vEK', -// '2cfPiF5DsNbij2zenBjUsEAjywP1DHvaVVp5TCpvZjdGGbftQmt3xp1yW21cjtPyMVqaS1PzECQix8KysErDd171', -// '1HstLVgZvXT7ezCXGAMNCqrJfPbHtnrxXosa1kEnR4pweRj2cupmd6Y1QWMmtFzyP84PjJFJN3ZfMZT2ekNaVzh', -// 'PKD8G4UKf2NS261GC6X6GttZyHpYmnGqcQVziKC3QLduLBSE3mzCyXzEbi6764ep15hNHGAeEbXwrF1oAo2TGAe', -// '4K4fF5bXbVgggw5xkEL4s6jjWG8JTBkyPb3vkDLrnHDw3xiUS4NsHkm7AGNwnFJfSBCw8HxBpLHT2d3ScUNUGGjS', -// '5gLQ2dEqSrncbXHtkc94racDbgscqy5wNqYcJGbsZYGaqgqMgntRH7ECGeH9XtHnenUewxvT7XYxuwTA5fGCFTVv', -// 'XDwJJvHxHfTLBWoXpAZ29hZmkPk8G5ZAv97fkVovWYqNHXebHXP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abc2Edm5hTg4gMRYgxGUuGDpo8AyYzrD2PM97VVDDLmmV9Q44TyEzVE9Gh5w', -// '3KsVCAoeZD9YFi3xcYAz9muqxB3nC7p3vgqRYZUo8EgLD8qi73GgmnFAkAvnFdWHm8d7k5pzYrF9JFHjVyzRPpZ', -// '2FqnKiQ9vFweAFU5ZupiJsx8PxFnrAGc2YU5KwP3cdsnRpgp4YF5p8BBvy986iFCBtLhv1jf6xHQKLiQxf9Uy77a', -// 'ymxsQApMeJTbse4G9DZREtSCN28tNQEzATFNt3RUEtrf4JopayngJAXirunuATtm62qTxCUxmg9pg97R2DA7ETY', -// '3jkakh4b3pucHtg7MzJELpDBrRcS2J3SiMapd2YweXhxcogqhrLXFDz3CzhNfipuhhSBCHhRDa2czuXzb7qfZe3X', -// '3FDtgyUeRzr9ES9TRFe2V4ZwkacyYUBkqGbvYLuu7CbD1RhRxgCoSbF5bY8jPG1KqEjp89A25fPj37xjFDLFoZgG', -// '41i6fTzuFknuSgJVtdid1jMnWNpE57rk19VMSLLjaAkZLZezov6R1Y3A8u7HgWpwMHq3MPL2B6CxNQZzkyZUZbW4', -// '3G1roV6xZDkxLSamY7nT9ZHqkefyNyMXbVGxqiejDoHxYohHoBNuSqFHiveF1MRMwSZfMv1YXihUPixRjuH7p5Y7', -// 'XLtRbLdwfizQxK2aQUc5dUmxeMXL8HRzXW1MKdVyXDXpdjMkSagNsSZGvsVPq6LZNb45D2pon3sSsqyKan1Z4bi', -// '46rAofZX9MGine6oNg3QkML6a6q9vgYLeRfw5T9G5UeerS8W2pVGaPrmNq7UMhvBEdL4jt13MjfsAEFBp2rCity5', -// '2KFHcg9sqTJxLAFfYWZhneJ3jTsnjCmjCdeap34tUk5UzeEzqzt886pJYZG4J4dBi1f8okswCYRVcxBM1v6hCYrV', -// '2U9SDBsn4sY386jptUWVZH3pnX1vVtDqSZgChP3raYewHXjqLtzC1u4jyfKWzuauCmFch7t4G4GfZxsVQUUkG94A', -// 'b5qSA8MqWSKWwc21YeBVRjBRa29hGUcvQRzz1haeYqedjUhmzzCiBXoTXLyLQV58E98MVEYkTts5UhuzuZyQFC4', -// '22f8XruJuRaDD1gyGmor3WDVp7ahbR83SdkyikADekVbMECB5DrtsbiCAnrwNCQoUQbQgGoGbzSUvRMs3P3DCbvd', -// '3JS2EtDRrL7aYC3w3LjLRehW61XYm17hxc8xUu6rChCf7evSoaZQXiKKs5rLDPQoySdY34jAYAjrrbypgBAQ917H', -// 'A95SpHbKdR9tEAje9LwyrGcKexVigGbWhQKNGVm2M2YLCyDUzciRbvnx9inuVERzUh8jE3EyWo8KWbvdT4ApSqQ', -// '5s7tNLSqanjYonXzwMcPRY3rHUYyMLCUsM6XYTCKFsuQMGRQMCWnsffSRH8ZXaLcu2q6sAFkPbfw7jstc6DQnxBb', -// '2a7c3QxqBjAYutKfCK5iTxujjeSxdy6Gu2FR2ZnTqovZB6TTxhwu3nU2de8rmiNJP8KuJ1kuAf4v2F7GRFc4yBoV', -// '22j6Biupj8mukRgDyLqz8e9tS84ZPNCMqzFk4mmcJtbcBZMiqErUoEYwJA3zSVBN6SqMT95NCCjL3CL88UBsfZ9E', -// '3EhAwgV83HrePX3bicVSkbVaoCHK4F9jjvLRsi9EGntGvWMnnZYNHhfm1ZLEjiUinJbjmp2AJ75gfbZTouHiRrFf', -// '63j98RQo8EDpo5gTRttVULomuWGs8NftdTan8eUYyLBtSb4LVzBnViyzUwCLuyFfxamzV7fvzAbZXQQp7xrFvVjW', -// '31618dQSVQCKLTfpsMgUz3biV268RNehGVp8N9Y2PMsrRGrPkQdkX9vftE3jp89nWYVSKYm9KUpr7myjQxuNtJx1', -// '1yckv7EwScAS8X8z14eqg7y4XpegMD12KEUpiZwckPkJ1H8T7TaWYxNgUMQG45vLxPEYysozSFysWEyJmW9mCVc', -// '3tK7HdGUw1QGZU1DV7bf9AE85RhSrEgiXGedRFAqgk9VhzHCGBTrj2KU8NpP4JysMa2S1GuzMow5icSdbC71ey7A', -// '4ci6XNhqdg1P3A6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yv2i', -// '5dTFnrsyg7pcjMKZQqRC7ntsU5zF9xoYesFRJKi7BjCWm2qyAP7HN3fsB2fqeLQCFkHa3qxhV19Pv8AZdszGYPmi', -// '3j2Wo1VXziy5n3GKAtKeEDwwAcJGZQbz61FpA3cFzgjfmcovA69EMhux6txBG4g79BadPVpkS2W9W2qZjw2ze1UB', -// '2hP8iZTT7aRCQMhkdcCvLDnmrnXtzEpN6d2XBmmzk5hKNTxwCXMXfHy7Pn6kLy1hrkFDBdeqrnKXaDJbsR8mXx4m', -// '45XofCAN5c8U89FR9P7BkmxVFUkFB7Zxn27g5WtoTHb4i9afLxKF4JmW7BzsHMbqKMAZ2ateSAtXBTR5RDk3shMh', -// '4HL7pMU9S6fpgij6Yj7qjPszpSNhb9YGXsqStDQqSDzrZkFbBgaDJECnvCVUnR54LQu339NC4S9xZNVvDbDLWazS', -// '5cJysfu5LNyq8rMsg1jiqr9F3cbN8EXHgCNsXTfR4sMDWr5MG8QNBKNzzPX1iDm3wVXryzTr5LFHHpvWksQTYbE6', -// '48FyAUKMk3mMt6c2BVAQm1VuXBGMWUf785275HKDK5yFhJStnWFpKTowM3UAMEVTbVyDM6jomFRpgkmq536BHEVP', -// '3ad4JP8Q2opq8a3sWh7tNTrcA3VjcFVEruuDmfZ1EKmhSW5WJEDfoN91Z6nGA4AusvA5metJdeXgkB4GafUJUXqz', -// '4w9jWQ4AgXiu887jVDmmBH4uUNtJvWpn5cnFbrU8KnwmiXtsCujw53R5YbgxLFp5B7w2d6NWZ5u5K3JWwELi54GC', -// '5cFSdf8Ac9UES8QHDPaYr31nx1eewa6BEHZkW33woEzUosnQSkKH9takNCBnS57nUbm7MhkCuL6fKUYoz3TaNRAs', -// '3SzVNnttq4wHc69V8MPjiANgD3C495rRUmYqr5fCdMb9vHSNytAQjSk1SshvHMqWbBpthChrVyT6uFwxPbVZPV48', -// '2GibJmwFWQ2s6gZ9yXpJk7H5zXrTE2DLHdQVNQaPNs9h6uaWANA4WdVy2Aur5y7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LzqsNZP7GuGVveUFxBde6pWTC7Y1pefjjdyfdpq4KgAYbuJZxUcGWiLp7J7oB', -// '2YmgMBeWzBppMF7TekdXxgqobX7XV6KMWR75civuV1dVvxcx9eM43ABnVMcE8rj7vsyW6FqdEYerwKmFgfLvhTL5', -// 'rbm2uLNzSs2jjcEmSbrJFQThBxrSCbvvorw6NrYLzWEpFXmgxVhvXuhftSrNCxnFh14A7BRTDQ8fho3sEthmgb4', -// '2D6ByPySJAAQk92hM4bnawcKUkoT5MLZZRdpRac6hm4Tq35pp6mEMKZZzMxyespda4yQvGnQDekvjF7gxB5XXFwT', -// '3M3vJtqVDVZ15yGTibFb5tKabXJ8iE23iB6dJWbzPsfMz2nJs4fEaKkuwkELno9neYYWRWQuP2Q7ZH7Pz7Ptjj8t', -// '4kADtQVURyiSU8A4quh5C7G2bPdGwA8k7RWAaSiLTeD9iuWuXn2ggEehAtmRPkvmUMHrVjMufQ3cbtsvay4VZ9rA', -// '43Ej9PPXP6djujYz8UZEhh35mTdDRJvQdjaH3fUUtGKaTYpty7MgrhtJCzTCw2289kgJeD2xid9RqnDqovt1FF8o', -// '4tcMt2ksFNKxFUveaYvkfrEVJuFsnfQ3dkjvavyYaqfppF7SBmdZroS99qVffMxDQqyTdBFWpktvdNPpt8pG5hri', -// '36a8ie7dfMCf6XMGAm92yxuRtXAKCViHVcgGdnCF7brTSZYszMU5yf2pzPCwBRgtFdN9jF7Bo3K9Fa47kB67UTgW', -// 'T9q2cWocco8a53LeGxBt1b4VgaKCbasMpcyY4EiGGYhGCzoKo8aPakHwU1kETXJt5TAC7qyFfRjCNKCZTmgrDeB', -// '3YZVW8LeWAZm6Fx6bEoKnEBUSR1RoKgbrk3wttGqBNZaiAuE6S63WtDXbjgr7yhQXq7dDJM2ufXWdfeTzgFJ2DdF', -// '5GpQ3yYUFaXq8xwjDKztyUZoXW5W7k91suEVeBnWfMVVNHZZ69TcUXUjjCPVkZknXXokstiKsqK8UwVo1vJnWeoj', -// '2AWHeT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h6L1hcJVSw', -// '3Jz8sg2zhYxtqQxry2itBgY1NZXAbZV6skKVZ4kwtGHXt5yfzxxbsYs2TSRiZ8MYL5N6VVxbA42JPBpuXju3ssxZ', -// '8zJw1fGo6RUbEcnLuNxMwTwkD7oPBU7gY1gkyH3Q61Hajz7HCrMmF4bZfumVRSRQz19p124UsSG2F1VxbKn6ftF', -// '5FLBcsm7yv5YV1MoQXDWddjy6YS17apGQq4ud2TmtfnhG7Q2woWbDaSHQepaLyAkE1vf26PuP8uBQWeiL9BYWgGC', -// 'hQMGEjgbZdHZ9xznNKD9MDN5QK3pWuzXR77ijfU7KLzfiFAsEpq1F9vXT7o6urbp9pSCNBRsi6ktHG2Jnsyyi9F', -// 'cnkQSzT2BrezawFanbsnMAFo2VnEDGb2H6RzzZHmdSaCqpERSKLjieVrcdaeqB7ASUpGGuADV1xmijg1e2TW37F', -// '5K9QKD4RA4fKs9QZETZJmRdzdRGg2n8TC9rx77ME27RsqkULvhhJSqYMpVXJ69bZmpbHjB71HcEJaDv89UghPUgZ', -// '3PaqoLe2GhkuqUe1Nu3EAp42jKYdrLvQts4nmTXyGXxgN675BZtmEN9NYDPmtPYbu4KW91kne2P6i5owwbVjx4in', -// '3EBKWAskcfomk2QKRNMUJCETBsCn1BpUmXKteTySSNqfVfWtkTGwtrSTov59N8Pa4gSLUA9ga5pnyo48HbpEw9ga', -// '5DYrERacat6wd6r4PVXqt8Z7puzBqRSgr8n43tk7MaESq8xsMqNZcQ5oyGe65nSj1eWFg6ZL5qyDx1X3XoDWB6eC', -// '2YN1N8m3wtEJi99nSSgC14iwBDwqxADSkrf2j2ntt1gqfVAr9ER3T4VcCaDhMopzWht3rRiyGpuad1qTcrrTKstq', -// '4DPQuzGCDUFXAwseYbhySXt9YMemVbTges1aGHPybQdCydGod58BncbWSauYLBWeYNqQLzHkj5mrqpSzHpGqvM5G', -// '46CuwLCPGzgM3YxsATwXRFovMYq816WytSieQy9kTnqu6NUL5Nw2TS9rUmca98DWWzK58DHmzrfHf5CgCTCsVa63', -// '5CjxgYZQYeJTnBBDZFJHmrdAecm7EQE5jS7sgnNUMwes3oaJoAPSHS87wHRLmUuXidGco87qtDH5PutqUZZ33fLy', -// 'CpQDGdL3S353fZRFNVUhCZnHE4LQjJsPRQRFARBAwVMer5Yu77HrLiVYa4UjcrxPCU2tDLFaSy24JXCsw8oJSzX', -// 'AG1GfiKMoSmCaecBNRNPamvMNbk67eAniELdz9hJiJHUu279gHzqwPQYDGhHTj2CH8iXj6CSvnHNfupFMzqnvGk', -// '4CUyvYGn7wcseRMqRCKjr5fuQX4Q1E2GcCVKTtyn8aQSNbg82afkXPWcGiEU9ktmcMFbtLM46B1aGvKKrgKnYFzi', -// '5B2eQFXHexK5jSk2ctik1v9sTH25KVknEmZxUDyP4kLVs72PwNDXZJ7GpGkFdSHJLS6hrbn7vwSmosyVhVBTU6i3', -// '3n2gXukUu1KdFvQGoZFg7w5ggiQFgex3iCmeEqXYwT6krwntwZMRLSyrzF368nCVhuiPYYYAvo8dzF4FVyoHvGBC', -// '4WwSCZWyGKYSoTHJPnG7e8VjJuxjUgayzjm8KQCLnbdWHpzP3RuhvqoUgqmmURYmBCCxiHoz582rLzirVpWpJtbv', -// '5upTTNar8padYyxcset6Uzjjyq5fxdt7DL7TWJP4bJ92BJ1kBYHu9QcrECcmsTm4YmZpebopmAKbCn5aLcAeu2BY', -// '5pydzk9nU5LEi8BAMBQCUJqKYYGD9fxo3hVycLFTt6nV6W7MiWJn39xGvq6B5Q5JZQFKyeWEHqJDjzcxrWQPEpsx', -// '47QRgJ9B6VkfQ7bi69baDsqXKRCKqiKFxC4V5yyBp4NanoUfMaqNUiJSeMy8jhaksNnHeVR9Z5enAnGr1P2AHU7a', -// 'pF9NrG1QjJZheGnM3cYadqJpuUUAL3jVTz2VoMYqPg7sxhQstk7KqoQ6xdGramx2c4puHQhBQNagvkusXG5gUcs', -// '2AQvsE533PUdnPPkWuSu3C79RcAvMD25EC82qqXm1z3ifQHZ6XwuoXzepovvXkLwn912E3cDknSGyA7CSwrw41Ji', -// 'xeViGCseG66mmf4Xaxytru4VNwp2CuJHZg1kSA2UMNRywREbS7NukfxzmR3ogJKrkSzR1JzVD5T85j8kru8vYpM', -// '4RWcsG5wytuap3giQmVv1EshPhDqd5WxoVaXHYkUepq7o5ykVUE2PQUPxXLAxdEkyTWXunCEpxaNBKdodjSvhbvh', -// '5sJJsaMRpndDNmB8oVq9rs14R8b3VbDwwp5UE5r88Xv1FhBcDg1z6waYwv7UotSpExxfQRxX1HtR1fk9LT2SBty3', -// '2Gj5SDUkEL8VjAAXDJR3fjTFuByjZvqgJxKjkUHoqskEr2e1p7tTvWUWonddJ5ANVrbNFEzJbKrr7RnFxY7jP5vq', -// '4b3nxwP1zaLuFAzF3hpgYUAQcqzZjnz78CaSYX4v8KwtUGAFE5tHK954m5kVdsD5G5woArUWQGk9mhrFf2BzzKzr', -// '4BSzPcKsghDAAwBSHMomaABspu69j4B4cVdTJanJaWTizkmqv19EJ3trCGoaEfWfR7qqbiCiW9e44voizwgPNpaC', -// '5JiTbH5T7FJtSrErnsBMFCStbWmUtviQkTeve9Lmwg3URMyYJq1ExPvsEaWAKxU83Le69Ja5Z9B1AQBSUFLhH5RX', -// '2bC9quyYcTafvhjZf7e3WsQHqbfPWxpemkXswSXhgX8STxmKm59PGogerR3ikVK3DZDYaRe6DaqVKrnAMGzwJ3Fb', -// '3xR1qEetq1NVeu3W9HL6Lry6Tt62JkAbw7G2cLEYmuUqUF9bqQBYMz2M7HGxjYdA2hVkkY5L7xQ3prgsa943RBMm', -// '2L9ZMh714yeuRF91QyViniqZaGm6qMEcV74HYvzk3iKKznVSPfeGbmYrtQ3KYJKzYT1eFxeK6iHJ3xZHRJKP6kC5', -// '2MK729pzKrnAhBdPbN9C2oCPiqngB2eMAbCqGEXsUTpEuxV5iyVYrJ7WkZy3g5LGnwKERmqVsXy5AqVcovBnxUtM', -// 'UN6d56EoXFGLEqTGH7aTQ1UX64Vogng8RmYbrw7UjNixrdXKL9LCAtEsreg2YWTHKETpnEbdt8xPLq5yMurVhRK', -// '4AMb12uwAvWjZZUuviZgMuLVo92LgnrrMFEsSjCozEE1wiKx5gG6vNDu5DG6KXqJbrzFCEP5Ae9MC1JU7mA6s1p9', -// '2vWnA82SyLXowG8jPvEMguaJA53z8NRKg7NQAAgAEoyrWArNZKQDiFHDDmmvHv3oP4KiBQNYBqqAfxRqqZpwVqZB', -// 'Cchf3sZTQscZJu9uSARx5fJEDkwf2mWhRbSzQM3ajCNnDSud6yvEgQZRBTdh8jQp2ApQbuKcv2v87gaAgeEZDoz', -// '4U4aX7b47K8t7D9guNVnc7zM4tADuXEKn2bpDLCQqGmsafyGejWYUpxXJkCbiEteYZkAzwYXYEtMrTqm49pXyqZZ', -// '4MkcStc45i5e2NWYikRrXH5vHj8bGXHYMc82qgREPxXwcpwozSWug4xodHBiskDpWYs2wDJu3rmD3cKNQ94XQBEv', -// '3VcAHkcs7TNRXaRmoDu4hKg2DKwNSindprYCtu4AhC8PbF6dLofjToTs3CLRJ5XJJjBvxF6G1buj9WswxZzYp6MA', -// '2BG35ZTUCmC71sEspvgyDDDHHjMnXS9jdDFy19BGLir12Ge5BB1w41Tgzi9waQhzREx2sdBbrehixTVYn9jbsVzG', -// '3X7P1dU94zGTfjhuzMXSxHy7xfT14bEobMfhdTZoQQ9rho8qbFvJDitGPSQrDGv6XEmRypFz1RaY86DYV2hmDjRB', -// 'T6zVJLnT9o6gjZyF9xLZCadSMXGzi8e14ZY9b4Uy2PHEWvX6Djfm8h41t7N1d7BbagUMNNW1cJa8bMNQ4aHpgkL', -// '4rnB3m3PVt7ZKrhp4o1eiMCEcBPGm52G3tmwarqjiigmS6p2hiqyZRpE3HduTP4bWsTwM8xq9BgTVHcotpL4VfDR', -// '2hLF3TJPWvvyBpmmmArGJxKov1YUrHpXhEtHXBmTfpv3oaFMZv3S4ucxkRduhC2hzegUd4MjxVfSqj836z1A1awA', -// '4urCMzpqWgu2oF9qYSEWHMgA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7KK1GHu', -// '2namgrtB6hpx1EPfbrqPh19kEWJTynaTHZNEPNz8gGqo4u9eXhRrxcGtiheQg5hscecFq4gnA8g7DChuJHC7Zgcm', -// '45jPx29yJqgvEh212FPWWDTBiRsEjFfGHgaxGKbEFj7ku8AW4ayNNygodKDgeAjUnF4GZKDix7BaXk5mR14Rx5jZ', -// 'aZoN1exMEjrrEMf3PjcUs1X4uionm9ttkyNVayrGYvsmLGnuFNhCRg8x5iEqE6A8fPTJ1e2akscFZuQS7fBDmUS', -// '3ddMwzQvM7FsSBR6g9RXmVXrFKopprDAnQYaHVC8WK5Y88j94omub2TngGTX7aRS84cxx9ZsAosnPa43nbmtv44e', -// '3NBffgvPKqxM1DVKcjyphJb8Y2BGUeN91f2U46D6VKmW5SMwEfbLhNXzRhYJQi5cmUT5XuSQ3s5HzbpHsfVtdCZS', -// '4FxemdS1twpYrtw5NgW72gmaF3yDZcpdKXiPf3wCmLX6fqcXkVrjkdwGe9UTqBAynN3U13dLqtBD9X4h5sdTRA7z', -// 'AyRNakKXPr2KNXkZ6JGrhFyZ4WH9pPNron16RLRm63nV4zapVk469XjWqkVe1jpiC4f8L7MfWUu1hqMgptHmS7A' -// ]; - - -(async () => { - // const keypairs = pks.map(key => Keypair.fromSecretKey(base58.decode(key))); - // console.log(pks.length); - // let i = 0; - // for(const key of keypairs) { - // // await sleepTime(1000) - // console.log(key.publicKey.toBase58()); - // try{ - // const tokenAccounts = await connection.getTokenAccountsByOwner( - // key.publicKey, - // { programId: spl.TOKEN_PROGRAM_ID } - // ) - // i += tokenAccounts.value.length; - // }catch(e){ - // console.log(e); - // } - // } - - // console.log(i) - - // const instructions: TransactionInstruction[] = []; - // for (let i = 0; i < tokenAccounts.value.length; i++) { - // const balance = await connection.getTokenAccountBalance( - // tokenAccounts.value[i].pubkey - // ); - // console.log(tokenAccounts.value[i].pubkey.toBase58()) - - // if (Number(balance.value.amount) > 0) { - // await spl.burn(connection, walletKeypair, tokenAccounts.value[i].pubkey, new PublicKey('12Nw41dxn2Y6sg6YPaqttGELvR3JjXHdTJxuFf4vwu1L'), walletKeypair, Number(balance.value.amount)) - // const transferInstruction = spl.createTransferInstruction( - // tokenAccounts.value[i].pubkey, - // new PublicKey('3HU7wsi5bQa3yjLUapRSFWJk9WzY8cqQVcmn6arCSdWL'), - // walletKeypair.publicKey, - // Number(balance.value.amount) - // ); - // instructions.push(transferInstruction); - } - // else{ - // const closeAccountInstruction = spl.createCloseAccountInstruction( - // tokenAccounts.value[i].pubkey, - // owner.publicKey, - // walletKeypair.publicKey - // ); - // instructions.push(closeAccountInstruction); - // } - // } - // const tipInstruction = SystemProgram.transfer({ - // fromPubkey: owner.publicKey, - // toPubkey: getJitoTipAccount(), - // lamports: 10000, - // }); - // instructions.push(tipInstruction); - // await sendBundle(instructions);} -)(); \ No newline at end of file