/kcc95

Instant retro UI for interacting with KCC smart contracts.

Primary LanguageTypeScript

██╗  ██╗ ██████╗ ██████╗ █████╗ ███████╗
██║ ██╔╝██╔════╝██╔════╝██╔══██╗██╔════╝
█████╔╝ ██║     ██║     ╚██████║███████╗
██╔═██╗ ██║     ██║      ╚═══██║╚════██║
██║  ██╗╚██████╗╚██████╗ █████╔╝███████║
╚═╝  ╚═╝ ╚═════╝ ╚═════╝ ╚════╝ ╚══════╝

Netlify Status npm version MIT licensed

Instant retro UI for interacting with KuCoin Smart Contracts

kcc95.netlify.app

## 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 / smart contract (Truffle, Buidler, etc.) as long as you point it to the JSON artifacts. OR Manually add ABIs and or artifacts for any already deployed smart contract you want to interact with.

  1. Installation

    npm install -g kcc95
  2. 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 contract manually 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