Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phantasma-io/cman

Phantasma - Contract Deployer
https://github.com/phantasma-io/cman

blockchain layer1 phantasma phantasmachain phantasmaio smartcontract smartcontracts smartnft smartnfts

Last synced: about 1 month ago
JSON representation

Phantasma - Contract Deployer

Awesome Lists containing this project

README

        

# Cman (Smart contract Deployer)
Cman is a smart contract deployer for the Phantasma Chain.

## Attributes
All the attributes that can be used.
* `--contract ` -> attribute to select the path to the contract .pvm (`/path/to/some/contract.pvm`).
* `--rpc-url ` -> attribute to select the rpc url.
* `--wif ` -> attribute to set the wif of the wallet used to deploy the contact.
* `--nexus ` -> attribute to select the nexus name.
* `--token` -> attribute to deploy if the smart contract is a token
* `--update` -> attribute to update the smart contract previously deployed

## How deploy a smart contract via Cman

Example:
`./cman deploy --contract /path/to/some/contract.pvm --rpc-url http://localhost:7077/ --nexus simnet --token --wif "yourwifgoeshere"`