On September 10th, Base Chain will begin enforcing a per-transaction gas cap. Read more here.

Base Documentation home pagelight logodark logo
  • Blog
  • GitHub
  • Support
  • Base.org
Get Started
Base Chain
Base Account
Base App
Mini Apps
OnchainKit
Cookbook
Showcase
Learn
Building Onchain
  • Welcome
Onchain Concepts
  • Core Concepts
  • Understanding Onchain in Your Tech Stack
  • The Development Flow
Introduction to Ethereum
  • Introduction
  • Ethereum Dev Overview
  • Ethereum Applications
  • Gas Use in Ethereum Transactions
  • EVM Diagram
  • Guide to Base
Onchain App Development
Smart Contract Development
    • Imports Overview
    • Step by Step Guide
    • Exercise
Development with Foundry
  • Deploying a smart contract using Foundry
  • Foundry: Setting up Foundry with Base
  • Foundry: Testing smart contracts
  • Verify a Smart Contract using Basescan API
  • Generating random numbers contracts using Supra dVRF
Development with Hardhat
Token Development
Exercise Contracts
  • Exercise Contracts
Imports

Imports

Import libraries and contracts into your own contracts.

Was this page helpful?

Suggest editsRaise issue
ExerciseStep by Step Guide
Assistant
Responses are generated using AI and may contain mistakes.
Base Documentation home pagelight logodark logo
xgithubredditlinkedin
Base.orgPrivacy PolicyTerms of ServiceCookie Policy
xgithubredditlinkedin