Skip to content

Instantly share code, notes, and snippets.

import org.web3j.crypto.Keys;
import org.web3j.crypto.Sign;
import org.web3j.utils.Numeric;
import java.security.SignatureException;
public class SignUtil {
private static final String GETH_SIGN_PREFIX = "\u0019Ethereum Signed Message:\n32";
@henrywang1
henrywang1 / command.sh
Last active October 13, 2022 02:09
Force push subtree to heroku
# Push subtree in local branch to heroku
git push heroku `git subtree split --prefix project-name local-branch-name`:master --force