Pact Contract, Local/Testnet/Mainnet Deploy Harness
A multi-chain token launchpad
Overview
An early build that established the deployment and testing harness for the launchpad’s Kadena smart contracts. It provides a repeatable environment to deploy the same Pact contracts to a local Pact server, testnet, and mainnet, with a small frontend for exercising contract API calls.
Why It Exists
Before the production contract suite existed, the team needed to validate the full lifecycle of deploying and signing Pact contracts on Kadena, including the multi-signer, multi-keyset signing flow required for admin-governed contracts. This build de-risked that workflow.
What We Built
A deploy harness organized into pact-local, pact-testnet, and pact-mainnet environments plus an early pact contract set, with npm scripts to run a local Pact server (start:pact) and deploy to it (start:deploy). Mainnet deployment is driven by YAML files defining signer public keys and admin keysets (e.g. admin-multi-keyset, admin-1), with documented pact add-sig / pact combine-sigs flows to assemble multi-signature transactions and submit them to Chainweb via the send API. Unsigned transaction templates are included for the core contracts (vesting, hype-locker, community-v2, callable-contracts). A bundled frontend lets developers fire test API calls against the deployed contracts.
Technologies & Approach
Built around Kadena’s Pact (3.7+) toolchain and Chainweb mainnet endpoints. The signing model uses multi-keyset governance with externally-held signer keys combined off-chain before submission. A lightweight JS/React frontend serves as the manual test surface.
Outcome / Impact
Validated the end-to-end path from contract source to a signed, multi-keyset mainnet deployment on Kadena, and proved out the local/testnet/mainnet promotion workflow that the later production contract repository formalized.
Capabilities Demonstrated
- Standing up local/testnet/mainnet Pact deployment environments
- Implementing multi-keyset, multi-signer transaction signing on Kadena
- Automating contract deployment with npm and shell scripts
- Building a frontend harness for on-chain API testing