Build, test, and deploy a minimal constant-product AMM (x*y=k) on Rootstock testnet, then wire it to a simple frontend.
16 docs tagged with "solidity"
The Rootstock CLI (Command Line Interface) lets you manage your Rootstock wallet directly from the terminal. Create, manage, and fund your wallet with rBTC (Rootstock Bitcoin) easily and securely.
Compile a Solidity contract with Hardhat, save its ABI and bytecode, and deploy it to Rootstock Mainnet or Testnet with the Rootstock CLI deploy command.
This guide demonstrates to a developer how to handle Bitcoin transactions in a Solidity Smart contract, we will also learn how to parse transactions, hash transactions and validate scripts for bitcoin transactions.
Build and test a mock Chainlink-style price feed consumer on Rootstock testnet, with safe read patterns and local testing.
The Rootstock CLI tool enables users to manage wallets, check balances, send transactions, verify smart contracts and interact with smart contracts on the Rootstock blockchain - a Bitcoin sidechain designed for smart contracts. It supports both mainnet and testnet environments.
Scaffold the USSD-Rootstock project using Hardhat 3, write the InclusiveDeFi smart contract, configure the Rootstock Testnet network, and deploy using Hardhat Ignition.
The contract command allows you to interact with a verified smart contract on the Rootstock blockchain. This command lists all available read-only functions within the contract, allowing you to call these functions to view data without altering the contract's state.
Structured guide for DeFi on Rootstock: token standards, oracles, AMMs, security patterns, and templates to review before mainnet deployment.
Essential security practices for DeFi: reentrancy, access control, upgradeability, and more.
Install Hardhat, configure Rootstock testnet, get tRBTC, and set up OpenZeppelin dependencies for Rootstock use-case tutorials.
Learn the foundational concepts of smart contracts on Rootstock. Covers Solidity and EVM contract state. Mainnet chain ID is 30 and Testnet chain ID is 31.
Implement ERC-20, ERC-721, and Rootstock-specific token patterns with security and efficiency.
Run the Rootstock CLI in a Replit sandbox in your browser. Create a wallet, check balances, and try other commands before you install the CLI on your machine.
Verify a deployed Solidity contract on Rootstock Mainnet or Testnet. The Rootstock CLI sends the source code and metadata to the Rootstock Explorer API.
Building private decentralized applications (dApps) on Rootstock is key to ensuring user confidentiality and security. Zero-Knowledge Proofs (ZK proofs) and Noir form a powerful combination, blending advanced cryptography with a developer-friendly language to create privacy-focused solutions.