Adding a smart contract in your project
Command
To add a smart contract cargo in your project, run this command
Creating a contract cargo with duplicate name will prompt overwrite checks. Answer them with caution to prevent loss.
Once the command is run, a contract cargo with the given name will be added to contracts/
directory with the following items.
Last updated
Was this helpful?