Skip to content

Coretilla Smart Contracts – Blockchain infrastructure for the Bitcoin Neobank platform, built with Foundry and deployed on Core Blockchain Mainnet.

Notifications You must be signed in to change notification settings

coretilla/smart-contract-coretilla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Smart Contract – Coretilla

Coretilla is a Bitcoin Neobank — your digital bank for the Bitcoin economy.
This repository contains the Coretilla Smart Contracts that power our decentralized financial services, deployed on the Core Blockchain Mainnet.

Our mission is to bridge Bitcoin with modern DeFi infrastructure, enabling fast, secure, and user-friendly financial tools.


📦 Tech Stack

  • Foundry – High-performance Ethereum development toolkit (Rust-based)
  • Solidity – Smart contract programming language
  • Core Blockchain – EVM-compatible network for Bitcoin economy applications (Mainnet)

🔧 Foundry Toolkit

Foundry includes:

  • Forge – Ethereum testing framework (like Truffle, Hardhat, DappTools)
  • Cast – Command-line tool to interact with smart contracts, send transactions, and query blockchain data
  • Anvil – Local Ethereum-compatible node for rapid testing
  • Chisel – High-speed Solidity REPL for prototyping and debugging

📚 Documentation: Foundry Book


🚀 Development Workflow

1️⃣ Build Contracts

forge build

2️⃣ Run Tests

forge test

3️⃣ Format Code

forge fmt

4️⃣ Gas Snapshot

forge snapshot

5️⃣ Start Local Node

anvil

6️⃣ Deploy Contract

forge script script/Counter.s.sol:CounterScript \
  --rpc-url <your_rpc_url> \
  --private-key <your_private_key>

7️⃣ Interact via Cast

cast <subcommand>

🌐 Core Blockchain – Mainnet Contract Addresses

Contract Address Explorer Link
MockBTC 0x4dABf45C8cF333Ef1e874c3FDFC3C86799af80c8 View Code in Explorer
MockUSD 0x29AFB3d2448ddaa0e039536002234a90aF1e4f31 View Code in Explorer
LendingPool 0x3EF7d600DB474F1a544602Bd7dA33c53d98B7B1b View Code in Explorer
StakingVault 0x478AE04E752e47c5b1F597101CeF74f01F0386e6 View Code in Explorer

💡 About Coretilla

Coretilla combines the trust and stability of Bitcoin with the innovation of decentralized finance, offering services like:

  • Bitcoin-backed lending
  • Stablecoin integration
  • Yield and staking vaults
  • Seamless digital banking experience

📜 License

MIT License – You are free to use, modify, and distribute this code.

About

Coretilla Smart Contracts – Blockchain infrastructure for the Bitcoin Neobank platform, built with Foundry and deployed on Core Blockchain Mainnet.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •