Smart contracts for the GitBranch protocol deployed on Robinhood Network (chain ID 4663).
| Contract | Description |
|---|---|
GitBranchVaultFactory |
Deploys soul bound vaults per GitHub user |
GitBranchVault |
Holds RWA tokens and executes swaps via Uniswap V3 |
GitBranchStockFactory |
Deploys ERC20 receipt tokens for each RWA asset |
GitBranchStockToken |
ERC20 receipt token: gitNVDA, gitTSLA, gitAAPL and more |
GitBranchToken |
Native GITB governance token |
GitbankAirdrop |
Airdrop distribution contract |
| Contract | Address |
|---|---|
| VaultFactory | 0x2d63D4092Ab7a7DC8761394b22Bb2f6Ac1F226Ba |
| SwapRouter (Uniswap V3) | 0xCaf681a66D020601342297493863E78C959E5cb2 |
| QuoterV2 | 0x33e885ed0ec9bf04ecfb19341582aadcb4c8a9e7 |
| WETH | 0x4200000000000000000000000000000000000006 |
| USDG | 0x79A02482A880bCE3F13e09Da970dC34db4CD24d1 |
pnpm install
cp .env.example .env
pnpm hardhat compilepnpm hardhat run scripts/deploy.ts --network rhpnpm hardhat testEach GitHub user gets a soul bound vault contract:
- The API server deposits USDG into the vault
- The vault swaps USDG for a stock token via Uniswap V3 on Robinhood Network
- Tokens stay in the vault until the user withdraws them