Skip to content

Instantly share code, notes, and snippets.

View fakenickels's full-sized avatar
💭
hello this is a mic test, are you listening

Gabriel fakenickels

💭
hello this is a mic test, are you listening
View GitHub Profile
#!/bin/bash
# Ensure we're in a git repository
if ! git rev-parse --git-dir > /dev/null 2>&1; then
echo "This is not a git repository."
exit 1
fi
# Fetch the latest changes from the remote repository
git fetch origin
require("dotenv").config({ path: "../.env.local" });
const { abi } = require("../artifacts/contracts/Airdrop.sol/Airdrop.json");
const ethers = require("ethers");
const { chunk } = require("lodash");
const provider = new ethers.providers.JsonRpcProvider(process.env.NETWORK_RPC);
const signer = new ethers.Wallet(process.env.WALLET_PK, provider);
const airdropContract = new ethers.Contract(
"0xf0898E0E49F5fC2C69E916242bAaa7e890775B21",
abi,
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
interface KittensHD {
function getGeneralMintCounter() external returns (uint256);
function getPrice(uint256 quantity) external returns (uint256);
function unpauseMinting() external;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
export interface VannaWebhookRequestEventBody {
  VANNA_SECRET: string
  event_type: string
  payload: Payload
  sent_at: string
}

export interface Payload {
  source: string
<html>
<body>
<style>
#canvas {
border: 1px solid black;
background-color: white;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/RecordRTC/5.5.6/RecordRTC.js"></script>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.