Deploy your contract
In this section, we're going to upload one of our optimised builds alpha.wasm
to our local environment.
- First, check you are in the root of the project.
pwd
- Run the following command:
npm install cudos-blast
- Now run the deploy script
blast run scripts/deploy.js
Example deploy response
blast run scripts/deploy.js
Contract deployed at: cudos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9strccpl
When the contract is deployed, the address
of the contract is returned.
address
Keep a note of this as you will need it to interact with your contract.