Skip to content

Instantly share code, notes, and snippets.

View metaver5o's full-sized avatar
💭
cryptography enthusiast

metaver5o.eth metaver5o

💭
cryptography enthusiast
  • Pixelvault
  • Earth
View GitHub Profile
@metaver5o
metaver5o / multisig.sol
Created March 26, 2023 11:26
solidity multisig wallet
# This code creates a multisig wallet contract with a variable number of owners and a specified number of confirmations required to execute a transaction. The contract includes functions to deposit funds, submit a new transaction, confirm a transaction, and execute a transaction. The code also includes a struct to define each transaction, a mapping to track confirmations, and a function to return the number of transactions in the contract. This is a simple example and may not be sufficient for all use cases, so it is important to carefully review and test any smart contract code before deploying it on the blockchain.
pragma solidity ^0.8.0;
contract MultiSigWallet {
@metaver5o
metaver5o / single word BTC seed phrases
Last active February 14, 2023 14:17
single word BTC seed phrases
action action action action action action action action action action action action
agent agent agent agent agent agent agent agent agent agent agent agent
aim aim aim aim aim aim aim aim aim aim aim aim
all all all all all all all all all all all all
ankle ankle ankle ankle ankle ankle ankle ankle ankle ankle ankle ankle
announce announce announce announce announce announce announce announce announce announce announce announce
audit audit audit audit audit audit audit audit audit audit audit audit
awesome awesome awesome awesome awesome awesome awesome awesome awesome awesome awesome awesome
beef beef beef beef beef beef beef beef beef beef beef beef
believe believe believe believe believe believe believe believe believe believe believe believe
@metaver5o
metaver5o / gist:4e5d8e7c5f521ce93eb01cb51c97bb5e
Created January 12, 2023 14:10
opensea api http call to refresh metadata
curl https://testnets-api.opensea.io/api/v1/asset/0xCOLLECTION/$TOKEN_ID?force_update=true
curl https://testnets-api.opensea.io/api/v1/asset/0xCOLLECTION/$TOKEN_ID?force_update=true
@metaver5o
metaver5o / Alpha Pass MΞTAVΞR5O.eth
Last active March 26, 2023 11:29
Alpha Pass MΞTAVΞR5O.eth
This is the Alpha Pass metaver5o.eth
Holders are entitled to FULL CRYPTO COURSE, 6 months / 1 class per week.
At the end of the course, you can just attend to it again, in the next crew
or you can SELL your NFT to somebody else in the second market.
Course topics to be listed here soon.
PRE-SALES for FULL CRYPTO COURSE will be held in next days.
Thanks,
MΞTAVΞR5O.eth
@metaver5o
metaver5o / truffle ganache docker
Last active March 16, 2022 15:10
truffle ganache multistage dockerfile
FROM node:16-bullseye-slim as base
RUN apt-get update && \
apt-get install --no-install-recommends -y \
build-essential \
python3 && \
rm -fr /var/lib/apt/lists/* && \
rm -rf /etc/apt/sources.list.d/*
RUN npm install --global --quiet npm truffle ganache
[
{
"name": "Wrapped Ether from Ethereum",
"address": "0x6A023CCd1ff6F2045C3309768eAd9E68F978f6e1",
"symbol": "WETH",
"decimals": 18,
"chainId": 100,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png"
},
{
@metaver5o
metaver5o / transferOwnership.sol
Created December 15, 2021 19:31
transferOwnership
#
# Panoramix v4 Oct 2019
# Decompiled source of poly:0x22e51BAe3f545255E115090202A23C7edE0B00B9
#
# Let's make the world open source
#
#
# I failed with these:
# - unknown32da7fb2(?)
# All the rest is below.
### Keybase proof
I hereby claim:
* I am metaver5o on github.
* I am mmatos (https://keybase.io/mmatos) on keybase.
* I have a public key ASCObBbiEj21BS9cmVuEXYHL6ZlZhzzMPlsgGjQYGvvfxwo
To claim this, I am signing this object:
@metaver5o
metaver5o / total supply erc20 token
Created October 29, 2021 19:59
total supply erc20 token
pragma solidity >=0.6.0 <0.8.0;
import "../../GSN/Context.sol";
import "./IERC20.sol";
import "../../math/SafeMath.sol";
contract ERC20 is Context, IERC20 {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
@metaver5o
metaver5o / bash inline editing
Created September 30, 2021 20:02
inline editing
cat << EOF > /tmp/yourfilehere
These contents will be written to the file.
This line is indented.
EOF