From b4e0f39c50fbd97607bc61421d7854119f50e437 Mon Sep 17 00:00:00 2001 From: BobTheBuidler <70677534+BobTheBuidler@users.noreply.github.com> Date: Mon, 16 May 2022 22:50:25 -0400 Subject: [PATCH] chore: basic readme --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index e69de29b..85acdf9a 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,21 @@ + +using with brownie: +` +from brownie import Contract, web3 +from dank_mids.brownie_patch import patch_contract +from dank_mids import setup_dank_w3_from_sync + +dank_w3 = setup_dank_w3_from_sync(web3) +weth = patch_contract(Contract(0x1234), dank_w3) +total_supply = await weth.totalSupply.coroutine(block_identifier=12345) +` + +using with web3py: +` +I'll add this later +` + +using with multicall: +` +I'll add this later +`