Andrey Petrov
Andrey Petrov
One more update: I made a stand-alone nix flake which uses the binary releases, it lives here for now (good chance I'll move it eventually): https://github.com/shazow/nixfiles/blob/master/flakes/foundry/flake.nix This means that anyone...
Ah figured out how to use my foundry flake as an input for my solidity project's devshell flake, in case this is useful for anyone: ```nix # flake.nix { inputs...
Update in case anyone else is using this with nix: I refactored my foundry binaries derivation so it's much cleaner now and can be easily updated with latest nightlies using...
I think I have a working setup here: https://github.com/shazow/foundry.nix Should auto-update daily. Let me know if anyone has problems! I'd still like to track this issue as the solc thing...
@beeb Yay you're welcome! Keep an eye on https://github.com/nix-community/ethereum.nix, we might merge into there once foundry has persistent tagged versions. Lots of other goodies there too!
@gakonst Ideally I'd prefer to have versioned tagged releases so that we can do cached builds from source on NixOS. Right now it's fairly hacky (elf patching binaries). I do...
@Padraic-O-Mhuiris Very cool! Any interest in adding that as a helper to https://github.com/shazow/foundry.nix? Or maybe even https://github.com/nix-community/ethereum.nix
Just spelunking through some iron-wallet issues. WhatsABI doesn't have calldata decoding yet (hmm should I add it, or is that too out of scope?), but we _do_ have [some nice...
Yea! You'd use something like parseAbiItem on the first result (it'll give you all the candidates, but first one is usually most common), that gives you the abi that you...
Haven't tested it but I imagine it something like this: ```typescript import { whatsabi } from "@shazow/whatsabi"; import { decodeFunctionData, parseAbi } from "viem"; const calldata = "..."; const selector...