This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import threading | |
from datetime import datetime | |
from decimal import Decimal | |
import boto3 | |
import cloudscraper | |
import pymysql | |
import requests | |
from bs4 import BeautifulSoup | |
from pytz import timezone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto3 | |
import requests | |
class UpdateDB: | |
def __init__(self): | |
self.result = [] | |
self.get_sudoswap() | |
self.update_db() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import threading | |
from decimal import Decimal | |
from time import time | |
import boto3 | |
import cloudscraper | |
import requests | |
from bs4 import BeautifulSoup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// if type module -> cannot use reqiure, need import | |
// In package.json: "type": "module", | |
import { OpenSeaSDK, Network } from "opensea-js"; | |
import HDWalletProvider from "@truffle/hdwallet-provider"; | |
import { config } from 'dotenv'; | |
config(); | |
const WALLET_PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY | |
const OPENSEA_API_KEY = process.env.OPENSEA_API_KEY | |
const RPC_URL = process.env.RPC_URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Signer } from 'ethers' | |
import { ethersWallet, init, acceptOffer } from '@x2y2-io/sdk' | |
import { Network } from '@x2y2-io/sdk/dist/network' | |
require('dotenv').config() | |
// https://github.com/X2Y2-io/x2y2-sdk | |
const X2Y2_API_KEY: string = process.env.X2Y2_API_KEY || "" | |
const WALLET_PRIVATE_KEY: string = process.env.WALLET_PRIVATE_KEY || "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Signer } from 'ethers' | |
import { ethersWallet, init, offer } from '@x2y2-io/sdk' | |
import { Network } from '@x2y2-io/sdk/dist/network' | |
require('dotenv').config() | |
// https://github.com/X2Y2-io/x2y2-sdk#making-offers--collection-offers | |
const X2Y2_API_KEY: string = process.env.X2Y2_API_KEY || "" | |
const WALLET_PRIVATE_KEY: string = process.env.WALLET_PRIVATE_KEY || "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// if type module -> cannot use reqiure, need import | |
// In package.json: "type": "module", | |
import { OpenSeaSDK, Network } from "opensea-js"; | |
import HDWalletProvider from "@truffle/hdwallet-provider"; | |
import { config } from 'dotenv'; | |
config(); | |
// https://github.com/ProjectOpenSea/opensea-js#making-offers | |
const WALLET_PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const https = require('https') | |
const { Wallet } = require('ethers') | |
const { | |
addressesByNetwork, | |
SupportedChainId, | |
generateMakerOrderTypedData, | |
} = require('@looksrare/sdk') | |
require('dotenv').config() | |
const WALLET_PRIVATE_KEY = process.env.WALLET_PRIVATE_KEY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
slug = "azuki" | |
url = f'https://api.opensea.io/vnext/offers/collection/{slug}/traits' | |
headers = { | |
"X-API-KEY": "2972994f68bb4dfc9f68c944f473c329" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from decimal import Decimal | |
import boto3 | |
import requests | |
class UpdateDB: | |
def __init__(self): | |
self.result = [] |
OlderNewer