Skip to content

raduciobanu22/pact-lang-api-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pact-Lang-API Cookbook

Common use cases for pact-lang-api


Overview

Name Description
ACCOUNTS
Create Account Create a KDA account.
Create And Fund Account Create and fund a KDA account.
Rotate Keys Update the keyset guarding the account.
Get Balance Get account balance.
TRANSACTIONS
Get Transaction Status Gets transaction status using the tx request key
Utils
Deploy contract Deploy a Pact smart contract
Read state Read state of a contract
Verify Signature Verify a key pair signature

Setup

  1. Install dependencies
npm install
  1. Set key pair

Each script requires a key pair that controls a KDA account used to pay for gas fees. Make sure you set the KEY_PAIR const.

  1. Run commands

Example:

node accounts/create-account account-name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published