Skip to main content

Deploy your contract

In this section, we're going to upload one of our optimised builds alpha.wasm to our local environment.

  1. First, check you are in the root of the project.
pwd
  1. Run the following command:
npm install cudos-blast
  1. 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.

Copy address

Keep a note of this as you will need it to interact with your contract.