What is Catapulta?
Catapulta.sh is a powerful smart contract deployment tool designed to streamline your deployment process. It enables you to deploy, verify, and track your smart contracts with ease, all while adhering to the best Chain Ops practices without the need for any code changes.
Why You Should Use Catapulta?
Catapulta offers several compelling benefits:
Seamless Deployment: Deploy your contracts on over 9 networks without making any code changes or dealing with RPC configurations and Etherscan verifications.
Comprehensive Deployment Report: Catapulta generates a detailed deployment report that includes contract names, contract addresses, commit hashes, transaction details, artifacts, and ABIs. This report is stored in your private dashboard for easy access.
Cost Tracking: Keep track of your deployment costs across different projects and networks, helping you manage your expenses effectively.
Collaboration: Invite team members or clients to your Catapulta project, granting them access to deployment information, contract addresses, and ABIs.
Deploy Your First Contract with Catapulta & Foundry: Guide
Prerequisites: Node.js 18v, Foundry & Git
Please note that Catapulta is currently supported on Mac, Linux, and WSL only.
1. Clone the Template repository and navigate to the repository directory:
git clone https://github.com/BuildBearLabs/Catapulta.git
cd catapulta
This repository contains the foundational Foundry project, including Catapula and Nouns protocol smart contracts, as well as deployment scripts.
2. Install dependencies:
forge install
npm install
3. Generate a new private key with Catapulta, which is securely stored offline in your .env file. Alternatively, you can add your own private key as PRIVATE_KEY
in the .env file located at the root of the project:
npx catapulta wallet# Output:
# Wallet address: 0x6B193d5604e09f1737E33cFc4B06fb3f2C7fC3CE
# Private key appended to your .env file.
4. Set up your CATAPULTA_API_KEY
in your .env file. You can generate your Catapulta API key at the Catapulta dashboard.
5. Get funds for your address by using the free faucets list at List of Faucets for Public Testnets
6. Deploy the contracts into Sepolia Testnet with Catapulta
npx catapulta script scripts/DeployContracts.s.sol --network sepolia
7. Access the deployment report conveniently through the Catapulta UI.
8. Copy the contract address and visit the contract on Explorer; it will be verified.
If you encounter any issues, please reach out on Telegram.
Conclusion:
Catapulta simplifies the deployment process and eliminates the need to configure an RPC and Etherscan API. This not only saves time but also enhances collaboration and enables efficient cost management across different networks and projects.
About BuildBear:
BuildBear is a platform for testing dApps at scale, for teams. It provides users with their own private Testnet to test their smart contracts and dApps, which can be forked from any EVM chain. It also provides a Faucet, Explorer, and RPC for testing purposes.
BuildBear aims to build an ecosystem of tools for testing dApps at scale for the teams.