Skip to content

A Truffle Plugin to create a persistent interface for your smart contract(s)

Notifications You must be signed in to change notification settings

oneclickdapp/truffle-plugin-one-click-dapp

Repository files navigation

🍫 1️⃣ 💥 Truffle One Click Plugin

Create a persistent interface for any smart contract directly from a Truffle project. 🏆 Winner 3rd Place at Trufflecon 2019 Hackathon

Install

From within your Truffle project directory, run

npm i oneclick

Next, add the plugin to the truffle-config.js file, like this:

module.exports = {
  /* ... rest of truffle-config */

  plugins: ['oneclick']
};

Usage

truffle run oneclick

Note: Be sure you've migrated your contracts using Ganache, testnet, mainnet, etc. using truffle migrate

For each deployed contract you will receive an output like this: I

ShipA (8 functions) on network 4447 can be used at:

https://oneclickdapp.com/saga-north

You can use whatever network you like on the oneclickdapp interface page. Just change the network in Metamask, and ignore the warning message!

If you have too many interfaces generated, then delete /build folder and run truffle migrate to reduce the number of different networks.

Created with 🍫 at Trufflecon 2019:

About

A Truffle Plugin to create a persistent interface for your smart contract(s)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published