0.4.0 • Published 3 months ago

@kriptonio/truffle-kriptonio v0.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

truffle-kriptonio

Kriptonio plugin for Truffle

This plugin allows you to upload compiled hardhat smart contract artifacts to Kriptonio. On kriptonio side new smart contract will be created with attached artifacts, which you can afterward deploy and manage via kriptonio.

Installation

npm install @kriptonio/truffle-kriptonio

Setup

Add @kriptonio/truffle-kriptonio to plugins in your truffle-config.js file.

plugins: [
  '@kriptonio/truffle-kriptonio',
],

Next, add truffle-kriptonio config to your truffle-config.js file.

Configuration Options

optionDescription
accessToken (required)Kriptonio organization level access token. You can find it in your settings page.
chainId (required)ID of the chain where you want to deploy your smart contract. List of supported blockchain networks with their chain IDs you can find here.
contract (required)Smart contract name which you want to upload to kriptonio
title (optional)Title of kriptonio smart contract project to be created. Defaults to contract name.

Example configuration:

kriptonio: {
  title: 'My Token on Kriptonio',
  contract: 'MyERC20',
  accessToken: '<kriptonio-access-token>',
  chainId: 137,
},

Run

Before running truffle-kriptonio plugin, run compile.

truffle compile

Now you are ready to upload your smart contract to kriptonio.

truffle run kriptonio-upload
0.4.0

3 months ago

0.3.3

4 months ago

0.3.2

4 months ago

0.3.0

5 months ago

0.3.1

5 months ago

0.2.0

1 year ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago