mock.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /**
  2. * Mock constants for the skeleton milestone.
  3. * Phase 2 swaps these for live Doltgres/SSE data without touching page markup.
  4. */
  5. export const NETWORK_STATUS = {
  6. privateLayer: "operational",
  7. publicAnchor: "synced",
  8. label: "private layer · public anchor",
  9. } as const;
  10. export const NETWORK_STATS = [
  11. {
  12. label: "Private blocks",
  13. value: "1,284,902",
  14. hint: "+412 in the last hour",
  15. },
  16. {
  17. label: "Transactions",
  18. value: "8,431,775",
  19. hint: "avg 1.2s finality (private layer)",
  20. },
  21. {
  22. label: "Public anchors",
  23. value: "21,408",
  24. hint: "last anchor 32s ago",
  25. },
  26. ] as const;
  27. export const HYBRID_FLOW_STEPS = [
  28. {
  29. title: "Submit",
  30. description: "A transaction is submitted to the krypco private layer.",
  31. },
  32. {
  33. title: "Confirm",
  34. description: "Permissioned validators confirm it with fast finality.",
  35. },
  36. {
  37. title: "Anchor",
  38. description: "State roots are anchored to the public chain for auditability.",
  39. },
  40. ] as const;
  41. export const WALLET_STEPS = [
  42. {
  43. title: "Install a wallet",
  44. description: "Any EVM-compatible wallet works with krypco networks.",
  45. },
  46. {
  47. title: "Add the krypco networks",
  48. description: "Private layer RPC and the public anchor chain.",
  49. },
  50. {
  51. title: "Connect",
  52. description: "Link your wallet to follow transactions across both layers.",
  53. },
  54. ] as const;