oneclick

1.0.2 • Public • Published

🍫 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:

Dependents (0)

Package Sidebar

Install

npm i oneclick

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

84.9 kB

Total Files

7

Last publish

Collaborators

  • pi0neerpat