Skip to content

Instantly share code, notes, and snippets.

@asymmetric
Last active February 20, 2019 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save asymmetric/e5b0d4a90e9709a01b629c2ddd977a0c to your computer and use it in GitHub Desktop.
Save asymmetric/e5b0d4a90e9709a01b629c2ddd977a0c to your computer and use it in GitHub Desktop.
shell.nix
{ nixpkgs ? <nixpkgs>
, eth_from
, eth_keystore ? ~/.dapp/testnet/8545/keystore
, eth_password ? "/dev/null"
}:
let
dapptools = import ((fetchGit {
url = https://github.com/dapphub/dapptools.git;
ref = "ce05606a8e8f76bced691d6e03c8625862c17d97";
}) + "/overlay.nix");
pkgs = import nixpkgs { overlays = [ dapptools ]; };
in
pkgs.mkShell {
buildInputs = with pkgs; [ bc dapp ethsign seth ];
ETH_FROM="${eth_from}";
ETH_KEYSTORE="${eth_keystore}";
ETH_PASSWORD="${eth_password}";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment