Kadena

Kadena supports the following signature kinds:

  • PactCommand, unsigned Pact command.

PactCommand

Signs an unsigned Pact command.

Field
Description
Type - Optional

blockchainKind

Kadena

String

kind

PactCommand

String

command

The Pact command JSON serialized as string.

String

{
  "blockchainKind": "Kadena",
  "kind": "PactCommand",
  "command": "{\"payload\":{\"exec\":{\"code\":\"(coin.transfer \\\"k:120ebd7ecf1550ef08b8fa310607af6364f2fdf76b59ba10a50e0f79ad60c528\\\" \\\"k:f2f3065017402cedeedc821b0579bf2bf916c6c8a1f279741403d694e23510e6\\\" 0.000000000001)\",\"data\":{}}},\"nonce\":\"kjs:nonce:1757410106698\",\"signers\":[{\"pubKey\":\"120ebd7ecf1550ef08b8fa310607af6364f2fdf76b59ba10a50e0f79ad60c528\",\"scheme\":\"ED25519\",\"clist\":[{\"name\":\"coin.GAS\",\"args\":[]},{\"name\":\"coin.TRANSFER\",\"args\":[\"k:120ebd7ecf1550ef08b8fa310607af6364f2fdf76b59ba10a50e0f79ad60c528\",\"k:f2f3065017402cedeedc821b0579bf2bf916c6c8a1f279741403d694e23510e6\",{\"decimal\":\"0.000000000001\"}]}]}],\"meta\":{\"gasLimit\":2500,\"gasPrice\":1e-8,\"sender\":\"k:120ebd7ecf1550ef08b8fa310607af6364f2fdf76b59ba10a50e0f79ad60c528\",\"ttl\":28800,\"creationTime\":1757410106,\"chainId\":\"0\"},\"networkId\":\"mainnet01\"}"
}
  • The response only includes the signature. You must package it correctly before submitting the transaction to chain.

  • Kadena does not have a deterministic serialized format. The exact serialized string used for signing must be submitted.

Typescript Example with kadena.js

Coming soon

Last updated