This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const HELP = "Usage example: \n\nnode transfer.js receiver amount"; | |
const Pact = require("pact-lang-api"); | |
require("dotenv").config(); | |
const NETWORK_ID = "testnet04"; | |
const CHAIN_ID = "1"; | |
const API_HOST = `https://api.testnet.chainweb.com/chainweb/0.0/${NETWORK_ID}/chain/${CHAIN_ID}/pact`; | |
const KEY_PAIR = { | |
publicKey: process.env.SENDER_PUBKEY, | |
secretKey: process.env.SENDER_SECRET_KEY, | |
}; |