0.0.17 • Published 2 years ago

debug-eth-contract v0.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🛠️ debug-eth-contract

This is a react component to debug a solidity contract . Made with typescript ,wagmi,etherjs and scaffold-eth

DEMO

usage

import DebugContract

import { DebugContract } from "debug-eth-contract";

props to pass

  1. DebugContract component accepts the contracts props as array.
  2. inside contracts array pass {contrractName,contract} object
  3. here conract property is your contract instance with its provider
<DebugContract contracts={[
               { contractName: "YourContract", contract: contract },
               { contractName: "YourContract", contract: contract },
            ]} />
for working example code check example folder in this repo

Guides

  • Check out wagmi hooks docs for example of how to use hooks
  • you can look at speedrun ethereum to get started with scaffold-eth-typescript and web3.
    • 🏁 Make sure to click on the typescript tab!

🏃💨 Speedrun Ethereum

Register as a builder here and start on some of the challenges and build a portfolio.

More Information!

📚 Documentation

Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io

Eth-hooks documentation is here. Learn how to use the contexts here.

🔭 Learning Solidity

Read the docs: https://docs.soliditylang.org

Go through each topic from solidity by example editing YourContract.sol in 🏗 scaffold-eth

🛠 Buidl

Check out all the active branches, open issues, and join/fund the 🏰 BuidlGuidl!

Follow the full Ethereum Speed Run

💬 Support Chat

Join the telegram support chat 💬 to ask questions and find others building with 🏗 scaffold-eth!

🙏🏽 Support us!

Please check out our Gitcoin grant too!

🔐 P.S.About keys

You need an RPC and API keys for testnets and production deployments, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx in packages/vite-app-ts/.env with your new keys.