Create a new Smart Contract
Learn what a Smart Contract is
Alright, let's create our first contract. Head to the Avalanche Starter Kit Codespace and create a new folder called my-contracts in the src folder.
Now in there create a new file called HelloWorld.sol and paste the following contents:
Now let's deploy the contract:
If deployed successfully we should see something like this:
This means we have deployed our contract to the address 0x52C84043CD9c865236f11d9Fc9F56aa003c1f922. Using this address we can now call our contract:
Don't forget to replace the contract address with the one your contract was deployed to. The result should look like this: