Contract Factory Guide
Complete step-by-step guide to using Contract Factory for smart contract deployment
Homepage Overview
When you first visit Contract Factory, you'll see the homepage with these key sections:
Main Features Highlighted:
- Smart Contract Compilation - Compile Solidity contracts with OpenZeppelin libraries
- One-Click Deployment - Deploy to Hyperliquid network directly
- Secure & Trusted - No private keys stored, all transactions from your wallet
- Open Source & Free - Completely free to use with full transparency
Supported Contract Standards:
ERC20ERC721ERC1155OwnablePausableAccessControl
Step 1: Connect Your Wallet
Not Connected
Initial state when visiting the site
Wallet Connected
Shows your wallet address
Ready to Build
Authenticated and ready
Supported Wallets:
MetaMaskWalletConnectInjected Wallets
After authentication, you'll be redirected to the dashboard with these main sections:
Sidebar Navigation:
- Overview - Dashboard summary and stats
- Create Contract - Build new contracts
- Deployments - Manage deployed contracts
- Interact - Call contract functions
- Activity - Transaction history
- Settings - Account preferences
Header Features:
- Current date display
- Quick "Create Contract" button
- Deployment counter
- Activity counter
Step-by-Step Contract Creation
1Select Contract Type
Choose from available contract templates:
ERC20
Fungible tokens
ERC721
NFTs
ERC1155
Multi-token
2Configure Contract Parameters
Fill in contract-specific details:
Token Namee.g., "My Token"
Token Symbole.g., "MTK"
Initial Supplye.g., "1000000"
3Select Network
Choose deployment network:
Hyperliquid (Primary Network)
4Compilation & Deployment
Compiling contract with OpenZeppelin libraries...
Deploying to Hyperliquid network...
Contract deployed successfully!
Deployment Management Features
Deployment List View:
My Token (MTK)Deployed
Contract: ERC20
Network: Hyperliquid
Deployed: 2 hours ago
Available Actions:
- View Details - Contract address, ABI, source code
- Interact - Call contract functions
- View on Explorer - Check on blockchain explorer
- Download - Get contract files
Interacting with Deployed Contracts
Function Types:
Read Functions (View)
• No gas cost
• Get contract state
• Examples: balanceOf, totalSupply
Write Functions (Payable/Non-payable)
• Requires gas
• Modifies contract state
• Examples: transfer, mint, approve
Example Function Call:
transfer(address to, uint256 amount)
to:
amount:
Track Your Blockchain Activity
Activity Types:
Contract Deployment
Function Execution
Transaction History
Activity Details:
Transaction Hash0x1a2b...
StatusSuccess
Gas Used21,000
Timestamp2 min ago
Common Issues & Solutions
Wallet Connection Issues
- • Make sure your wallet extension is installed and unlocked
- • Check if you're connected to the correct network (Hyperliquid)
- • Clear browser cache and cookies if connection persists to fail
Deployment Failures
- • Ensure you have sufficient balance for gas fees
- • Verify all contract parameters are correctly filled
- • Check network connectivity and try again
Transaction Issues
- • Check if the function parameters are valid
- • Ensure you have the required permissions for the function
- • Verify the contract is not paused or has restrictions
Recommendations for Safe Usage
Security Tips:
- Always verify contract addresses before interacting
- Double-check function parameters before execution
- Test with small amounts first on new contracts
Development Tips:
- Use descriptive names for tokens and contracts
- Keep track of deployment addresses and transactions
- Download contract files for your records
Ready to Get Started?
Begin your smart contract journey with Contract Factory