create-pact-app
v1.0.0
Published
Boilerplate for creating a blockchain enabled app with Pact and Kadena
Downloads
13
Readme
create-pact-app
Fastest way to get started building apps using Kadena's blockchain!
Prerequisites
Make sure you have a current version of Node.js installed – we are targeting versions 12+
.
You should also have npm or yarn installed to run the app
Getting Started
$ npm install -g create-pact-app
$ create-pact-app
Follow
cli
options to configure your projectHack away!
Project Options
You will be presented with several cli options
- Project Name:
- any string with what you want to name the project
- Platform: chose frontend framework
react
will initialize a React.js frontendvanilla
will initialize a plain html + javascript frontend
- Signing: how you want to sign for the blockchain transactions
gas-station
: no need to pay for gaswallet
: uses Chainweaver wallet to pay for gas
- Contract:
deployed
: interact with a previously deployed contractdeploy-own
: deploy own contract before interacting with it
- Network:
- Chain ID
0-19
: select to interact with any chain from0
to19
License
This repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE and LICENSE-APACHE for details.