DappTools (@dapptools) header
DappTools (@dapptools) profile picture

A suite of Ethereum focused CLI tools following the Unix design philosophy, favoring composability, configurability and extensibility.

Joined September 2021
Photo by DappTools (@dapptools)Photo by DappTools (@dapptools)
DappTools retweeted
Just published setup-dapptools github action. It's very useful if u want to add CI in your existing pipelines (e.g. Running dapp test on every pull request) github.com/marketplace/actio…
1
3
1
35
More... dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools @dapptools youtube.com/watch?v=K3Umd1IT…
3
6
1
27
Why @dapptools: 1. no dependency hell (try seeing how big node_modules is) 2. tests in same language as the one im developing on 3. fuzzing, formal verifcation, code coverage, gas profiling all out of the box 4. interactive debugger 5. speed
8
16
5
146
i guess no need to say it at this point, but this "secure NFT launch" codebase by @anishagnihotri is written with @dapptools. great reference for people to learn from.
4
32
And of course @SyndicateDAO is hiring Solidity engineers. You'll work closely with me on new protocols. We use @dapptools 🔥 xitter.cf/SyndicateDAO/status/14…
Syndicate is entering a new phase of rapid growth and development. We’re hiring an experienced Solidity engineer to help design & deploy our next generation of smart contracts with Syndicate's co-founders, engineering leads & partners. Apply. Join us. syndicateprotocol.notion.sit…
1
3
14
DappTools retweeted
With gasnow going down, here is a diy version. `while sleep 13s; do seth basefee; done` 😜 @dapptools @dapphub
2
6
DappTools retweeted
Smooth @risedle's contract deployment + verification using seth(1) by @dapptools The dev experience is top notch. It helps me to iterate quickly on kovan
3
7
would you attend a dapptools workshop?
It would be cool to do a @dapptools during @0xliscon or @ETHLisbon. I imagine it as dapptools 101 and how to massively red-pill people so that they know enough to enter the rabbit hole on their own. Who's in? @transmissions11 @gakonst LFG
18
6
99
Played around with the decompiled contract. It was easy to read from the state using Seth from @dapptools For example: seth call $store "balanceOf(address, uint)" 0x60...034 $tokenid Will call 'balanceOf' of contract address $store with args 0x60., $tokenId
1
1
8
DappTools retweeted
Replying to @gakonst @dapptools
Yesss, that's why we use the @dapptools heavily for our @ETHGlobal hackathon project serr. The fuzz tests, formal verification and hevm cheat codes. It so easy to use and make life easier. It's feel so gewwd wen it's green ❇
2
10
ICYMI, dapptools-template is the easiest way to get started with DappTools. Built in Solidity tests, mainnet forking, fuzz tests, formal verification, deployment & deployment tests and more! github.com/gakonst/dapptools…
3
15
1
96
Anyone hacking at @ETHGlobal this year should definitely look into this! Ideal repo to get started with @dapptools
ICYMI, dapptools-template is the easiest way to get started with DappTools. Built in Solidity tests, mainnet forking, fuzz tests, formal verification, deployment & deployment tests and more! github.com/gakonst/dapptools…
1
6
Using a simple bash script with seth, we find that the list of markets the user has entered (`getAssetsIn`) is the same as the list of market inputs on Etherscan. So nothing strange here—the user just tried to claim COMP for all Compound markets they’ve entered.
1
1
5
Within that method, we’ll eventually get here where we check if `borrowIndex > compInitialIndex`. In the top left you’ll see we're executing the GT (greater than) opcode. This pops the top two elements off the stack, compares them, and puts the result on the stack.
1
1
5
The full tx trace can be seen with ` seth run-tx $txHash --source implementation.json --trace` This shows every call made, and because we bundled the source we get decoded method names and inputs. You can see the final call is the transfer of 91,170 COMP
1
1
1
10
To figure out what went wrong let’s look at this transaction, which claimed 91,170 COMP ($27M): etherscan.io/tx/0xf4bfef1655… Using dapptools: github.com/dapphub/dapptools… And duppgrade to make sure we’re on the most recent dapptools version: github.com/Rari-Capital/dupp…
1
2
10
Here are a few more details behind the Compound bug from looking at a specific transaction. Alternatively, this thread is a brief guide to debugging with @dapptools xitter.cf/Mudit__Gupta/status/14…
Compound Incident Analysis: Compound upgraded their comptroller contract to etherscan.io/address/0x374ab… which had a one letter bug on L1217. This led to a reverse rug pull in which Comptroller is giving away more rewards to (past) Suppliers than expected. 🧵👇
2
14
4
76
For this weekend, I ported @dapptools to docker. The next iteration of this project would be to create a devenv for @code. A fully-fledged Linux container to develop smart contracts. The same environment no matter the host. This will be fun.
2
3
16