Pinned Tweet
Get support, suggest features, or just say 'gm' with us in dapphub.chat 🧑💻
getting serious 2016-2017 vibes from dapphub chat right now 😃
@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…
DappTools retweeted
More...
dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools dapptools
@dapptools
youtube.com/watch?v=K3Umd1IT…
DappTools retweeted
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
DappTools retweeted
I guess I have been @dapptools pilled :D
my solidity template has now some tests using it: github.com/wighawag/template…
you get the best of both @HardhatHQ (+ hardhat-deploy plugin) and dapptools
Really like the speed of dapptools and testing facilities!
@boredGenius @transmissions11
DappTools retweeted
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.
Replying to @hasufl
"Do as I do, not as I say":
We also provide MultiRaffle, a reference implementation that we consider a good balance between all properties and that is simple to understand and build upon!
github.com/Anish-Agnihotri/M…
DappTools retweeted
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…
DappTools retweeted
With gasnow going down, here is a diy version.
`while sleep 13s; do seth basefee; done` 😜 @dapptools @dapphub
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
DappTools retweeted
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
DappTools retweeted
ALPHA LEEEEEEK
github.com/dapphub/dapptools…
DappTools retweeted
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
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 ❇
DappTools retweeted
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…
DappTools retweeted
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…
DappTools retweeted
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.
DappTools retweeted
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.
DappTools retweeted
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
DappTools retweeted
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…
DappTools retweeted
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. 🧵👇

























