Skip to content

Commit

Permalink
homepage for reference section
Browse files Browse the repository at this point in the history
  • Loading branch information
seyian-writer committed Jan 4, 2025
1 parent 9ef1f86 commit bd1265d
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/reference/_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"overview": "Overview",
"index": "Home",
"overview": "Overview",
"-- CLI": {
"type": "separator",
"title": "CLI"
Expand All @@ -18,5 +19,5 @@
},
"precompiles": "EVM Precompiles",
"pointer-contracts": "Pointer Contracts"
}
}

107 changes: 107 additions & 0 deletions pages/reference/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
import React from 'react'
import {
IconInfoSquare,
IconLink,
IconWorld,
IconBrackets,
IconPointer,
IconTerminal,
} from '@tabler/icons-react'
import { LinkCard } from '../../components'

# Reference

Explore Sei’s core reference materials, endpoints, commands, and more.

<div className="grid grid-cols-1 md:grid-cols-3 gap-4 my-8">
<LinkCard
icon={<IconInfoSquare />}
title="Overview"
link="/reference/overview"
description="Introduction to the Sei reference section"
preview={{
content: "Dive into key concepts and a directory of what's available in the reference docs.",
highlights: [
"High-level structure",
"Key definitions",
"Links to subtopics"
],
}}
/>

<LinkCard
icon={<IconLink />}
title="Endpoints"
link="/reference/endpoints"
description="Details on available endpoints"
preview={{
content: "REST and gRPC endpoints for interacting with Sei.",
highlights: [
"Endpoint formats",
"Common usage patterns",
"API authentication"
],
}}
/>

<LinkCard
icon={<IconWorld />}
title="Cosmos"
link="/reference/cosmos"
description="Cosmos-specific references"
preview={{
content: "Explore how Sei leverages Cosmos-SDK modules and IBC features.",
highlights: [
"Governance modules",
"IBC integration",
"Custom modules and extensions"
],
}}
/>

<LinkCard
icon={<IconBrackets />}
title="EVM"
link="/reference/evm"
description="Ethereum compatibility details"
preview={{
content: "An overview of Sei’s EVM layer and cross-chain capabilities.",
highlights: [
"Smart contract deployment",
"Op-code support",
"Integration best practices"
],
}}
/>

<LinkCard
icon={<IconPointer />}
title="Pointer Contracts"
link="/reference/pointer-contracts"
description="Documentation on pointer-based contracts"
preview={{
content: "How pointer contracts link on-chain logic to off-chain data sources in Sei.",
highlights: [
"Data feed integration",
"Contract patterns",
"Security considerations"
],
}}
/>

<LinkCard
icon={<IconTerminal />}
title="SeiD"
link="/reference/seid"
description="CLI reference for the Sei daemon"
preview={{
content: "All commands, flags, and usage examples for running SeiD.",
highlights: [
"Starting and configuring the daemon",
"CLI-based key management",
"Network interactions",
"Troubleshooting common issues"
],
}}
/>
</div>

0 comments on commit bd1265d

Please sign in to comment.