Skip to content

Instantly share code, notes, and snippets.

View tunnckoCore's full-sized avatar
🔒
Fighting for freedom, security and privacy 🔐

Charlike Mike Reagent tunnckoCore

🔒
Fighting for freedom, security and privacy 🔐
View GitHub Profile
address token_id inscription_number inscription_id
bc1pk42g9szvyl7xxdpdszn5ql6ce2mzc0wmy05y97qfmu7hs8uftnns5tc37k 47 9268408 63cad99d0828689fd0b7c865737428237c461aac0b700c42f747b15947a62503i0
bc1pgw7am8ttfpwu6qlj4xkum7hh29jc6algy8ugl683mfgu9g68n0fql64wdy 44 9321125 d27c3715c205e95fa4db74846ab277d7e038b6e3c80c8930691536140524e7b2i0
bc1prcspr4afwa4t99uu80gl7eyutfsfjhun7pmluqr5uygegueflrpqgpfv2h 43 9321126 2908fdb46b95fce9376931e216f917b192f389af43576785570b49e30a29d5e0i0
bc1p2l0r8nmqnjlmefkujtth78mvf4q7pcrf5uq68jzyye6w42xeegrs4065mn 88 9321127 2f53392e4a19fdd37f88a1a994ac563d8f6101ec506ec3c1a1dcdc4d19f5a548i0
bc1pgw7am8ttfpwu6qlj4xkum7hh29jc6algy8ugl683mfgu9g68n0fql64wdy 57 9321128 440f36f3ec02e8666801385d757db54354c858e484a898c6663de8d8a1da13b0i0
bc1p2l0r8nmqnjlmefkujtth78mvf4q7pcrf5uq68jzyye6w42xeegrs4065mn 45 9321129 b07c1ac38a3df03249d49098b6cb80af979a3cf60406899651cc5615e5284b8ei0
bc1pqqhjw3v2frj0tur9ljv2928sdglhc2mzul35ll4d4pu765v3ds0q6a44md 38 9321130 142c64fbd3e10eacbc5306541cfa6d7fad006292cc28dad85b6b7
@tunnckoCore
tunnckoCore / mapping.csv
Last active April 28, 2023 18:51
All holders of $NEK0 BRC-20 and the inscriptionIds - all are 782 inscriptions, but only 696 of them are valid.
address inscriptionId
bc1pcma0kehzu8aztcnzuwp7dr4yd3el0nykvv9fzrz4s9s485mkxukq70twnc 9010b0da4217107931fb99330fb1624ad2c97696b89f8147df329df5b34dee02i0
bc1pcma0kehzu8aztcnzuwp7dr4yd3el0nykvv9fzrz4s9s485mkxukq70twnc e82db1a92cf7de7d351941c301f8e09eaa1d06e2506d26d97d757f4186ef9313i0
bc1pcma0kehzu8aztcnzuwp7dr4yd3el0nykvv9fzrz4s9s485mkxukq70twnc abb4f4a6446b084bfa876e5b14fcd8260bce40536d70d564203b619fbf26bf40i0
bc1pcma0kehzu8aztcnzuwp7dr4yd3el0nykvv9fzrz4s9s485mkxukq70twnc dbf1e08e162f1cd4a7aebcff926aa272763aa3301ff5b7c38651aee340c8a153i0
bc1pcma0kehzu8aztcnzuwp7dr4yd3el0nykvv9fzrz4s9s485mkxukq70twnc 918d2d2db6404590388b90c35c22256e7c27342192abbfe99d8d1da9b8109064i0
bc1pcma0kehzu8aztcnzuwp7dr4yd3el0nykvv9fzrz4s9s485mkxukq70twnc 651a2ab9188e0587b4d469d0361c821be4bc1c9393798cdbd690abcb67c06074i0
bc1pcma0kehzu8aztcnzuwp7dr4yd3el0nykvv9fzrz4s9s485mkxukq70twnc 29659f936ebc17f075b1c14089265b489100baf35795f8659b3f53b70d08cc81i0
bc1pcma0kehzu8aztcnzuwp7dr4yd3el0nykvv9fzrz4s9s485mkxukq70twnc 046de67e54ae6e955cf5e8d45b0f3
@tunnckoCore
tunnckoCore / WTF20.sol
Last active April 25, 2023 23:43
Solidity v0.8 Token Deployer Factory for cheaply deploying secure ERC-20 Burnable tokens with no ownership. Allows for deploying with CREATE2 too. The ownership of the created token is renounced immediately after creation.
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
// Created by @tunnckoCore / @wgw_eth / wgw.eth
// Compatible with IERC20 (OpenZeppelin impl), IERC20Metadata, ERC20Burnable, Ownable
// The reason to be custom copy, is this a bit cheaper to deploy and i'm short on funds.
// ERC20Burnable and Ownable are also implemented and included at the end of the contract.
// There's also a public mint function, available only for the owner of the contract.
@tunnckoCore
tunnckoCore / BurnLotto.sol
Last active April 25, 2023 23:42
A Solidity v0.8 lottery contract. In 150 lines. Called BurnLotto, because players deposit an ERC20 burnable tokens, and a winner is chosen randomly when round is finished - x% of deposited tokens are burned, the rest are transferred to the winner. Apache-2.0 licensed.
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.18;
// Created by @tunnckoCore / @wgw_eth / wgw.eth
interface IERC20Burnable {
function burn(uint256 value) external;
function balanceOf(address account) external view returns (uint256);
@tunnckoCore
tunnckoCore / dates.sh
Created January 4, 2023 21:40
datetime across timezones
#!/bin/bash
date "+%B %e, %A"
SOFIA=`TZ=Europe/Sofia date "+%T"`
NEW_YORK=`TZ=America/New_York date "+%T"`
LOS_ANGELES=`TZ=America/Los_Angeles date "+%T"`
TOKYO=`TZ=Asia/Tokyo date "+%T"`
LONDON=`TZ=Europe/London date "+%T"`
@tunnckoCore
tunnckoCore / bookmarks-very-latest.json
Last active January 4, 2023 21:35
bookmarks latest (late december 2022 / early january 4th, 2023)
{
"guid": "root________",
"title": "",
"index": 0,
"dateAdded": 1653919252386000,
"lastModified": 1672683141576000,
"id": 1,
"typeCode": 2,
"type": "text/x-moz-place-container",
"root": "placesRoot",
@tunnckoCore
tunnckoCore / install-copilot.sh
Created December 19, 2022 02:34 — forked from JonhSHEPARD/install-copilot.sh
Github Copilot on NixOS
#!/bin/sh
if [ "$EUID" -ne 0 ]
then echo "This script must be run as root"
exit
fi
if [ "$#" -ne 1 ]; then
echo "Usage: ./$0 <path-to-ide"
exit 1
@tunnckoCore
tunnckoCore / official-etherlogs-ranked-by-rarest-first
Last active October 29, 2022 06:00
official-etherlogs-ranked-by-rarest-first
[{"id":268,"dna":"691ed82a6812cdb7be1fa46c3a2ba7765c0907a8","name":"Ether Logs #268","description":"Hand-drawn Logs on Ethereum. Do you own your favorite log?","imageIpfs":"ipfs://bafybeifxaxbipz6vnizbwjq4tgva2symq5m3dj3szqgnjtx6nvhxnob7cm/268.png","imageHttps":"https://bafybeifxaxbipz6vnizbwjq4tgva2symq5m3dj3szqgnjtx6nvhxnob7cm.ipfs.cf-ipfs.com/268.png","imagePinata":"https://alchemy.mypinata.cloud/ipfs/bafybeifxaxbipz6vnizbwjq4tgva2symq5m3dj3szqgnjtx6nvhxnob7cm/268.png","imageLocal":"/images/268.png","traits":{"background":"ether-white","ring":"gold","log":"black"},"trait":{"background":16,"ring":36,"log":18},"rarity":{"background":2.6041666666666665,"ring":1.3888888888888888,"log":2.7777777777777777,"score":6.770833333333333},"score":6.77,"rank":1},{"id":477,"dna":"46302f26abb5a65a557e941ce971b574539357c5","name":"Ether Logs #477","description":"Hand-drawn Logs on Ethereum. Do you own your favorite log?","imageIpfs":"ipfs://bafybeifxaxbipz6vnizbwjq4tgva2symq5m3dj3szqgnjtx6nvhxnob7cm/477.png","imageHttps":"
@tunnckoCore
tunnckoCore / Marketplace.sol
Last active August 29, 2022 23:07
Perpetual NFT Marketplace, with increasing token price - cannot list it for less than the last sale + 20% (configurable)
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
interface IERC721 {
function ownerOf(uint256 tokenId) external view returns (address owner);
function transferFrom(address from, address to, uint256 tokenId) external;
function isApprovedForAll(address owner, address operator) external view returns (bool);
}
@tunnckoCore
tunnckoCore / BasicMarketplace.sol
Last active August 27, 2022 14:31
Secure, cheap, and fast independent Solidity NFT Marketplace, in 100 lines. Not relying on external APIs, indexers, or oracles.
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
// import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
interface IERC721 {
function ownerOf(uint256 tokenId) external view returns (address owner);
function transferFrom(address from, address to, uint256 tokenId) external;
}