create-pact-app
create-pact-app copied to clipboard
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 project -
Hack 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 frontend -
vanilla
will initialize a plain html + javascript frontend
-
-
Signing: how you want to sign for the blockchain transactions
-
gas-station
: no need to pay for gas -
wallet
: uses Chainweaver wallet to pay for gas
-
-
Contract:
-
deployed
: interact with a previously deployed contract -
deploy-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.