How to Deploy
Here, we will provide information on how to deploy your Smart Contract
Are you ready? Do you have your smart contract ready? the .pvm & .abi file?
If not, go and compile it with Tomb Compiler.
Using Cman
For using Cman, we need to compile it, or download the Published files at the repository. Step by step on how to do it.
Download the Published (Compiled) files.
Extract them to a folder.
Enter the folder, open up the terminal or command line there.
Now let's type some commands:
Arguments explanation
All the arguments that can be used.
--contract <value>
-> attribute to select the path to the contract .pvm (/path/to/some/contract.pvm
).--rpc-url <value>
-> attribute to select the rpc url.--wif <value>
-> attribute to set the wif of the wallet used to deploy the contact.--nexus <value>
-> 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
Using Phantasma HUB
Go to the Phantasma HUB where you can deploy your contract and do much more than that!
Go to the contract Management Tab

Now select Deploy contract ( This would be the same for updating the contract )

Fill the Contract/Token name, upload the .pvm and .abi files

Don't forget: Don't forget to connect your wallet and then you can deploy your token or contract.
Deploy to the chain.

Last updated