Documentation
WebsiteMineGitHubFaucet
  • Welcome to MakeOS
  • Introduction
    • Install
    • Quick Start
    • Set Up a Private Network
    • Get Test Coins
    • Track a Repository
    • What is MakeOS
    • How it Works
    • Tokenomics ($MAKE)
    • Dilithium (Deprecated)
    • Roadmap
    • Team
  • Concepts
    • Repository
      • Register a Repository
      • Initialize a New Repository
      • Repository Governance
      • Access Control Config
    • Namespace
    • Key
    • Issue Management
    • Merge Request
    • Transactions
      • Register a Repository
      • Send Coins
    • Validator
    • Host
    • Remote
  • JavaScript Console API
    • repo
    • pushkey
    • namespace
    • node
    • user
    • transaction
    • ticket
  • KIT CLI Reference
    • Overview
    • init
    • start
    • console
    • attach
    • key
      • create
      • gen
      • get
      • import
      • list
      • update
    • tx
      • get
    • repo
      • config
      • create
      • hook
      • init
      • vote
    • user
      • send
    • pk
      • register
    • sign
      • commit
      • note
      • tag
    • contributor
      • add
    • issue
      • close
      • create
      • list
      • read
      • reopen
      • status
    • mr
      • checkout
      • close
      • create
      • fetch
      • list
      • read
      • reopen
      • status
Powered by GitBook
On this page
  • Usage
  • Arguments
  • Options
  • Example

Was this helpful?

  1. KIT CLI Reference
  2. repo

create

The create command creates a transaction that will register a new repository on the network.

It requires a signing key from the keystore to sign the transaction. The passphrase to unlock the selected signing key can be provided via -p flag or a prompt will be started to ask for it.

Usage

kit repo create [options]
Usage:
  kit repo create [flags] <name>

Flags:
  -c, --config string             Specify repository settings or a file containing it
  -f, --fee float                 Set transaction fee to pay to the network
  -h, --help                      help for create
  -n, --nonce uint                Set the next nonce of the signing account signing
  -u, --signing-key string        Address or index of local account to use for signing transaction
  -p, --signing-key-pass string   Passphrase for unlocking the signing account
  -v, --value float               The amount of coins to transfer to the repository

Arguments

  • name - The unique name of the repository.

Options

  • -c, --config - Provide the repository’s governance and access control settings.

  • -h, --help - Prints out a help message.

Transaction Options

  • -f, --fee - The number of coins to pay as the transaction fee. It will be deducted from the signer's account.

  • -n, --nonce - The next nonce of the signer's account (current nonce + 1).

  • -v, --value - The number of coins to transfer from the signer's account.

  • -u, --signing-key - The address or index of a key that will be used to sign the transaction.

  • -p, --signing-key-pass - The passphrase that will be used to unlock the signing key.

Example

The example below creates a transaction that will register a repo named myrepo and transfers 120 units of coins to its balance account.

kit repo create "myrepo" -u=0 -f=1.51 -v=120
✅ Transaction sent!
 - Name: r/myrepo
 - Hash: 0x8297afee13e9a34d3023867ce0d4ca9e515fd1dd3560d959301436d41da3c116
 - Confirmed!
PreviousconfigNexthook

Last updated 4 years ago

Was this helpful?