Hello Bitcoin
This guide provides step-by-step instructions on how to deploy a smart contract on BOB that interacts with Bitcoin.
BOB is EVM-based and we recommend using the Solidity language to write your smart contracts. The base currency on BOB is ETH. Since BOB is a rollup on Ethereum, you can bridge over ETH from Ethereum to pay for transactions.
If you are new to Solidity, we recommend checking out the Solidity getting started guide to get a better understanding of the language.
Developing Solidity contracts is made a lot easier using a development toolchain. Two of the most popular ones are Remix and Foundry. We will use these tools to develop and deploy our smart contract. We will provide instructions for using Remix and Foundry.
- Remix is a web-based IDE for writing smart contracts. This is a great option if you do not want to install any software on your computer.
- Foundry is a Rust-based development environment for writing smart contracts. This is a great option if you want to use a local development environment.
Solidity and a toolchain are sufficient to get you started deploying contracts on BOB. However, since BOB's purpose is to make it easy to interact with Bitcoin, we will also add parts of the BOB SDK as part of the starter kit.
- BOB Starter Kit: The kit serves as a quick start way to develop on BOB using the BOB SDK. Note: you can deploy any EVM contract on BOB without having to use the BOB SDK contracts. They are primarily a helper when you want to interact with Bitcoin from your smart contracts.