Skip to content

Script Command Line Guide

Bursa Command Line Guide for Multi-Signature Operations.

Bursa can also be used to generate multi-signature scripts. The Bursa script command has 3 command types that you can run.

Script command types:

  • create: Creates a new multi-signature script
  • validate: Validates a script against signatures and slot
  • address: Generates mainnet address from script
  • Create a 2-of-3 multi-sig script
./bursa script create --required 2 --key-hashes abcdef1234567890abcdef1234567890abcdef12,abcdef1234567890abcdef1234567890abcdef13,abcdef1234567890abcdef1234567890abcdef14
  • Create an all-signers-required script
./bursa script create --all --key-hashes abcdef1234567890abcdef1234567890abcdef12,abcdef1234567890abcdef1234567890abcdef13
  • Create an any-signer script
./bursa script create --any --key-hashes abcdef1234567890abcdef1234567890abcdef12,abcdef1234567890abcdef1234567890abcdef13,abcdef1234567890abcdef1234567890abcdef14
  • Create a timelocked script (valid after slot 1000000)
./bursa script create --required 2 --key-hashes abcdef1234567890abcdef1234567890abcdef12,abcdef1234567890abcdef1234567890abcdef13 --timelock-after 1000000

Explore other Bursa Commands

Bursa Command Categories

  1. wallet   - Commands for generating wallet and the files needed to manage a Cardano wallet
  2. api     - Commands for running API
  3. cert    - Commands for generating various Cardano certificates
  4. hash     - Commands for generating cryptographic hashes used in Cardano
  5. script    - Commands for multi-signature operations
  6. address - Commands for working with Cardano addresses
  7. key     - Commands for deriving individual keys from a mnemonic