Skip to main content

Deploy Configurations

When deploying your program to IPFS and registering it to the LASR Network, you can define several configurations that will determine how your program will behave. The following table presents all available parameters you can use when deploying.

OptionDescriptionTypeRequiredDefault
--version, -vDisplay the version number of the deployment tool.booleanNo
--helpDisplay the help menu for the deployment tool.booleanNo
--build, -bThe name of the program file being built.stringYes
--author, -aThe author of the contract.stringNoYour wallet's address.
--name, -nThe name of the contract.stringNoYour wallet's address.
--symbol, -sThe symbol for the program.stringYes
--programName, -pA name for the program.stringYes
--initializedSupplyThe initial supply of the token.stringYes
--totalSupply, -tThe total supply of the token to be created.stringYes
--recipientAddress, -rThe address for the initialized supply.stringNo
--txInputsAdditional inputs for the program.stringNo
--keypairPathThe path to the keypair file.stringNo./.lasr/wallet/keypair.json
--secretKeyThe secret key for the wallet.stringNo
--targetThe build target.stringNonode (choices: "node" - more soon)
info

It is essential to keep track of your program account id when deploying it. The program account id is the required key to interact with your program later.