Skip to content

elvirafitriani/baselearn-contractdeploy

Repository files navigation

baselearn-contractdeploy

Learn to Build Smart Contracts and Onchain Apps https://docs.base.org/base-learn/docs/welcome/

check your progress here

https://docs.base.org/base-learn/progress/

for contract refference

https://docs.base.org/base-learn/docs/exercise-contracts/

what do we need?

Prepare code.

let's compile and deploy here https://remix.ethereum.org/

let's get started

  1. 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

  2. Control Structures

    https://docs.base.org/base-learn/docs/control-structures/control-structures-exercise/

  3. Storage

    https://docs.base.org/base-learn/docs/storage/storage-exercise/

    code https://sepolia.basescan.org/address/0x7389f7ed35c85809165bd52b316261b339b20e6d#code#F1#L60

  4. Arrays (ArraysExercise)

    https://docs.base.org/base-learn/docs/arrays/arrays-exercise/

    code https://sepolia.basescan.org/address/0xa129ECa5c460c406e7fE7e61a2d063e7Ced67488#code

  5. Mappings (MappingsExercise.sol)

    https://docs.base.org/base-learn/docs/mappings/mappings-exercise/

    code https://sepolia.basescan.org/address/0x018e95393523896dF5a6509B787E51eFC8d5b428#code

  6. Structs (StructsExercise)

    https://docs.base.org/base-learn/docs/structs/structs-exercise/

    code https://sepolia.basescan.org/address/0xfDa30371cFe53c96Ef22797FFF96d8010428cD9d#code

  7. 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.

  8. Import (ImportsExercise)

    https://docs.base.org/base-learn/docs/imports/imports-exercise/

    code https://sepolia.basescan.org/address/0x0d82a3d9df0a390f10c443c6abd8c7ae945018e6#code

  9. Error Triage Exercis

    https://docs.base.org/base-learn/docs/error-triage/error-triage-exercise/

    code https://sepolia.basescan.org/address/0xc3182392805748e690366d6c15e7a9dc9032d3ba#code

  10. The "new" keyword (New Exercise)

    https://docs.base.org/base-learn/docs/new-keyword/new-keyword-exercise/

  11. Minimal Tokens Exercise (UnburnableToken)

    https://docs.base.org/base-learn/docs/minimal-tokens/minimal-tokens-exercise/

    code https://sepolia.basescan.org/address/0xbcea15a2c6a26a41270ee012e1fae6098df48b8a#code

  12. ERC-20 Tokens Exercise (token)

    https://docs.base.org/base-learn/docs/erc-20-token/erc-20-exercise/

  13. ERC-721 Tokens Exercise (nft)

    https://docs.base.org/base-learn/docs/erc-721-token/erc-721-exercise/

more refference

https://github.com/airdroprealm/Base

https://github.com/tadams95/Base-Camp

About

Learn to Build Smart Contracts and Onchain Apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published