Skip to content

Instantly share code, notes, and snippets.

View watertim's full-sized avatar

WaterTim watertim

View GitHub Profile
@watertim
watertim / erc20-token-sample.sol
Created October 26, 2020 18:48 — forked from bajcmartinez/erc20-token-sample.sol
Necessary code to generate an ERC20 Token
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : LCST
// Name : LCS Token
// Total supply : 100000
// Decimals : 2
// Owner Account : 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe
@watertim
watertim / redelegate-evmos-all.sh
Last active November 27, 2021 13:54 — forked from apetresc/redelegate-cro.sh
A script to automatically claim staking rewards and re-stake them
#!/bin/bash -e
if [[ "$1" == "-h" || "$1" == "" ]]
then
echo "Usage: $0 <validator-address> [-y]"
exit
fi
# Arguments
VALIDATOR=$1