Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
hello this is a mic test, are you listening

Gabriel Rubens Abreu fakenickels

💭
hello this is a mic test, are you listening
View GitHub Profile
View 1-ultimate_airdrop.js
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,
View airdrop.sol
// 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;
View courseonator.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View test.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View vanna webhook api.md
export interface VannaWebhookRequestEventBody {
  VANNA_SECRET: string
  event_type: string
  payload: Payload
  sent_at: string
}

export interface Payload {
  source: string
View svg to video.html
<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>
View final.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View svg.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Le guia de grypto web3 e cultura crypto.md
View Splitter.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.3;
contract FakeWormProfitSplitter {
address payable public fake = payable(0xE592783bF90e5C875dfaF4582575cFc864b5fB6c);
address payable public worms = payable(0x5b87102358a61BC9a6D32b20B121bbfd2A535C8d);
receive() external payable {
fake.transfer(msg.value / 2);