junbeomlee / dapptools

Dapp, Seth, Hevm, and more

Home Page:https://dapp.tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

built with nix

Dapp tools by DappHub

Hello!

This repository contains the source code of several dapp tools hand-crafted and maintained by DappHub, along with various Nix expressions which are all bundled up into a Nix overlay.

To install tools from this repository follow these instructions:

Install Nix

Make sure you are using Nix v2

curl https://nixos.org/nix/install | sh

# Run this or login again to use Nix
. "$HOME/.nix-profile/etc/profile.d/nix.sh"

Setup Cachix (optional)

If you want to cache the binary builds across several computers, Nix provides several ways of doing this, the most convenient being the Cachix service.

We maintain a public cache which you can use by installing Cachix

nix-env -if https://github.com/cachix/cachix/tarball/master --substituters https://cachix.cachix.org --trusted-public-keys cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM=

then running

cachix use dapp

followed by restarting your Nix daemon (if on a multi-user Nix installation)

Install our tools

To install tools from this repository, you need to run

git clone --recursive https://github.com/dapphub/dapptools $HOME/.dapp/dapptools
nix-env -f $HOME/.dapp/dapptools -iA dapp seth solc hevm ethsign

which will build and install these tools into your Nix profile, optionally fetching the binaries from the cache if you have configured it.

TODO

[ ] Better installation instructions. [ ] Explain how to use the cache without installing Cachix. [ ] Make a script that installs Nix and/or configures the cache.

About

Dapp, Seth, Hevm, and more

https://dapp.tools


Languages

Language:Haskell 45.4%Language:Rust 22.0%Language:Nix 12.4%Language:Shell 11.8%Language:Go 2.9%Language:Emacs Lisp 1.3%Language:JavaScript 1.3%Language:C 1.2%Language:Python 0.9%Language:Makefile 0.5%Language:Dockerfile 0.3%Language:CSS 0.1%Language:HTML 0.0%