{"signature": "0x2139fe5e76a815fd22fe79bfab2440fcb0627d1f06a51bbb6fb407d02895401c5e55c6fc67e86cda5f315c024872f21286657baf74dc1190b33dacc84280b8501c", "application": {"round": "0xedb366e318fc2c94c16852ff2fb99a3f59db8cbb", "answers": [{"type": "email", "hidden": true, "question": "Email Address", "questionId": 0, "encryptedAnswer": {"ciphertext": "59OVkI3dU4mRg14twAgpihLiB1BFQKVv2gxBI+Iqo84=", "encryptedSymmetricKey": "236500cfbbad3e76f90d23611e861fe3d72248eef349028e7c1b0d3693be5a3996c509ff1b7211b2807c491a00ddba00a61ca776613b52063cccff99b8e7915ae26de4471e209b2a358a4c970d95d7f818bd59a1496cbe9a000faf4515c42ab9683a665a548713eaf70f1d1e2777c2fedadaf30a5727dc2ee7122740a34236d60000000000000020afae3ecca33a9b5202f3a7575cb8617f914ad065892f073df113e8761d7bfba6ea4977c7309f7c2ebeb4962c5374b5b7"}}, {"type": "short-answer", "answer": "None", "hidden": false, "question": "Funding Sources", "questionId": 1}, {"type": "number", "answer": "1", "hidden": false, "question": "Team Size", "questionId": 2}], "project": {"id": "0xf1082b71aa913e5749b81b0c1f9c0be7fc94b60c1d34a9d668575a0b141e59e6", "title": "blocksmith.js", "logoImg": "bafkreieh6qqxw5spofomongnyscvcxn2o6a3rdcjf5cnusoojl5g7ztonq", "metaPtr": {"pointer": "bafkreieeh7kn6chewxme6k3vnquj6ehxfyeyrhwsm4bet2ivzzn5twhbzq", "protocol": "undefined"}, "website": "https://github.com/adraffy/blocksmith.js", "bannerImg": "bafkreiaotati3capwhwfpbem7gxuh5qwtatwwk674iwqwdffrjb5gjstwy", "createdAt": 1713295313949, "userGithub": "adraffy", "credentials": {"twitter": {"type": ["VerifiableCredential"], "proof": {"jws": "eyJhbGciOiJFZERTQSIsImNyaXQiOlsiYjY0Il0sImI2NCI6ZmFsc2V9..6PovvtbhP2SlDAFmKfyPmKDqozyooIr9bOro4xveL_iQ6a22C1R_4ROiBtmSBWDGUroZKCrFQpnapZQKtLRwDQ", "type": "Ed25519Signature2018", "created": "2024-04-16T19:21:24.857Z", "proofPurpose": "assertionMethod", "verificationMethod": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC#z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC"}, "issuer": "did:key:z6MkghvGHLobLEdj1bgRLhS4LPGJAvbMA1tn2zcRyqmYU5LC", "@context": ["https://www.w3.org/2018/credentials/v1"], "issuanceDate": "2024-04-16T19:21:24.857Z", "expirationDate": "2024-07-15T19:21:24.857Z", "credentialSubject": {"id": "did:pkh:eip155:1:0x51050ec063d393217B436747617aD1C2285Aeeee", "hash": "v0.0.0:AJx770QpmnmSguwLbHG5gOSDS1ao/sG+GOjrGK1jV3E=", "@context": [{"hash": "https://schema.org/Text", "provider": "https://schema.org/Text"}], "provider": "ClearTextTwitter#adraffy"}}}, "description": "blocksmith.js is a minimal Javascript testing framework for Ethereum contract development using foundry-rs and ethers. Foundry is great speed-wise but writing tests in Solidity is a disaster and the command-line interface is bad for complex operations. Hardhat is slow, has way too much boilerplate, interacts poorly with modern ESM. Both projects are very \"do it our way\". The result is that many contracts don't have tests, and the tests that exist aren't end-to-end. \n\nOTOH, blocksmith.js is simple. It gives you a lightweight wrapper around `forge` and `anvil`, so you can script Foundry however you want. You can use any async JS testing framework, including the default nodejs test runner, or just write simple JS scripts that glue anything you want together. \n\nTo properly test an ENS contract with CCIP-Read, you need to deploy a lot of infrastructure: a registry, a resolver, some names, a CCIP-server, and then test all of the interactions. blocksmith.js makes this trivial.\n\nAt the moment, you can `npm i @adraffy/blocksmith`. I'd like to write tests for more contracts to illustrate how to use blocksmith. This is also an useful learning experience as I get to figure out what features I'm missing or what needs improved. This should expand the feature set and improve ergonomics. \n\nI'd like to explore making end-to-end tests for cross-chain communication so developers can locally simulate things like EVM gateway and other ideas. Running parallel testnets is blocksmith.js is effortless and I see a lot of value in cross-chain tests that can be described in a single JS file. ", "lastUpdated": 0, "projectTwitter": "adraffy"}, "recipient": "0x51050ec063d393217B436747617aD1C2285Aeeee"}}