chore: initialize monorepo with project scaffolding, configs, and CI setup

This commit is contained in:
oib
2025-09-27 06:05:25 +02:00
commit c1926136fb
171 changed files with 13708 additions and 0 deletions

View File

@ -0,0 +1,82 @@
:root {
color-scheme: dark;
font-family: var(--font-base);
font-size: 16px;
line-height: 1.5;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background-color: var(--color-bg);
color: var(--color-text-primary);
}
a {
color: var(--color-primary);
text-decoration: none;
}
a:hover,
a:focus {
text-decoration: underline;
}
p {
margin: 0 0 1rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0 0 0.75rem;
line-height: 1.2;
}
code {
font-family: var(--font-mono);
font-size: 0.95em;
background: var(--color-table-head);
padding: 0.125rem 0.375rem;
border-radius: var(--radius-sm);
}
.table {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
}
.table thead {
background: var(--color-table-head);
}
.table th,
.table td {
padding: 0.75rem;
text-align: left;
}
.table tbody tr:nth-child(even) {
background: var(--color-table-even);
}
.table tbody tr:hover {
background: var(--color-primary-hover);
}
.placeholder {
color: var(--color-placeholder);
font-style: italic;
}
.lead {
font-size: 1.05rem;
color: var(--color-text-secondary);
}

View File

@ -0,0 +1,229 @@
.site-header {
background: rgba(22, 27, 34, 0.95);
border-bottom: 1px solid rgba(125, 196, 255, 0.2);
position: sticky;
top: 0;
z-index: 1000;
}
.site-header__inner {
margin: 0 auto;
max-width: 1200px;
padding: 0.75rem 1.5rem;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1rem;
}
.site-header__brand {
font-weight: 600;
font-size: 1.15rem;
}
.site-header__title {
flex: 1 1 auto;
font-size: 1.25rem;
color: rgba(244, 246, 251, 0.92);
}
.site-header__controls {
display: flex;
align-items: center;
gap: 0.75rem;
}
.data-mode-toggle {
display: flex;
flex-direction: column;
gap: 0.25rem;
font-size: 0.85rem;
}
.data-mode-toggle select {
border-radius: var(--radius-sm);
border: 1px solid var(--color-border);
background: var(--color-surface);
color: inherit;
padding: 0.25rem 0.5rem;
}
.data-mode-toggle small {
color: var(--color-text-muted);
}
.site-header__nav {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.site-header__nav a {
padding: 0.35rem 0.75rem;
border-radius: 999px;
transition: background 150ms ease;
outline: none;
}
.site-header__nav a:hover,
.site-header__nav a:focus {
background: rgba(125, 196, 255, 0.15);
}
.site-header__nav a:focus-visible {
box-shadow: 0 0 0 2px rgba(125, 196, 255, 0.7);
}
.page {
margin: 0 auto;
max-width: 1200px;
padding: 2rem 1.5rem 4rem;
}
@media (max-width: 768px) {
.site-header__inner {
justify-content: space-between;
}
.site-header__controls {
width: 100%;
justify-content: flex-start;
}
.site-header__nav {
width: 100%;
justify-content: space-between;
}
.site-header__nav a {
flex: 1 1 auto;
text-align: center;
}
}
.section-header {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.addresses__table,
.blocks__table,
.transactions__table,
.receipts__table {
background: rgba(18, 22, 29, 0.85);
border-radius: 0.75rem;
overflow: hidden;
border: 1px solid rgba(125, 196, 255, 0.12);
}
.overview__grid {
display: grid;
gap: 1.5rem;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
background: rgba(18, 22, 29, 0.85);
border: 1px solid rgba(125, 196, 255, 0.12);
border-radius: 0.75rem;
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.stat-list {
list-style: none;
margin: 0;
padding: 0;
}
.stat-list li + li {
margin-top: 0.35rem;
}
.addresses__search {
display: grid;
gap: 0.75rem;
margin-bottom: 1.5rem;
background: rgba(18, 22, 29, 0.7);
border-radius: 0.5rem;
padding: 1rem 1.25rem;
border: 1px solid rgba(125, 196, 255, 0.12);
}
.addresses__input-group {
display: flex;
gap: 0.75rem;
}
.addresses__input-group input,
.addresses__input-group button {
border-radius: 0.5rem;
border: 1px solid rgba(125, 196, 255, 0.25);
padding: 0.5rem 0.75rem;
background: rgba(12, 15, 20, 0.85);
color: inherit;
outline: none;
transition: border-color 150ms ease, box-shadow 150ms ease;
}
.addresses__input-group input:focus-visible {
border-color: rgba(125, 196, 255, 0.6);
box-shadow: 0 0 0 2px rgba(125, 196, 255, 0.3);
}
.addresses__input-group button {
cursor: not-allowed;
}
.receipts__controls {
display: grid;
gap: 0.75rem;
margin-bottom: 1.5rem;
background: rgba(18, 22, 29, 0.7);
border-radius: 0.5rem;
padding: 1rem 1.25rem;
border: 1px solid rgba(125, 196, 255, 0.12);
}
.receipts__input-group {
display: flex;
gap: 0.75rem;
}
.receipts__input-group input,
.receipts__input-group button {
border-radius: 0.5rem;
border: 1px solid rgba(125, 196, 255, 0.25);
padding: 0.5rem 0.75rem;
background: rgba(12, 15, 20, 0.85);
color: inherit;
outline: none;
transition: border-color 150ms ease, box-shadow 150ms ease;
}
.receipts__input-group input:focus-visible {
border-color: rgba(125, 196, 255, 0.6);
box-shadow: 0 0 0 2px rgba(125, 196, 255, 0.3);
}
.receipts__input-group button {
cursor: not-allowed;
}
.site-footer {
margin: 0;
border-top: 1px solid rgba(125, 196, 255, 0.2);
background: rgba(22, 27, 34, 0.95);
}
.site-footer__inner {
margin: 0 auto;
max-width: 1200px;
padding: 1.25rem 1.5rem;
color: rgba(244, 246, 251, 0.7);
font-size: 0.9rem;
}

View File

@ -0,0 +1,38 @@
:root {
color-scheme: dark;
--font-base: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--font-mono: "Fira Code", "Source Code Pro", Menlo, Consolas, monospace;
--color-bg: #0b0d10;
--color-surface: rgba(18, 22, 29, 0.85);
--color-surface-muted: rgba(18, 22, 29, 0.7);
--color-border: rgba(125, 196, 255, 0.12);
--color-border-strong: rgba(125, 196, 255, 0.2);
--color-text-primary: #f4f6fb;
--color-text-secondary: rgba(244, 246, 251, 0.7);
--color-text-muted: rgba(244, 246, 251, 0.6);
--color-primary: #7dc4ff;
--color-primary-hover: rgba(125, 196, 255, 0.15);
--color-focus-ring: rgba(125, 196, 255, 0.7);
--color-placeholder: rgba(244, 246, 251, 0.7);
--color-table-even: rgba(255, 255, 255, 0.02);
--color-table-head: rgba(255, 255, 255, 0.06);
--color-shadow-soft: rgba(0, 0, 0, 0.35);
--space-xs: 0.35rem;
--space-sm: 0.5rem;
--space-md: 0.75rem;
--space-lg: 1.25rem;
--space-xl: 2rem;
--radius-sm: 0.375rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
}
:root[data-mode="live"] {
--color-primary: #8ef9d0;
--color-primary-hover: rgba(142, 249, 208, 0.18);
--color-border: rgba(142, 249, 208, 0.12);
--color-border-strong: rgba(142, 249, 208, 0.24);
--color-focus-ring: rgba(142, 249, 208, 0.65);
}

View File

@ -0,0 +1,14 @@
[
{
"address": "0xfeedfacefeedfacefeedfacefeedfacefeedface",
"balance": "1450.25 AIT",
"txCount": 42,
"lastActive": "2025-09-27T01:48:00Z"
},
{
"address": "0xcafebabecafebabecafebabecafebabecafebabe",
"balance": "312.00 AIT",
"txCount": 9,
"lastActive": "2025-09-27T01:25:34Z"
}
]

View File

@ -0,0 +1,23 @@
[
{
"height": 12045,
"hash": "0x7a3f5bf5c3b8ed5d6f77a42b8ab9a421e91e23f4d2a3f6a1d4b5c6d7e8f90123",
"timestamp": "2025-09-27T01:58:12Z",
"txCount": 8,
"proposer": "miner-alpha"
},
{
"height": 12044,
"hash": "0x5dd4e7a2b88c56f4cbb8f6e21d332e2f1a765e8d9c0b12a34567890abcdef012",
"timestamp": "2025-09-27T01:56:43Z",
"txCount": 11,
"proposer": "miner-beta"
},
{
"height": 12043,
"hash": "0x1b9d2c3f4e5a67890b12c34d56e78f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
"timestamp": "2025-09-27T01:54:16Z",
"txCount": 4,
"proposer": "miner-gamma"
}
]

View File

@ -0,0 +1,18 @@
[
{
"jobId": "job-0001",
"receiptId": "rcpt-123",
"miner": "miner-alpha",
"coordinator": "coordinator-001",
"issuedAt": "2025-09-27T01:52:22Z",
"status": "Attested"
},
{
"jobId": "job-0002",
"receiptId": "rcpt-124",
"miner": "miner-beta",
"coordinator": "coordinator-001",
"issuedAt": "2025-09-27T01:45:18Z",
"status": "Pending"
}
]

View File

@ -0,0 +1,18 @@
[
{
"hash": "0xabc1230000000000000000000000000000000000000000000000000000000001",
"block": 12045,
"from": "0xfeedfacefeedfacefeedfacefeedfacefeedface",
"to": "0xcafebabecafebabecafebabecafebabecafebabe",
"value": "12.5 AIT",
"status": "Succeeded"
},
{
"hash": "0xabc1230000000000000000000000000000000000000000000000000000000002",
"block": 12044,
"from": "0xdeadc0dedeadc0dedeadc0dedeadc0dedeadc0de",
"to": "0x8badf00d8badf00d8badf00d8badf00d8badf00d",
"value": "3.1 AIT",
"status": "Pending"
}
]