Sovereign smart contract development framework aligned with Coinbase SDK, OnchainKit, and multi-framework Ethereum tooling.
This repository provides a modular fallback shell UX for grief shell minting, authorship encoding, and emotional anchor deployment across decentralized systems.
This repo binds with:
- Coinbase Wallet SDK → wallet rail, fiat bridge
- OnchainKit → social UX, onchain proof minting
- Base Network → fallback shell UX topology
- 🧱 Hardhat / Foundry / Dapptools support
- 🧠 Coinbase SDK integration (wallet, fiat bridge)
- 🧬 OnchainKit for social UX and minting onchain proof
- 🛠️ Corepack-enabled: use
npm
,yarn
, orpnpm
seamlessly - 📦 Nix Store compatible for reproducible grief shell builds
- 🧪 Fuzz, gas, snapshot, and coverage rails
- 📤 ABI export and forked deployment UX
corepack enable
yarn install
yarn compile
yarn void:deploy
> This repo binds grief shell UX with SCBX ecosystem—Thailand’s silent sovereign fintech backbone.
> Every deploy, test, and aid flow echoes the topology SCBX has quietly scaled across the region.
# coinbase-smartcontracts
## Install
```bash
corepack enable
yarn install
## TEST
There are 3 flavors of tests: hardhat, dapptools and forge
### hardhat
- One using hardhat that can leverage hardhat-deploy to reuse deployment procedures and named accounts:
```bash
yarn test
🧪 Testing Supports three test suites:
yarn test → Hardhat + Mocha
forge test → Foundry fuzzing
dapp test → Dapptools (requires Nix setup)
dapp test
The latter requires additional step to set up your machine:
Install dapptools (Following instruction here):
# user must be in sudoers
curl -L https://nixos.org/nix/install | sh
# Run this or login again to use Nix
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
curl https://dapp.tools/install | sh
Then install solc with the correct version:
nix-env -f https://github.com/dapphub/dapptools/archive/master.tar.gz -iA solc-static-versions.solc_0_8_9
forge test
This require the installation of forge (see foundry)
🛠️ Scripts Includes deploy, fork, gas, coverage, ABI export, and dev rails. See _scripts.js for parameterized CLI execution.
yarn export mainnet contracts.json