1.0.0 • Published 4 years ago

create-pact-app v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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

  1. $ npm install -g create-pact-app

  2. $ create-pact-app

  3. Follow cli options to configure your project

  4. 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:
    • testnet: interacts with Kadena testnet
    • mainnet: interacts with Kadena mainnet
  • Chain ID
    • 0-19: select to interact with any chain from 0 to 19

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.