PactJS Test Project
This project demonstrates the use of the @kadena/pact-cli
together with
@kadena/client
for smart contracts and transaction templates.
Smart Contracts
We can generate the .kadena/pactjs-generated
to be used by @kadena/client
with the @kadena/pactjs-cli
.
Generate the TypeScript definitions for @kadena/client
s modules
.
// install @kadena/pactjs-cli with your preferred package manager
pnpm install @kadena/pactjs-cli
// retrieve a contract
curl
// install @kadena/pactjs-cli with your preferred package manager
pnpm install @kadena/pactjs-cli
// retrieve a contract
curl