Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
d83ba32
feat: migrate to Tangle v2 evm, migrate dapp, cloud, leaderboard, rem…
drewstone Dec 10, 2025
d4eafd6
fix(leaderboard): update local env script and GraphQL queries for Envio
drewstone Dec 10, 2025
2bd47b7
fix: resolve remaining type errors after v2 EVM migration
drewstone Dec 10, 2025
35be6a9
fix(tangle-cloud): stub service tx hooks for EVM migration
drewstone Dec 10, 2025
b6ddca0
fix(tangle-cloud): fix empty function lint errors
drewstone Dec 10, 2025
872bf3b
fix(tangle-cloud): resolve typecheck and lint errors for EVM migration
drewstone Dec 10, 2025
190cd12
feat: add wallet connectors and fix local RPC for EVM
drewstone Dec 10, 2025
7ce9fac
style: format code
drewstone Dec 10, 2025
9cd69e7
feat: integrate RainbowKit for wallet connections
drewstone Dec 10, 2025
7345148
fix: improve wallet button UI and network selector with wagmi hooks
drewstone Dec 10, 2025
9207225
feat: update chains to Local/Base/Base Sepolia and use RainbowKit cha…
drewstone Dec 10, 2025
5e25c2f
feat(bridge): replace custom Hyperlane bridge with Li.Fi widget
drewstone Dec 10, 2025
855d4d9
feat: add NetworkGuard component and improve UI consistency
drewstone Dec 11, 2025
30b5773
chore: remove old leaderboard scripts (moved to scripts/local-env/)
drewstone Dec 11, 2025
06dbf97
feat: add native restaking, migration claims, and on-chain data fallback
drewstone Dec 11, 2025
07e2ed2
feat(migration-claim): add SP1 ZK circuit docs and fix build issues
drewstone Dec 11, 2025
e9b2db4
feat(migration-claim): add claim relayer, scripts, and update gitignore
drewstone Dec 11, 2025
689067d
refactor: migrate from Substrate to EVM-only architecture
drewstone Dec 11, 2025
8135d34
fix(scripts): use chain ID 31337 in activity-generator for local dev
drewstone Dec 11, 2025
9029074
perf(scripts): cache forge compiled artifacts in start-local-env
drewstone Dec 11, 2025
98ffc40
feat(tangle-cloud): add operator management, job submission, rewards,…
drewstone Dec 11, 2025
5614da9
feat: enhance local-env caching and fix lint errors
drewstone Dec 11, 2025
e0fb201
fix: improve GraphQL queries and UI error handling
drewstone Dec 11, 2025
2daf9f6
fix: prevent protocol config errors on non-restaking chains
drewstone Dec 11, 2025
ecb9ce5
fix: lint errors in tangle-dapp and tangle-shared-ui
drewstone Dec 11, 2025
2447f10
chore: envio health
drewstone Dec 11, 2025
e874a67
fix: handle missing RestakeContext gracefully during HMR
drewstone Dec 11, 2025
4beb64a
style: add beautiful loading spinner for restaking page
drewstone Dec 11, 2025
fd949dc
feat: add TokenIcon to all restake asset lists and selectors
drewstone Dec 11, 2025
d8b5083
fix: add native ETH support to on-chain restake assets fallback
drewstone Dec 11, 2025
d64c37f
fix(tangle-shared-ui): resolve circular dependency in restake hooks
drewstone Dec 11, 2025
202250c
fix(tangle-dapp): fix React hooks rules and lint errors in restake
drewstone Dec 11, 2025
176e528
fix(local-env): prevent nonce collision in activity generator
drewstone Dec 11, 2025
a8b0270
feat(local-env): add resume mode and improve CLI
drewstone Dec 11, 2025
e924134
style: format code with prettier
drewstone Dec 11, 2025
91f3eb2
chore: add .nxignore to exclude OpenZeppelin submodules
drewstone Dec 11, 2025
c9cb573
fix(tangle-cloud): resolve typecheck errors in service pages
drewstone Dec 11, 2025
4e437c7
fix(restake): harden metadata/balance fetch paths
drewstone Dec 12, 2025
74cc416
chore: fix claim relayer setup
drewstone Dec 12, 2025
3015401
chore: change port
drewstone Dec 12, 2025
7c4bd9f
docs: add AGENTS instructions
drewstone Dec 13, 2025
3c585d8
chore(local-env): make start-local-env resilient
drewstone Dec 13, 2025
2c84e90
ui: reduce flicker and restore glass cards
drewstone Dec 13, 2025
6699f8f
restake: fix approvals, native deposits, and wallet wiring
drewstone Dec 13, 2025
fc584a8
dashboard: compute TVL using USD prices
drewstone Dec 13, 2025
1080897
credits: gate credits UI to supported chains
drewstone Dec 13, 2025
938ec7e
fix(claim): remove duplicate merkleProof field
drewstone Dec 13, 2025
bd413a3
local-env: fix fund command for large values and missing token code
drewstone Dec 13, 2025
d75672b
fix(liquid-staking): approval + redeem requests
drewstone Dec 13, 2025
bc8b530
fix(restake): onchain balances + execute-ready
drewstone Dec 13, 2025
8dd2e9c
fix(local-env): verify fund balance
drewstone Dec 14, 2025
69b0fb3
local-env: resolve TNT token via operatorBondToken() and validate code
drewstone Dec 14, 2025
dbf3184
ux(dev): prompt switch to local anvil
drewstone Dec 14, 2025
d2c5b07
local-env: reuse canonical TNT for migration
drewstone Dec 14, 2025
f53e73a
local-env: fix fund_account balance parsing
drewstone Dec 14, 2025
0acfc26
local: point dApp to deployed incentives
drewstone Dec 14, 2025
0714d8d
fix(service-request): source contracts from dapp-config
drewstone Dec 15, 2025
a6beb31
fix(local-env): ensure incentives + never fail on multicall
drewstone Dec 15, 2025
c641266
local-env: fix postgres auth before db-setup
drewstone Dec 15, 2025
ef22091
feat(tx): restore tx history + resilient EVM reads
drewstone Dec 15, 2025
3ff58a3
feat(liquid-staking): wire vaults + unify list UI
drewstone Dec 15, 2025
fedef54
chore(format): apply prettier
drewstone Dec 15, 2025
beaebda
fix(local-env): make clean truly clean + reset pg password
drewstone Dec 15, 2025
f8943a3
local-env: retry localtestnet deploy if interrupted
drewstone Dec 15, 2025
4bfac4b
fix(claim): use pubkey-based migration contract + relayer fallback
drewstone Dec 15, 2025
75600f4
fix(local): align contract addresses with LocalTestnet deploy
drewstone Dec 15, 2025
4867a3a
feat(liquid-staking): wire create-vault to shared lists and guard dup…
drewstone Dec 15, 2025
7d6ca36
fix(tx): improve contract write simulation + revert decoding
drewstone Dec 15, 2025
3e16b1e
fix(vite): stabilize fs allowlist and prebundle polkadot extension
drewstone Dec 15, 2025
2a6935f
fix(claim): surface migration revert reasons
drewstone Dec 15, 2025
70bd978
chore(claim): require explicit mock proof flag
drewstone Dec 15, 2025
2b228b5
chore(format): apply prettier
drewstone Dec 15, 2025
27f48e6
fix(tx): appease tsc for simulated write request
drewstone Dec 15, 2025
99aba7e
feat(liquid-staking): create vault with selectable blueprint IDs
drewstone Dec 15, 2025
e6a2f4f
fix(tx): detect non-contract targets and decode panic
drewstone Dec 15, 2025
ecb7db8
chore: fix merkle gen
drewstone Dec 15, 2025
2cf3818
refactor: Dashboard QA improvements and data handling updates (#3077)
vutuanlinh2k2 Dec 15, 2025
60cc330
fix(restaking): QA fixes and improvements for restaking module (#3082)
vutuanlinh2k2 Dec 17, 2025
9bc40af
fix(migration-claim): fix contract reads and add local testing infras…
vutuanlinh2k2 Dec 20, 2025
9a76fe6
feat(dapp): align credits claims with tnt-core (#3088)
drewstone Dec 21, 2025
8188226
dapp: wire local credits address
drewstone Dec 22, 2025
15279a9
feat(credits): sync abis and windowed claims
drewstone Dec 22, 2025
a5042ef
chore(config): wire base sepolia deployment
drewstone Dec 22, 2025
81bcb8d
Improve restake UX and infra tooling
drewstone Dec 23, 2025
95660fa
chore: format
drewstone Dec 23, 2025
8f6de6a
Fix typecheck for restaking ABIs and helpers
drewstone Dec 23, 2025
772d663
Fix wallet client switch lint
drewstone Dec 23, 2025
bc70270
Remove local claim relayer fallback
drewstone Dec 23, 2025
7000717
chore: update abis and scripts
drewstone Dec 23, 2025
1108f7a
chore: update mads abi
drewstone Dec 23, 2025
4cd1545
fix(tangle-dapp): QA fixes for liquid staking (#3089)
vutuanlinh2k2 Dec 25, 2025
ed78002
refactor(tangle-dapp): Claim migration and liquid staking improvement…
vutuanlinh2k2 Dec 29, 2025
581fe9e
refactor(tangle-dapp): fixes for restaking, liquid staking, and migra…
vutuanlinh2k2 Dec 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,14 @@ export NX_ADD_PLUGINS=false
export ESLINT_USE_FLAT_CONFIG=false

export VITE_GRAPHQL_ENDPOINT='https://mainnet-gql.tangle.tools/graphql'

# Credits claim data (off-chain proofs)
export VITE_CREDITS_TREE_URL='/data/credits-tree.json'
export VITE_CREDITS_TREE_URL_84532=''
export VITE_CREDITS_TREE_URL_8453=''

# Credits contract address overrides (optional)
# You can set a chain-specific address, e.g. VITE_CREDITS_ADDRESS_84532 for Base Sepolia.
export VITE_CREDITS_ADDRESS=''
export VITE_CREDITS_ADDRESS_84532=''
export VITE_CREDITS_ADDRESS_8453=''
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,15 @@ vitest.config.*.timestamp*
reports/
.cursor/rules/nx-rules.mdc
.github/instructions/nx.instructions.md

# Contracts - Foundry build artifacts
contracts/**/cache/
contracts/**/out/
contracts/**/broadcast/

# Contracts - Rust/SP1 build artifacts
contracts/**/target/

# Contracts - Generated migration data (large files)
**/migration-proofs.json
contracts/**/evm-claims.json
27 changes: 27 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Tangle dApp monorepo (Nx + Yarn)

## Quick commands
- Install: `yarn install` (Node `>=18.18.x`, Yarn `4.x`)
- Run dApp: `yarn nx serve tangle-dapp` (default `http://localhost:4200`)
- Lint/test/build: `yarn lint`, `yarn test`, `yarn build`

## Env
- Start from `.env.example` (Vite vars are `VITE_*`)
- Set `VITE_GRAPHQL_ENDPOINT` to your Envio/Hasura GraphQL (local indexer or mainnet)
- Optional: `VITE_WALLETCONNECT_PROJECT_ID` for WalletConnect

## Local protocol repo
- `../tnt-core/` (sibling repo): protocol + claims migration contracts, gas relayer, indexer, etc.
- When running locally, ensure:
- the chain you connect the UI to matches your `tnt-core` deployments
- `VITE_GRAPHQL_ENDPOINT` points at the indexer for that chain

## Key code locations
- App: `apps/tangle-dapp/` (Vite + React Router)
- Restaking (EVM v2):
- GraphQL hooks: `libs/tangle-shared-ui/src/data/graphql/`
- Tx hooks: `libs/tangle-shared-ui/src/data/tx/`
- Write executor: `libs/tangle-shared-ui/src/hooks/useContractWrite.ts`
- Seed scripts (Substrate dev):
- `yarn script:setupServices` (create blueprints)
- `yarn script:setupRestaking` (LST/vault/operator fixtures)
Loading
Loading