Learn to Build Smart Contracts and Onchain Apps https://docs.base.org/base-learn/docs/welcome/
https://docs.base.org/base-learn/progress/
https://docs.base.org/base-learn/docs/exercise-contracts/
Prepare code.
let's compile and deploy here https://remix.ethereum.org/
-
Deploying to a Testnet (BasicMath)
https://docs.base.org/base-learn/docs/deployment-to-testnet/deployment-to-testnet-exercise
code https://sepolia.basescan.org/address/0x303d880a0a2bb990b147b1e7f3ba7652909916ef#code
-
Control Structures
https://docs.base.org/base-learn/docs/control-structures/control-structures-exercise/
-
Storage
https://docs.base.org/base-learn/docs/storage/storage-exercise/
code https://sepolia.basescan.org/address/0x7389f7ed35c85809165bd52b316261b339b20e6d#code#F1#L60
-
Arrays (ArraysExercise)
https://docs.base.org/base-learn/docs/arrays/arrays-exercise/
code https://sepolia.basescan.org/address/0xa129ECa5c460c406e7fE7e61a2d063e7Ced67488#code
-
Mappings (MappingsExercise.sol)
https://docs.base.org/base-learn/docs/mappings/mappings-exercise/
code https://sepolia.basescan.org/address/0x018e95393523896dF5a6509B787E51eFC8d5b428#code
-
Structs (StructsExercise)
https://docs.base.org/base-learn/docs/structs/structs-exercise/
code https://sepolia.basescan.org/address/0xfDa30371cFe53c96Ef22797FFF96d8010428cD9d#code
-
Inheritance (InheritanceExercise)
https://docs.base.org/base-learn/docs/inheritance/inheritance-exercise/
Steps for Deployment
Deploy the 'Salesperson' contract using the values: 55555, 12345, 20. Deploy the 'EngineeringManager' contract using the values: 54321, 11111, 200000. Deploy the 'InheritanceSubmission' contract using the addresses of the 'Salesperson' and 'EngineeringManager' contracts.
-
Import (ImportsExercise)
https://docs.base.org/base-learn/docs/imports/imports-exercise/
code https://sepolia.basescan.org/address/0x0d82a3d9df0a390f10c443c6abd8c7ae945018e6#code
-
Error Triage Exercis
https://docs.base.org/base-learn/docs/error-triage/error-triage-exercise/
code https://sepolia.basescan.org/address/0xc3182392805748e690366d6c15e7a9dc9032d3ba#code
-
The "new" keyword (New Exercise)
https://docs.base.org/base-learn/docs/new-keyword/new-keyword-exercise/
-
Minimal Tokens Exercise (UnburnableToken)
https://docs.base.org/base-learn/docs/minimal-tokens/minimal-tokens-exercise/
code https://sepolia.basescan.org/address/0xbcea15a2c6a26a41270ee012e1fae6098df48b8a#code
-
ERC-20 Tokens Exercise (token)
https://docs.base.org/base-learn/docs/erc-20-token/erc-20-exercise/
-
ERC-721 Tokens Exercise (nft)
https://docs.base.org/base-learn/docs/erc-721-token/erc-721-exercise/