Skip to content

Instantly share code, notes, and snippets.

View mredigonda's full-sized avatar
🇦🇷
Argentina

Maximiliano Redigonda mredigonda

🇦🇷
Argentina
View GitHub Profile
@ivandiazwm
ivandiazwm / erc20_transfer_fee.sh
Created September 1, 2021 23:49
GNOME Widget: ERC-20 token transfer fee price
#!/bin/bash
# Description: GNOME Widget for getting the current fee for transfering ERC-20 tokens in ETH mainnet
# Requirement: Use GNOME (in Ubuntu Linux, for example)
# Dependency: Install Argos https://github.com/p-e-w/argos
# Installation: Add your API keys to this file and copy the file into ~/.config/argos.
# Preview: https://ipfs.infura.io:5001/api/v0/cat?arg=QmXbxqwXCzSkQJKdvM6jxkBuKWiSPFc4cMqXMcnDEyxbLy
# Author: Ivan Diaz (github.com/ivandiazwm)
export PATH="/usr/local/bin:$PATH"
#!/usr/bin/env python
import networkx as nx
import matplotlib.pyplot as plt
import math
from random import random
from numpy import arange
N = 1000
K = 5