kcc95 v1.0.0
██╗ ██╗ ██████╗ ██████╗ █████╗ ███████╗
██║ ██╔╝██╔════╝██╔════╝██╔══██╗██╔════╝
█████╔╝ ██║ ██║ ╚██████║███████╗
██╔═██╗ ██║ ██║ ╚═══██║╚════██║
██║ ██╗╚██████╗╚██████╗ █████╔╝███████║
╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚════╝ ╚══════╝
Instant retro UI for calling any contract function you want
Features
- 🤙 Call any contract function as long as you have the ABI
- 🔌 Connect via localhost:8545, MetaMask, or a custom node URL
- ⚡ Watches your artifacts folder and automatically updates the UI
- 🔢 Encode your calls for a proxy to call on your behalf
- ⚙️ Set a custom signer or a custom contract address
- 📜 Built-in log for easy visibility
Install
Works on any dapp project (Truffle, Buidler, etc.) as long as you point it to the JSON artifacts. And even if you don't have a project, you can run it by itself and manually add ABIs and artifacts.
Installation
npm install -g kcc95
Run with path to your artifacts folder:
kcc95 ./build/contracts
How it works
When kcc95
is run, an Express server is fired up and a frontend (packaged by Parcel) is served at localhost:3000
(you can define the port with a flag -p 1234
). The server will watch the directory you passed in for any changes to your artifacts and send those changes down to the frontend via Websockets.
Note that you can also add any contracts you want if you have the ABI or Artifact (there is an Add Contract button).
Contact
If you have any questions or comments, please file an issue. I can also be reached via Telegram @GweiDart
2 years ago