Deploying Smart Contracts
1. Create Foundry Project & Write Contracts
curl -L <https://foundry.paradigm.xyz> | bash
foundryupforge init memecore-contract-demo
cd memecore-contract-demo// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
contract Counter {
uint256 public number;
function setNumber(uint256 newNumber) public {
number = newNumber;
}
function increment() public {
number++;
}
}2. Deploying Contracts and Checking Results
Requirements
Deploying Contracts
Checking Results
3. Common Issues & Solutions
Last updated