diff --git a/components/APIEndpoint/APIEndpoint.tsx b/components/APIEndpoint/APIEndpoint.tsx index 91c4e1bc..aecdb465 100644 --- a/components/APIEndpoint/APIEndpoint.tsx +++ b/components/APIEndpoint/APIEndpoint.tsx @@ -135,8 +135,8 @@ const response: ${responseType} = await ${routeNames.functionName}(params);`; return ( - endpoints - {moduleName} + endpoints + {moduleName} {functionName} diff --git a/components/APIEndpointRoute/APIEndpointRoute.tsx b/components/APIEndpointRoute/APIEndpointRoute.tsx index 2ea7c13e..b6733a31 100644 --- a/components/APIEndpointRoute/APIEndpointRoute.tsx +++ b/components/APIEndpointRoute/APIEndpointRoute.tsx @@ -95,7 +95,7 @@ const APIEndpointRoute = () => { if (route.length === 2) { return ( - + diff --git a/components/APIModule/APIModule.tsx b/components/APIModule/APIModule.tsx index 0e040262..02f246e1 100644 --- a/components/APIModule/APIModule.tsx +++ b/components/APIModule/APIModule.tsx @@ -2,6 +2,6 @@ import { Card } from 'nextra/components'; export const APIModule = ({ basePaths, prefix }: { basePaths: any[]; prefix: string }) => { return Object.values(basePaths).map((path) => { - return ; + return ; }); }; diff --git a/components/APIModulePaths/APIModulePaths.tsx b/components/APIModulePaths/APIModulePaths.tsx index f294f28a..d086d7b3 100644 --- a/components/APIModulePaths/APIModulePaths.tsx +++ b/components/APIModulePaths/APIModulePaths.tsx @@ -4,7 +4,7 @@ export const APIModulePaths = ({ basePaths, prefix }: { basePaths: any[]; prefix return ( {Object.values(basePaths).map((path) => { - return ; + return ; })} ); diff --git a/components/AddressSearch/SeiTraceSearch.tsx b/components/AddressSearch/SeiTraceSearch.tsx new file mode 100644 index 00000000..18f39b55 --- /dev/null +++ b/components/AddressSearch/SeiTraceSearch.tsx @@ -0,0 +1,55 @@ +import React, { useState } from 'react'; +import styles from '../../styles/SeiTraceSearch.module.css'; + +const SeiTraceSearch = () => { + const [address, setAddress] = useState(''); + const [error, setError] = useState(''); + + const isValidAddress = (addr: string) => { + // Accept addresses starting with 'sei' or '0x' and of reasonable length + const seiPattern = /^sei[a-z0-9]{8,}$/i; + const evmPattern = /^0x[a-fA-F0-9]{40}$/; + return seiPattern.test(addr) || evmPattern.test(addr); + }; + + const getSeiTraceUrl = (addr: string) => { + const chainParam = '?chain=pacific-1'; + // For all addresses, use '/address/' path + return `https://seitrace.com/address/${addr}${chainParam}`; + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + const trimmedAddress = address.trim(); + if (trimmedAddress) { + if (isValidAddress(trimmedAddress)) { + const url = getSeiTraceUrl(trimmedAddress); + window.open(url, '_blank'); + setError(''); + } else { + setError('Please enter a valid Sei or EVM address.'); + } + } + }; + + return ( +
+
+ setAddress(e.target.value)} + className={`${styles.input} ${error ? styles.error : ''}`} + /> + +
+ {error &&
{error}
} +
+ ); +}; + +export default SeiTraceSearch; diff --git a/components/AppCard/AppCard.v2.tsx b/components/AppCard/AppCard.v2.tsx index 017a219e..6d50c97a 100644 --- a/components/AppCard/AppCard.v2.tsx +++ b/components/AppCard/AppCard.v2.tsx @@ -2,46 +2,43 @@ import { ExternalLinkIcon } from 'lucide-react'; import Image from 'next/image'; import type { EcosystemItem } from '../../data/ecosystemData'; -interface AppCardProps { +interface AppCardV2Props { app: EcosystemItem; } -const AppCardV2 = ({ app }: AppCardProps) => { + +export default function AppCardV2({ app }: AppCardV2Props) { if (!app) return null; - const fields = app.fieldData; - const { name, logo, link, 'integration-guide-link': integration, 'short-description': shortDescription } = fields; - if (!logo) { - return null; - } + const { name, logo, link, 'short-description': desc, 'integration-guide-link': integration } = app.fieldData; + + if (!logo) return null; + return ( -
-
-
- - {`${name} +
+ -
-

- {name} -

- {shortDescription && ( -

- {shortDescription} -

- )} - {integration && ( - - Integration - - )} -
+ ) : ( + {`${name} + )} +
+
+

+ {name} +

+ {desc &&

{desc}

} + {integration && ( + + Integration + + + )}
); -}; - -export default AppCardV2; +} diff --git a/components/DeveloperSurveyCallout/DeveloperSurveyCallout.tsx b/components/DeveloperSurveyCallout/DeveloperSurveyCallout.tsx deleted file mode 100644 index 5a31cdfb..00000000 --- a/components/DeveloperSurveyCallout/DeveloperSurveyCallout.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import { Callout } from 'nextra-theme-docs'; - -function DeveloperSurveyCallout() { - return ( -
- -

- Help Us Improve! -

-

- We're conducting a short survey (less than 5 minutes) to gather your feedback and improve your development experience on Sei.{' '} - - Take the Survey Now - -

-
-
- ); -} - -export default DeveloperSurveyCallout; diff --git a/components/DeveloperSurveyCallout/index.ts b/components/DeveloperSurveyCallout/index.ts deleted file mode 100644 index 104e2469..00000000 --- a/components/DeveloperSurveyCallout/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as DeveloperSurveyCallout } from './DeveloperSurveyCallout'; diff --git a/components/EcosystemMap/EcosystemDynamicSection.tsx b/components/EcosystemMap/EcosystemDynamicSection.tsx index b637823d..0429cf33 100644 --- a/components/EcosystemMap/EcosystemDynamicSection.tsx +++ b/components/EcosystemMap/EcosystemDynamicSection.tsx @@ -1,39 +1,85 @@ -import { useEffect, useState } from 'react' -import { EcosystemSection, EcosystemSkeleton } from '.' -import { - EcosystemResponse, - getSeiEcosystemAppsData, -} from '../../data/ecosystemData' - -const EcosystemDynamicSection = ({ category }: { category: string }) => { - const [apps, setApps] = useState(null) - const [loading, setLoading] = useState(true) - - useEffect(() => { - const fetchData = async () => { - await getSeiEcosystemAppsData() - .then((data) => { - setApps(data.data) - setLoading(false) - }) - .catch((error) => { - console.error('Failed to fetch data:', error) - }) - .finally(() => { - setLoading(false) - }) - } - fetchData() - }, []) - - if (!apps || loading) return - - // filter out apps that don't have a categorie - const filteredApps = apps.filter((app) => app.fieldData.categorie !== undefined && app.fieldData['categorie-2'] !== undefined); - - const appsByCategory = (category: string) => - filteredApps.filter((app) => app.fieldData.categorie === category) - return +import { useEffect, useState } from 'react'; +import { groupBy } from 'underscore'; +import { EcosystemSection, EcosystemSkeleton } from '.'; +import { EcosystemItem, EcosystemResponse, getSeiEcosystemAppsData } from '../../data/ecosystemData'; + +interface EcosystemDynamicSectionProps { + category: string; + searchTerm: string | undefined; } -export default EcosystemDynamicSection +export default function EcosystemDynamicSection({ category, searchTerm }: EcosystemDynamicSectionProps) { + const [apps, setApps] = useState(null); + const [loading, setLoading] = useState(true); + const [activeSubCat, setActiveSubCat] = useState(null); + + useEffect(() => { + (async () => { + try { + const data: EcosystemResponse = await getSeiEcosystemAppsData(); + setApps(data.data); + } catch (err) { + console.error('Failed to fetch data:', err); + } finally { + setLoading(false); + } + })(); + }, []); + + let subCats: string[] = []; + let grouped: Record = {}; + + if (apps) { + const catLower = category.toLowerCase(); + const categoryApps = apps.filter((app) => (app.fieldData.categorie?.toLowerCase() || '') === catLower); + const normSearch = (searchTerm ?? '').toLowerCase(); + const filtered = categoryApps.filter((app) => { + if (!normSearch) return true; + const name = app.fieldData.name?.toLowerCase() || ''; + const subCat = app.fieldData['categorie-2']?.toLowerCase() || ''; + return name.includes(normSearch) || subCat.includes(normSearch); + }); + grouped = groupBy(filtered, (a) => a.fieldData['categorie-2'] || 'Other'); + subCats = Object.keys(grouped).sort(); + } + + useEffect(() => { + if (!apps) return; + if (!activeSubCat && subCats.length > 0) { + setActiveSubCat(subCats[0]); + } else if (activeSubCat && !grouped[activeSubCat]) { + setActiveSubCat(subCats[0] ?? null); + } + }, [apps, subCats, activeSubCat, grouped]); + + if (loading) { + return ; + } + + if (!apps) { + return ; + } + + const activeApps = activeSubCat && grouped[activeSubCat] ? grouped[activeSubCat] : []; + + return ( +
+
+ {subCats.map((sc) => { + const isActive = sc === activeSubCat; + return ( + + ); + })} +
+ +
+ ); +} diff --git a/components/EcosystemMap/EcosystemHeader.tsx b/components/EcosystemMap/EcosystemHeader.tsx new file mode 100644 index 00000000..7cf59683 --- /dev/null +++ b/components/EcosystemMap/EcosystemHeader.tsx @@ -0,0 +1,41 @@ +import React from 'react'; + +interface EcosystemHeaderProps { + searchTerm: string; + setSearchTerm: (val: string) => void; +} + +export default function EcosystemHeader({ searchTerm, setSearchTerm }: EcosystemHeaderProps) { + return ( +
+

Sei Ecosystem Map

+

+ Sei Ecosystem is the epicenter of technological advancement, bringing together creative minds and industry leaders to drive the future of Sei’s blockchain + technology. +

+ +
+ ) => setSearchTerm(e.target.value)} + className='w-full px-4 py-2 bg-black text-white border-2 border-red-600 rounded-md placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-red-600 focus:ring-offset-2 focus:ring-offset-black' + /> +
+
+ ); +} diff --git a/components/EcosystemMap/EcosystemMap.tsx b/components/EcosystemMap/EcosystemMap.tsx index 24888f1f..e2bb0fa6 100644 --- a/components/EcosystemMap/EcosystemMap.tsx +++ b/components/EcosystemMap/EcosystemMap.tsx @@ -1,103 +1,76 @@ -import { useConfig } from 'nextra-theme-docs' -import { useEffect, useState } from 'react' -import { groupBy } from 'underscore' -import { EcosystemSection, EcosystemSkeleton } from '.' -import { - EcosystemResponse, - getSeiEcosystemAppsData, -} from '../../data/ecosystemData' +import { useEffect, useState } from 'react'; +import { groupBy } from 'underscore'; +import { EcosystemSection, EcosystemSkeleton } from '.'; +import { EcosystemItem, EcosystemResponse, getSeiEcosystemAppsData } from '../../data/ecosystemData'; +import EcosystemSearchBar from './EcosystemSearchBar'; -// ;[ -// 'Consumer Apps', -// 'Infrastructure', -// 'DeFi', -// 'Data & Analytics', -// 'Wallets', -// 'NFTs', -// 'Exchanges & On/Off Ramps', -// 'Other', -// 'AI', -// ] +export default function EcosystemMap() { + const [apps, setApps] = useState(null); + const [loading, setLoading] = useState(true); + const [searchTerm, setSearchTerm] = useState(''); + useEffect(() => { + (async () => { + try { + const data: EcosystemResponse = await getSeiEcosystemAppsData(); + setApps(data.data); + } catch (error) { + console.error('Failed to fetch data:', error); + } finally { + setLoading(false); + } + })(); + }, []); -const EcosystemMap = () => { - const [apps, setApps] = useState(null) - const [loading, setLoading] = useState(true) + if (loading || !apps) { + return ; + } - const config = useConfig() + const filteredApps = apps.filter((app) => { + const fields = app.fieldData; + const normalizedSearch = searchTerm.toLowerCase(); + const matchesName = fields.name?.toLowerCase().includes(normalizedSearch); + const matchesMainCategory = fields.categorie?.toLowerCase().includes(normalizedSearch); + const matchesSubCategory = fields['categorie-2']?.toLowerCase().includes(normalizedSearch); + return matchesName || matchesMainCategory || matchesSubCategory; + }); - console.log(config) - useEffect(() => { - const fetchData = async () => { - await getSeiEcosystemAppsData() - .then((data) => { - setApps(data.data) - setLoading(false) - }) - .catch((error) => { - console.error('Failed to fetch data:', error) - }) - .finally(() => { - setLoading(false) - }) - } - fetchData() - }, []) + const groupedApps = groupBy(filteredApps, (app) => app.fieldData.categorie); + const mainCategories = Object.keys(groupedApps).sort(); - if (!apps || loading) return - - // filter out apps that don't have a categorie - const filteredApps = apps.filter( - (app) => app.fieldData.categorie !== undefined - ) - - // group apps by category - const groupAppsByCategory = groupBy( - filteredApps, - (app) => app.fieldData.categorie - ) - - const categories = Object.keys(groupAppsByCategory) - console.log(categories) - const mappedCategories = categories.map((category) => { - if (category === undefined) return - return { - label: category, - // replace spaces with hyphens and remove special characters like & and / from the category name - value: category - .replace(/\s/g, '-') - .replace(/[&/\s]/g, '') - .toLowerCase() - .replace(/-+/g, '-'), - } - }) - - const appsByCategory = (category: string) => - apps.filter((app) => app.fieldData.categorie === category) - - return ( -
-
- {mappedCategories.map(({ label, value }) => { - return ( -
- {/*

{label}

*/} -

- {label} - -

- -
- ) - })} -
-
- ) + return ( +
+
+

Sei Ecosystem Map

+

+ Sei Ecosystem is the epicenter of technological advancement, bringing together creative minds and industry leaders to drive the future of Sei’s blockchain + technology. +

+ +
+
+ +
+
+ {mainCategories.map((category) => { + const appsInCategory = groupedApps[category]; + return ( +
+

{category}

+ +
+ ); + })} +
+
+ ); } - -export default EcosystemMap diff --git a/components/EcosystemMap/EcosystemSearchBar.tsx b/components/EcosystemMap/EcosystemSearchBar.tsx new file mode 100644 index 00000000..fa6dc471 --- /dev/null +++ b/components/EcosystemMap/EcosystemSearchBar.tsx @@ -0,0 +1,18 @@ +import React from 'react'; + +interface EcosystemSearchBarProps { + searchTerm: string; + setSearchTerm: (val: string) => void; +} + +export default function EcosystemSearchBar({ searchTerm, setSearchTerm }: EcosystemSearchBarProps) { + return ( + ) => setSearchTerm(e.target.value)} + className='w-full px-4 py-2 bg-gray-900 text-white border border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-gray-500' + /> + ); +} diff --git a/components/EcosystemMap/EcosystemSearchWrapper.tsx b/components/EcosystemMap/EcosystemSearchWrapper.tsx new file mode 100644 index 00000000..dfcaabf5 --- /dev/null +++ b/components/EcosystemMap/EcosystemSearchWrapper.tsx @@ -0,0 +1,22 @@ +import { useSearch } from './SearchContext'; + +export default function EcosystemSearchWrapper() { + const { searchTerm, setSearchTerm } = useSearch(); + + return ( +
+ setSearchTerm(e.target.value)} + className='border p-2 rounded w-full + border-gray-300 dark:border-gray-700 + bg-white dark:bg-gray-900 + text-gray-800 dark:text-gray-100 + focus:outline-none focus:border-gray-400 + dark:focus:border-gray-500' + /> +
+ ); +} diff --git a/components/EcosystemMap/EcosystemSection.tsx b/components/EcosystemMap/EcosystemSection.tsx index 392f60f5..5f0aa252 100644 --- a/components/EcosystemMap/EcosystemSection.tsx +++ b/components/EcosystemMap/EcosystemSection.tsx @@ -1,27 +1,24 @@ -import _ from 'lodash'; -import { EcosystemItem } from '../../data/ecosystemData'; +import type { EcosystemItem } from '../../data/ecosystemData'; import AppCardV2 from '../AppCard/AppCard.v2'; -const EcosystemSection = ({ apps }: { apps: EcosystemItem[] }) => { - const groupedApps = _.groupBy(apps, (app) => app.fieldData['categorie-2']); - const keys = Object.keys(groupedApps); +interface EcosystemSectionProps { + apps: EcosystemItem[]; +} + +export function EcosystemSection({ apps }: EcosystemSectionProps) { + if (!apps || apps.length === 0) { + return

No results found.

; + } return ( -
- {keys.map((key) => { - return ( -
-

{key}

-
- {groupedApps[key].map((app) => ( - - ))} -
-
- ); - })} -
+
+
+ {apps.map((app) => ( + + ))} +
+
); -}; +} export default EcosystemSection; diff --git a/components/EcosystemMap/EcosystemSkeleton.tsx b/components/EcosystemMap/EcosystemSkeleton.tsx index 4b955a1b..59dd9475 100644 --- a/components/EcosystemMap/EcosystemSkeleton.tsx +++ b/components/EcosystemMap/EcosystemSkeleton.tsx @@ -1,19 +1,12 @@ -const EcosystemSkeleton = () => { - return ( -
-
-
- {Array.from({ length: 8 }).map((_, index) => ( -
-
-
- ))} -
-
- ) +export default function EcosystemSkeleton() { + return ( +
+
+
+ {Array.from({ length: 6 }).map((_, i) => ( +
+ ))} +
+
+ ); } - -export default EcosystemSkeleton diff --git a/components/EcosystemMap/SearchContext.tsx b/components/EcosystemMap/SearchContext.tsx new file mode 100644 index 00000000..c8f3a09d --- /dev/null +++ b/components/EcosystemMap/SearchContext.tsx @@ -0,0 +1,21 @@ +import React, { createContext, useContext, useState, ReactNode } from 'react'; + +interface SearchContextType { + searchTerm: string; + setSearchTerm: (v: string) => void; +} + +const SearchContext = createContext(null); + +export function SearchProvider({ children }: { children: ReactNode }) { + const [searchTerm, setSearchTerm] = useState(''); + return {children}; +} + +export function useSearch() { + const ctx = useContext(SearchContext); + if (!ctx) { + throw new Error('useSearch() must be used within '); + } + return ctx; +} diff --git a/components/EcosystemMap/index.ts b/components/EcosystemMap/index.ts index a3784eb4..edaf910d 100644 --- a/components/EcosystemMap/index.ts +++ b/components/EcosystemMap/index.ts @@ -1,4 +1,4 @@ -export { default as EcosystemDynamicSection } from './EcosystemDynamicSection' -export { default as EcosystemMap } from './EcosystemMap' -export { default as EcosystemSection } from './EcosystemSection' -export { default as EcosystemSkeleton } from './EcosystemSkeleton' +export { default as EcosystemDynamicSection } from './EcosystemDynamicSection'; +export { default as EcosystemMap } from './EcosystemMap'; +export { default as EcosystemSection } from './EcosystemSection'; +export { default as EcosystemSkeleton } from './EcosystemSkeleton'; diff --git a/components/EvmWalletConnect/CustomConnectButton.tsx b/components/EvmWalletConnect/CustomConnectButton.tsx index 9285fcf4..d64cf6de 100644 --- a/components/EvmWalletConnect/CustomConnectButton.tsx +++ b/components/EvmWalletConnect/CustomConnectButton.tsx @@ -1,74 +1,75 @@ // components/EvmWalletConnect/CustomConnectButton.tsx -import { ConnectButton } from "@rainbow-me/rainbowkit"; +import { ConnectButton } from '@rainbow-me/rainbowkit'; import styled from 'styled-components'; const CustomButton = styled.button` -background: black; /* Dark color */ -border: white solid 1px; -color: white; /* Light color */ -padding: 0.5rem 1rem; -font-size: 1rem; -cursor: pointer; -transition: color 0.3s, background 0.3s; -display: inline-block; -margin-top: 1rem; -margin-right: 0.5rem; -border-radius: 25px; /* Rounded corners */ -text-align: center; -box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); -font-family: 'Inter', sans-serif; + /* --- Light Mode (default) --- */ + background-color: #f9d2d2; /* same light red as LinkCards */ + color: #000; + border-radius: 0.75rem; + border: none; + padding: 0.75rem 1.25rem; + font-family: 'Inter', sans-serif; + font-size: 1rem; + cursor: pointer; + margin-top: 1rem; + margin-right: 0.5rem; + transition: + background-color 0.3s ease, + color 0.3s ease; -&:hover { - color: black; /* Dark color */ - background: white; /* Light color */ - border: black solid 1px; -} -`; + &:hover { + background-color: #e5a8a8; /* same hover color as LinkCards in light mode */ + color: #000; + } -const CustomConnectButton = (props) => ( - -{({ account, chain, openAccountModal, openConnectModal, openChainModal, mounted }) => { - const ready = mounted; - const connected = ready && account && chain; + /* --- Force Dark Mode (matching .cardLink dark-red) --- */ + /* Adjust if you have .dark on or */ + html.dark &, + body.dark & { + background-color: #8b1f1f !important; /* same dark red as LinkCards */ + color: #fff !important; - return ( -
- {(() => { - if (!connected) { - return ( - - Connect Wallet - - ); - } + &:hover { + background-color: #9b2f2f !important; + color: #fff !important; + } + } +`; - if (chain.unsupported) { - return ( - - Wrong network - - ); - } +const CustomConnectButton = () => ( + + {({ account, chain, openAccountModal, openConnectModal, openChainModal, mounted }) => { + const ready = mounted; + const connected = ready && account && chain; - return ( - - {account.displayName} - - ); - })()} -
- ); -}} -
+ return ( +
+ {!connected ? ( + + Connect Wallet + + ) : chain?.unsupported ? ( + + Wrong network + + ) : ( + + {account?.displayName} + + )} +
+ ); + }} + ); export default CustomConnectButton; diff --git a/components/Footer/Footer.tsx b/components/Footer/Footer.tsx new file mode 100644 index 00000000..714a9c27 --- /dev/null +++ b/components/Footer/Footer.tsx @@ -0,0 +1,145 @@ +import React from 'react'; + +export function Footer() { + return ( + + ); +} diff --git a/components/Homepage/SeiIntro.tsx b/components/Homepage/SeiIntro.tsx new file mode 100644 index 00000000..8bb63166 --- /dev/null +++ b/components/Homepage/SeiIntro.tsx @@ -0,0 +1,31 @@ +import React from 'react'; +import { Title, Text, Button, Box, Image } from '@mantine/core'; +import Link from 'next/link'; +import NextImage from 'next/image'; +import Header from '../../public/assets/header.png'; +import styles from '../../styles/SeiIntro.module.css'; + +const SeiIntro: React.FC = () => { + return ( +
+ + Docs header + + + Sei Documentation + Sei is the first parallelized EVM blockchain delivering unmatched scalability. + +
+ + + +
+
+ ); +}; + +export default SeiIntro; diff --git a/components/LinkCard/LinkCard.tsx b/components/LinkCard/LinkCard.tsx new file mode 100644 index 00000000..6efdb8bf --- /dev/null +++ b/components/LinkCard/LinkCard.tsx @@ -0,0 +1,81 @@ +import Link from 'next/link'; +import { useState, type ReactNode } from 'react'; +import { IconChevronDown } from '@tabler/icons-react'; +import styles from '../../styles/LinkCard.module.css'; + +interface LinkCardProps { + title: string; + link: string; + description?: string; + icon?: ReactNode; + preview?: { + content: string; + highlights?: string[]; + }; +} + +const LinkCard = ({ title, description, link, icon, preview }: LinkCardProps) => { + const [showPreview, setShowPreview] = useState(false); + + return ( +
+ { + if (showPreview) { + setShowPreview(false); + } + }}> +
+
+ {icon &&
{icon}
} + {preview && ( + + )} +
+
+

{title}

+ {description &&

{description}

} +
+
+ + {preview && showPreview && ( +
e.stopPropagation()}> +
+
+ +
+
+

{preview.content}

+ {preview.highlights && ( +
    + {preview.highlights.map((highlight, idx) => ( +
  • + + {highlight} +
  • + ))} +
+ )} +
+
+
+ )} +
+ ); +}; + +export default LinkCard; diff --git a/components/LinkCard/index.ts b/components/LinkCard/index.ts new file mode 100644 index 00000000..24d1a828 --- /dev/null +++ b/components/LinkCard/index.ts @@ -0,0 +1 @@ +export { default as LinkCard } from './LinkCard'; diff --git a/components/OldDocsCallout/OldDocsCallout.tsx b/components/OldDocsCallout/OldDocsCallout.tsx new file mode 100644 index 00000000..6b0b47c3 --- /dev/null +++ b/components/OldDocsCallout/OldDocsCallout.tsx @@ -0,0 +1,18 @@ +import { Callout } from 'nextra-theme-docs'; + +function OldDocsCallout() { + return ( +
+ +

+ Looking for the old docs?{' '} + + Click here + +

+
+
+ ); +} + +export default OldDocsCallout; diff --git a/components/OldDocsCallout/index.ts b/components/OldDocsCallout/index.ts new file mode 100644 index 00000000..1e158e4e --- /dev/null +++ b/components/OldDocsCallout/index.ts @@ -0,0 +1 @@ +export { default as OldDocsCallout } from './OldDocsCallout'; diff --git a/components/index.ts b/components/index.ts index eab1304f..fc27a00a 100644 --- a/components/index.ts +++ b/components/index.ts @@ -3,7 +3,6 @@ export * from './APIEndpoint'; export * from './APIEndpointRoute'; export * from './APIModule'; export * from './APIModulePaths'; -export * from './DeveloperSurveyCallout'; export * from './EcosystemApps'; export * from './EcosystemCard'; export * from './EvmWalletConnect'; @@ -17,3 +16,4 @@ export * from './PropertyInfo'; export * from './EcosystemMap'; export * from './InteractiveTerminal'; export * from './AskCookbook'; +export * from './OldDocsCallout'; diff --git a/data/redirects.json b/data/redirects.json new file mode 100644 index 00000000..5876d92b --- /dev/null +++ b/data/redirects.json @@ -0,0 +1,482 @@ +[ + { + "source": "/general-overview", + "destination": "/learn/general-overview", + "permanent": true + }, + { + "source": "/general-staking", + "destination": "/learn/general-staking", + "permanent": true + }, + { + "source": "/general-governance", + "destination": "/learn/general-governance", + "permanent": true + }, + { + "source": "/general-submit-feedback", + "destination": "/learn/general-submit-feedback", + "permanent": true + }, + { + "source": "/general-brand-kit", + "destination": "/learn/general-brand-kit", + "permanent": true + }, + { + "source": "/user-quickstart", + "destination": "/learn/user-quickstart", + "permanent": true + }, + { + "source": "/user-guides/wallet-setup", + "destination": "/learn/wallet-setup", + "permanent": true + }, + { + "source": "/user-guides/linking-addresses", + "destination": "/learn/linking-addresses", + "permanent": true + }, + { + "source": "/user-guides/getting-tokens", + "destination": "/learn/getting-tokens", + "permanent": true + }, + { + "source": "/user-guides/block-explorers", + "destination": "/learn/block-explorers", + "permanent": true + }, + { + "source": "/user-guides/bridging", + "destination": "/learn/bridging", + "permanent": true + }, + { + "source": "/user-guides/wrapped-sei", + "destination": "/learn/wrapped-sei", + "permanent": true + }, + { + "source": "/user-guides/ledger-setup", + "destination": "/learn/ledger-setup", + "permanent": true + }, + { + "source": "/user-FAQ", + "destination": "/learn/user-FAQ", + "permanent": true + }, + { + "source": "/dev-intro", + "destination": "/build", + "permanent": true + }, + { + "source": "/dev-chains", + "destination": "/learn/dev-chains", + "permanent": true + }, + { + "source": "/dev-token-standards", + "destination": "/build/dev-token-standards", + "permanent": true + }, + { + "source": "/dev-gas", + "destination": "/learn/dev-gas", + "permanent": true + }, + { + "source": "/dev-transactions", + "destination": "/learn/dev-transactions", + "permanent": true + }, + { + "source": "/dev-smart-contracts", + "destination": "/build/dev-smart-contracts", + "permanent": true + }, + { + "source": "/dev-querying-state", + "destination": "/build/dev-querying-state", + "permanent": true + }, + { + "source": "/dev-interoperability", + "destination": "/learn/dev-interoperability", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/addr", + "destination": "/reference/precompiles/addr", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/bank", + "destination": "/reference/precompiles/bank", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/cosmwasm", + "destination": "/reference/precompiles/cosmwasm", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/distribution", + "destination": "/reference/precompiles/distribution", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/example-usage", + "destination": "/reference/precompiles/example-usage", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/governance", + "destination": "/reference/precompiles/governance", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/ibc", + "destination": "/reference/precompiles/ibc", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/json", + "destination": "/reference/precompiles/json", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/oracle", + "destination": "/reference/precompiles/oracle", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/pointer", + "destination": "/reference/precompiles/pointer", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/pointerview", + "destination": "/reference/precompiles/pointerview", + "permanent": true + }, + { + "source": "/dev-interoperability/precompiles/staking", + "destination": "/reference/precompiles/staking", + "permanent": true + }, + { + "source": "/dev-interoperability/pointer-contracts", + "destination": "/reference/pointer-contracts", + "permanent": true + }, + { + "source": "/dev-frontend-dapps", + "destination": "/build/dev-frontend-dapps", + "permanent": true + }, + { + "source": "/dev-node/intro", + "destination": "/node/intro", + "permanent": true + }, + { + "source": "/dev-node/quickstart", + "destination": "/node/quickstart", + "permanent": true + }, + { + "source": "/dev-node/node-operators", + "destination": "/node/node-operators", + "permanent": true + }, + { + "source": "/dev-node/node-configuration", + "destination": "/node/node-configuration", + "permanent": true + }, + { + "source": "/dev-node/configure-general-settings", + "destination": "/node/configure-general-settings", + "permanent": true + }, + { + "source": "/dev-node/swagger-docs-endpoint", + "destination": "/node/swagger-docs-endpoint", + "permanent": true + }, + { + "source": "/dev-node/join-a-network", + "destination": "/node/join-a-network", + "permanent": true + }, + { + "source": "/dev-node/running-seid", + "destination": "/node/running-seid", + "permanent": true + }, + { + "source": "/dev-validators/overview", + "destination": "/node/overview", + "permanent": true + }, + { + "source": "/dev-validators/register", + "destination": "/node/register", + "permanent": true + }, + { + "source": "/dev-validators/security-practices", + "destination": "/node/security-practices", + "permanent": true + }, + { + "source": "/dev-validators/restore-validator", + "destination": "/node/restore-validator", + "permanent": true + }, + { + "source": "/dev-validators/oracle-price-feeder", + "destination": "/node/oracle-price-feeder", + "permanent": true + }, + { + "source": "/dev-validators/validator-faq", + "destination": "/node/validator-faq", + "permanent": true + }, + { + "source": "/dev-advanced-concepts/fee-grants", + "destination": "/learn/fee-grants", + "permanent": true + }, + { + "source": "/dev-advanced-concepts/account-structure", + "destination": "/learn/account-structure", + "permanent": true + }, + { + "source": "/dev-advanced-concepts/wallet-association", + "destination": "/learn/wallet-association", + "permanent": true + }, + { + "source": "/dev-advanced-concepts/hardware-wallets", + "destination": "/learn/hardware-wallets", + "permanent": true + }, + { + "source": "/dev-advanced-concepts/oracles", + "destination": "/learn/oracles", + "permanent": true + }, + { + "source": "/dev-advanced-concepts/execute-multiple", + "destination": "/learn/execute-multiple", + "permanent": true + }, + { + "source": "/dev-advanced-concepts/hd-path-coin-types", + "destination": "/learn/hd-path-coin-types", + "permanent": true + }, + { + "source": "/dev-advanced-concepts/proposals", + "destination": "/learn/proposals", + "permanent": true + }, + { + "source": "/dev-advanced-concepts/ibc-relayer", + "destination": "/learn/ibc-relayer", + "permanent": true + }, + { + "source": "/dev-advanced-concepts/differences-with-ethereum", + "destination": "/learn/differences-with-ethereum", + "permanent": true + }, + { + "source": "/endpoints", + "destination": "/reference/endpoints", + "permanent": true + }, + { + "source": "/endpoints/cosmos", + "destination": "/reference/cosmos", + "permanent": true + }, + { + "source": "/endpoints/cosmos/api/:slug*", + "destination": "/reference/api/:slug*", + "permanent": true + }, + { + "source": "/endpoints/evm", + "destination": "/reference/evm", + "permanent": true + }, + { + "source": "/seid/:slug*", + "destination": "/reference/seid/:slug*", + "permanent": true + }, + { + "source": "/seid", + "destination": "/reference/seid", + "permanent": true + }, + { + "source": "/dev-tutorials/installing-seid", + "destination": "/build/installing-seid", + "permanent": true + }, + { + "source": "/dev-tutorials/building-a-frontend", + "destination": "/build/building-a-frontend", + "permanent": true + }, + { + "source": "/dev-tutorials/cosmwasm-general", + "destination": "/build/cosmwasm-general", + "permanent": true + }, + { + "source": "/dev-tutorials/evm-general", + "destination": "/build/evm-general", + "permanent": true + }, + { + "source": "/dev-tutorials/evm-cli-tutorial", + "destination": "/build/evm-cli-tutorial", + "permanent": true + }, + { + "source": "/dev-tutorials/tokenfactory-tutorial", + "destination": "/build/tokenfactory-tutorial", + "permanent": true + }, + { + "source": "/dev-tutorials/tokenfactory-allowlist", + "destination": "/build/tokenfactory-allowlist", + "permanent": true + }, + { + "source": "/dev-tutorials/nft-contract-tutorial", + "destination": "/build/nft-contract-tutorial", + "permanent": true + }, + { + "source": "/dev-tutorials/pointer-contracts", + "destination": "/build/pointer-contracts", + "permanent": true + }, + { + "source": "/dev-tutorials/multi-sig-accounts", + "destination": "/build/multi-sig-accounts", + "permanent": true + }, + { + "source": "/dev-tutorials/ibc-protocol", + "destination": "/build/ibc-protocol", + "permanent": true + }, + { + "source": "/dev-tutorials/ledger-ethers", + "destination": "/build/ledger-ethers", + "permanent": true + }, + { + "source": "/resources-resources", + "destination": "/build/resources-resources", + "permanent": true + }, + { + "source": "/resources-tools-and-resources", + "destination": "/build/resources-tools-and-resources", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/wallets", + "destination": "/providers/wallets", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/explorers", + "destination": "/providers/explorers", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/rpc-providers", + "destination": "/providers/rpc-providers", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/indexers/indexers", + "destination": "/providers/indexers/indexers", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/indexers/the-graph", + "destination": "/providers/indexers/the-graph", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/indexers/goldrush", + "destination": "/providers/indexers/goldrush", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/centralized-exchanges", + "destination": "/providers/centralized-exchanges", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/faucets", + "destination": "/providers/faucets", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/oracles/oracles", + "destination": "/providers/oracles", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/bridges", + "destination": "/providers/bridges", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/nfts", + "destination": "/providers/nfts", + "permanent": true + }, + { + "source": "/dev-ecosystem-providers/ecosystem-map", + "destination": "/providers/ecosystem-map", + "permanent": true + }, + { + "source": "/introduction/overview", + "destination": "/learn", + "permanent": true + }, + { + "source": "/advanced/parallelism", + "destination": "/learn/general-overview", + "permanent": true + }, + { + "source": "/advanced/governance", + "destination": "/learn/general-governance", + "permanent": true + }, + { + "source": "/learn/about-sei", + "destination": "/learn/general-overview", + "permanent": true + } +] diff --git a/next.config.js b/next.config.js index 1bad3cc1..956f1931 100644 --- a/next.config.js +++ b/next.config.js @@ -1,3 +1,5 @@ +const REDIRECTS = require('./data/redirects'); + const withNextra = require('nextra')({ theme: 'nextra-theme-docs', themeConfig: './theme.config.tsx' @@ -19,5 +21,8 @@ module.exports = withNextra({ pathname: '/65cb43fecf24523357feada9/**' } ] + }, + async redirects() { + return REDIRECTS; } }); diff --git a/package.json b/package.json index a4ae7621..95fc59a4 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,11 @@ "dependencies": { "@cookbookdev/docsbot": "^4.24.0", "@mantine/code-highlight": "^7.12.2", - "@mantine/core": "^7.10.1", - "@mantine/hooks": "^7.10.1", + "@mantine/core": "^7.16.0", + "@mantine/hooks": "^7.16.0", "@rainbow-me/rainbowkit": "^1.3.3", "@sei-js/registry": "^1.0.1", + "@tabler/icons-react": "^3.28.1", "lucide-react": "^0.314.0", "next": "13.0.6", "next-seo": "^6.5.0", diff --git a/pages/_app.mdx b/pages/_app.mdx index 0f4bb3c6..b21ebabf 100644 --- a/pages/_app.mdx +++ b/pages/_app.mdx @@ -11,7 +11,7 @@ export default function Nextra({ Component, pageProps }) { - + ); diff --git a/pages/_document.tsx b/pages/_document.tsx index 6ed5c613..af2f1aba 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -1,16 +1,13 @@ import { Head, Html, Main, NextScript } from 'next/document'; -import { ColorSchemeScript } from '@mantine/core'; export default function Document() { - return ( - - - - - -
- - - - ); + return ( + + + +
+ + + + ); } diff --git a/pages/_meta.json b/pages/_meta.json index 4e685063..b3c4a1ec 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -1,55 +1,26 @@ { - "-- General": { - "type": "separator", - "title": "General" + "index": { + "title": "Home", + "display": "hidden" }, - "index": "Introduction", - "general-overview": "Overview", - "general-staking": "Staking", - "general-governance": "Governance", - "general-submit-feedback": "Submit Feedback", - "general-brand-kit": "Brand Kit", - "-- For Users": { - "title": "For Users", - "type": "separator" + "learn": { + "title": "Learn", + "type": "page" }, - "user-quickstart": "Quickstart", - "user-guides": "User Guides", - "user-FAQ": "FAQ", - "user-ecosystem-apps": { - "display": "hidden" + "build": { + "title": "Build", + "type": "page" }, - "-- For Developers": { - "type": "separator", - "title": "For Developers" + "node": { + "title": "Operate", + "type": "page" }, - "dev-intro": "Introduction", - "dev-chains": "Chains", - "dev-token-standards": "Token Standards", - "dev-gas": "Gas", - "dev-transactions": "Transactions", - "dev-smart-contracts": "Smart Contracts", - "dev-querying-state": "Querying State", - "dev-interoperability": "VM Interoperability", - "dev-frontend-dapps": "Frontend dApps", - - "dev-node": "Nodes", - "dev-validators": "Validators", - "dev-advanced-concepts": "Advanced Concepts", - "-- Resources": { - "type": "separator", - "title": "Resources" + "reference": { + "title": "Reference", + "type": "page" }, - "endpoints": "API Reference", - "seid": "CLI Reference", - "dev-tutorials": "Tutorials", - "dev-ecosystem-providers": "Ecosystem & Providers", - "resources-resources": "Resources", - "resources-tools-and-resources": "Tools", - "landing": { - "title": "Back to Sei ↗", - "type": "page", - "href": "https://www.sei.io/", - "newWindow": true + "providers": { + "title": "Providers", + "type": "page" } } diff --git a/pages/build/_meta.json b/pages/build/_meta.json new file mode 100644 index 00000000..e96a3165 --- /dev/null +++ b/pages/build/_meta.json @@ -0,0 +1,50 @@ +{ + "index": "Home", + "-- Setup & Installation": { + "type": "separator", + "title": "Setup and Installation" + }, + "installing-seid": "Installing seid CLI", + "dev-token-standards": "Token Standards", + + "-- Frontend Development": { + "type": "separator", + "title": "Frontend Development" + }, + "dev-frontend-dapps": "Overview", + "building-a-frontend": "Building a Frontend", + + "-- Smart Contracts": { + "type": "separator", + "title": "Smart Contracts" + }, + "dev-smart-contracts": "Choosing a VM", + "dev-querying-state": "Querying Blockchain State", + "cosmwasm-general": "CosmWasm (General)", + "evm-general": "EVM (General)", + "evm-cli-tutorial": "EVM (CLI)", + "nft-contract-tutorial": "NFT Contracts", + "pointer-contracts": "Pointer Contracts", + + "-- Assets": { + "type": "separator", + "title": "Assets" + }, + "tokenfactory-tutorial": "Token Factory", + "tokenfactory-allowlist": "Allowlists", + "multi-sig-accounts": "Multi-Sig Accounts", + + "-- Interoperability": { + "type": "separator", + "title": "Interoperability" + }, + "ibc-protocol": "IBC Protocol", + "ledger-ethers": "Using Ledger with Ethers", + + "-- Ecosystem": { + "type": "separator", + "title": "Ecosystem" + }, + "resources-tools-and-resources": "Tools", + "resources-resources": "Resources" +} diff --git a/pages/dev-tutorials/building-a-frontend.mdx b/pages/build/building-a-frontend.mdx similarity index 98% rename from pages/dev-tutorials/building-a-frontend.mdx rename to pages/build/building-a-frontend.mdx index 28ab6f6d..3d815ce9 100644 --- a/pages/dev-tutorials/building-a-frontend.mdx +++ b/pages/build/building-a-frontend.mdx @@ -28,7 +28,7 @@ Before starting, ensure you have: Start by creating a new React project using Vite's TypeScript template for streamlined development: -```bash copy +```bash npm create vite@latest my-counter-frontend -- --template react-ts ``` @@ -43,7 +43,7 @@ This command creates a new folder with a React project using TypeScript. Open `m Install `ethers`, an Ethereum library that facilitates interaction with the Ethereum blockchain: -```bash copy +```bash npm install ethers ``` @@ -62,7 +62,7 @@ First, import the address and ABI of the CosmWasm precompile from `@sei-js/evm`. `@sei-js/evm` is an npm package that contains useful constants and helpers for interacting with the EVM on Sei. To install sei-js: -```bash copy +```bash npm install @sei-js/evm ``` @@ -226,9 +226,9 @@ Before starting, ensure you have: ## Creating a React Project -If you're starting a project from scratch, we recommend using the TypeScript template from Vite for easier development and debugging. +If you're starting a project from scratch, consider using the TypeScript template from Vite for easier development and debugging. -```bash copy +```bash npm create vite@latest my-counter-frontend -- --template react-ts ``` @@ -243,7 +243,7 @@ This command creates a new folder with a React project using TypeScript. Open `m From the terminal at the root of your project, install the required dependencies: `@sei-js/core` and `@sei-js/react`. -```bash copy +```bash npm install @sei-js/core @sei-js/react ``` diff --git a/pages/dev-tutorials/cosmwasm-general.mdx b/pages/build/cosmwasm-general.mdx similarity index 100% rename from pages/dev-tutorials/cosmwasm-general.mdx rename to pages/build/cosmwasm-general.mdx diff --git a/pages/dev-frontend-dapps.mdx b/pages/build/dev-frontend-dapps.mdx similarity index 100% rename from pages/dev-frontend-dapps.mdx rename to pages/build/dev-frontend-dapps.mdx diff --git a/pages/dev-querying-state.mdx b/pages/build/dev-querying-state.mdx similarity index 100% rename from pages/dev-querying-state.mdx rename to pages/build/dev-querying-state.mdx diff --git a/pages/dev-smart-contracts.mdx b/pages/build/dev-smart-contracts.mdx similarity index 99% rename from pages/dev-smart-contracts.mdx rename to pages/build/dev-smart-contracts.mdx index bcdf6ab1..f2e4d64f 100644 --- a/pages/dev-smart-contracts.mdx +++ b/pages/build/dev-smart-contracts.mdx @@ -1,7 +1,7 @@ import { Blockquote, List, Paper, Text, Title } from '@mantine/core'; import { Callout } from 'nextra/components'; -# Smart Contracts +# VM Smart Contracts Smart contracts are self-executing contracts with their own state. On Sei, developers have the flexibility to use both the EVM (Ethereum Virtual Machine) and CosmWasm for smart contract development, allowing for a broad range of decentralized applications (dApps) and interoperability between the two ecosystems. diff --git a/pages/dev-token-standards.mdx b/pages/build/dev-token-standards.mdx similarity index 100% rename from pages/dev-token-standards.mdx rename to pages/build/dev-token-standards.mdx diff --git a/pages/dev-tutorials/evm-cli-tutorial.mdx b/pages/build/evm-cli-tutorial.mdx similarity index 100% rename from pages/dev-tutorials/evm-cli-tutorial.mdx rename to pages/build/evm-cli-tutorial.mdx diff --git a/pages/dev-tutorials/evm-general.mdx b/pages/build/evm-general.mdx similarity index 100% rename from pages/dev-tutorials/evm-general.mdx rename to pages/build/evm-general.mdx diff --git a/pages/dev-tutorials/ibc-protocol.mdx b/pages/build/ibc-protocol.mdx similarity index 100% rename from pages/dev-tutorials/ibc-protocol.mdx rename to pages/build/ibc-protocol.mdx diff --git a/pages/build/index.mdx b/pages/build/index.mdx new file mode 100644 index 00000000..68a219c4 --- /dev/null +++ b/pages/build/index.mdx @@ -0,0 +1,99 @@ +import { IconArrowsExchange, IconBrain, IconCoins, IconCode, IconLayoutDashboard, IconTools, IconSettingsAutomation } from '@tabler/icons-react'; +import { LinkCard } from '../../components/LinkCard'; + +# Start Building on Sei + +Learn the fundamentals of Sei blockchain development. + +
+ } + title='Understanding Sei Architecture' + link='/learn/differences-with-ethereum' + description={`Explore Sei's unique architecture and how it differs from Ethereum.`} + preview={{ + content: "Learn about Sei's consensus mechanism and architecture tailored for optimized performance and scalability.", + highlights: [ + "Unique consensus for fast finality", + "Efficient transaction execution", + "Parallel transaction processing", + "Seamless dApp integration", + ], + }} + /> + } + title='Exploring Token Standards' + link='/build/dev-token-standards' + description={`Learn how to create and integrate tokens using Sei’s standards.`} + preview={{ + content: "Detailed guidance on creating fungible and non-fungible tokens using Sei's standards.", + highlights: [ + "Standardized fungible and non-fungible tokens", + "Deploying ERC-20/ERC-721 equivalents", + "Cross-chain token compatibility", + "Gas-optimized token transfers", + ], + }} + /> + } + title='Deploying EVM-Compatible Contracts' + link='/build/evm-general' + description={`Learn how to deploy, interact with, and optimize EVM-compatible contracts on Sei.`} + preview={{ + content: "Step-by-step guidance for deploying Ethereum-compatible contracts on Sei.", + highlights: [ + "EVM compatibility explained", + "Deploying existing Solidity contracts", + "Optimizing contract performance on Sei", + "Debugging and migrating contracts", + ], + }} + /> + } + title='Developing CosmWasm Smart Contracts' + link='/build/cosmwasm-general' + description={`Build high-performance, flexible smart contracts with CosmWasm on Sei.`} + preview={{ + content: "Unlock new possibilities by developing CosmWasm smart contracts tailored for Sei.", + highlights: [ + "Understanding CosmWasm basics", + "Use cases: DeFi, NFTs, and more", + "Deployment and testing workflows", + "Integrating CosmWasm contracts with dApps", + ], + }} + /> + } + title='Connecting Frontends to Smart Contracts' + link='/build/building-a-frontend' + description={`Learn how to build and connect frontend interfaces for Sei-based dApps.`} + preview={{ + content: "Create performant and user-friendly frontends that seamlessly interact with Sei’s backend.", + highlights: [ + "Choosing the right frameworks (e.g., React)", + "Connecting to Sei’s smart contracts", + "Handling blockchain events", + "Best practices for dApp UX/UI", + ], + }} + /> + } + title='Cross-Chain Interoperability with IBC' + link='/build/ibc-protocol' + description={`Enable seamless communication between Sei and other blockchains using IBC.`} + preview={{ + content: "Implement cross-chain features with IBC to connect Sei with the broader blockchain ecosystem.", + highlights: [ + "Introduction to the IBC protocol", + "Setting up cross-chain communication", + "Ensuring data integrity and security", + "Use cases: Cross-chain DeFi, NFTs, and more", + ], + }} + /> +
diff --git a/pages/dev-tutorials/installing-seid.mdx b/pages/build/installing-seid.mdx similarity index 98% rename from pages/dev-tutorials/installing-seid.mdx rename to pages/build/installing-seid.mdx index a0100504..cc4a7b67 100644 --- a/pages/dev-tutorials/installing-seid.mdx +++ b/pages/build/installing-seid.mdx @@ -21,7 +21,7 @@ make install You can verify that Seid was installed correctly by running: -```bash copy +```bash seid version ``` @@ -30,7 +30,7 @@ seid version 1. Use `go env GOPATH` to find your GOPATH 2. Add the following lines to your `~/.bashrc` or `~/.zshrc`: - ```bash copy + ```bash export GOPATH=[your GOPATH from step 1] export PATH=$PATH:$GOPATH/bin ``` @@ -88,7 +88,7 @@ Use "seid [command] --help" for more information about a command. You can create a new wallet using the `seid keys` command: -```bash copy +```bash seid keys add $NAME ``` @@ -96,7 +96,7 @@ Please replace `$NAME` with the name you would like to use for this key. This wi Alternatively, if you would like to import an existing seed phrase, you can add the `--recover` flag: -```bash copy +```bash seid keys add $NAME --recover ``` @@ -116,12 +116,12 @@ This will generate a different address than the default coin type of `118`. To see your local wallets, you can run -```bash copy +```bash seid keys list ``` to see a list of all wallets added, or -```bash copy +```bash seid keys show $NAME ``` diff --git a/pages/dev-tutorials/ledger-ethers.mdx b/pages/build/ledger-ethers.mdx similarity index 100% rename from pages/dev-tutorials/ledger-ethers.mdx rename to pages/build/ledger-ethers.mdx diff --git a/pages/dev-tutorials/multi-sig-accounts.mdx b/pages/build/multi-sig-accounts.mdx similarity index 100% rename from pages/dev-tutorials/multi-sig-accounts.mdx rename to pages/build/multi-sig-accounts.mdx diff --git a/pages/dev-tutorials/nft-contract-tutorial.mdx b/pages/build/nft-contract-tutorial.mdx similarity index 98% rename from pages/dev-tutorials/nft-contract-tutorial.mdx rename to pages/build/nft-contract-tutorial.mdx index 70f61f3c..9df2fd7e 100644 --- a/pages/dev-tutorials/nft-contract-tutorial.mdx +++ b/pages/build/nft-contract-tutorial.mdx @@ -30,14 +30,14 @@ Before we start, ensure you have: 1. Initialize a new Foundry project: - ```bash copy + ```bash forge init my-nft-project cd my-nft-project ``` 2. Install OpenZeppelin, a library for secure smart contract development. - ```bash copy + ```bash forge install OpenZeppelin/openzeppelin-contracts ``` @@ -65,7 +65,7 @@ You may see an error in your IDE about importing `openzeppelin-contracts`. To resolve this, run this command to create `remapping.txt` in the root of your project: -```bash copy +```bash forge remappings > remappings.txt ``` @@ -78,7 +78,7 @@ forge remappings > remappings.txt 1. Write tests for your contract in the `test/` directory. 2. Run your tests with: - ```bash copy + ```bash forge test ``` @@ -86,13 +86,13 @@ forge remappings > remappings.txt 1. Compile your contract: - ```bash copy + ```bash forge build ``` 2. Deploy your contract to a local testnet (e.g., using Anvil, Foundry's local Ethereum node): - ```bash copy + ```bash anvil -a 1 ``` @@ -104,7 +104,7 @@ forge remappings > remappings.txt In a new terminal, deploy your contract: - ```bash copy + ```bash forge create --rpc-url http://localhost:8545 --private-key src/MyNFT.sol:MyNFT --legacy ``` @@ -116,7 +116,7 @@ forge remappings > remappings.txt 3. Deploy contract to the Sei devnet (EVM endpoint): - ```bash copy + ```bash forge create --rpc-url https://evm-rpc.arctic-1.seinetwork.io/ --private-key src/MyNFT.sol:MyNFT --legacy ``` @@ -136,7 +136,7 @@ forge remappings > remappings.txt To enable seamless use of this NFT contract in CosmWasm environments, you can create a pointer contract. This process results in an CW721 token that can be imported and used in Sei wallets and applications. -```bash copy +```bash seid tx evm register-cw-pointer ERC721 $ERC721_TOKEN_ADDRESS --from $ACCOUNT --chain-id=arctic-1 --fees=25000usei --node=https://rpc-arctic-1.sei-apis.com/ ``` @@ -180,20 +180,20 @@ Before starting, ensure you have: To work with CosmWasm smart contracts, you'll need the Wasm rust compiler installed to build Wasm binaries. To install it, run: -```bash copy +```bash rustup target add wasm32-unknown-unknown ``` Next, clone the `CW721-base` contract from the [cw-nfts](https://github.com/CosmWasm/cw-nfts) repository: -```bash copy +```bash git clone https://github.com/CosmWasm/cw-nfts.git cd cw-nfts/contracts/cw721-base ``` To test your setup, run: -```bash copy +```bash cargo test ``` @@ -207,7 +207,7 @@ Review and modify the `cw721-base` contract to meet your requirements. This migh To build the contract, run: -```bash copy +```bash cargo wasm ``` @@ -220,7 +220,7 @@ This compiles a Wasm binary for uploading to Sei. Before we can upload the contract to the chain, we have to use the [CosmWasm Rust Optimizer](https://github.com/CosmWasm/rust-optimizer) to reduce the contract size. While not required, this is highly recommended for live contracts. -```bash copy +```bash docker run --rm -v "$(pwd)":/code \ --mount type=volume,source="$(basename "$(pwd)")_cache",target=/target \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ @@ -239,7 +239,7 @@ This will generate an optimized Wasm contract in `/artifacts`. Upload your contract: -```bash copy +```bash seid tx wasm store artifacts/cw721_base.wasm --from=$ACCOUNT --chain-id=arctic-1 --node=https://rpc.arctic-1.seinetwork.io/ --broadcast-mode=block --gas=5000000 --fees=500000usei ``` @@ -249,7 +249,7 @@ Replace `$ACCOUNT` with your account name or address. This command stores the co Instantiate your contract using the code ID: -```bash copy +```bash seid tx wasm instantiate $CONTRACT_CODE_ID '{"name":"$COLLECTION_NAME", "symbol":"$SYMBOL"}' --from=$ACCOUNT --admin=$ADMIN_ADDRESS --label=$LABEL --chain-id=arctic-1 --node=https://rpc.arctic-1.seinetwork.io/ --broadcast-mode=block --gas=250000 --fees=25000usei ``` @@ -266,7 +266,7 @@ Replace `$CONTRACT_CODE_ID`, `$ACCOUNT`, `$LABEL`, and `$ADMIN_ADDRESS` appropri To enable seamless use of this NFT contract in EVM environments, you can create a pointer contract. This process results in an ERC721 token that can be imported and used in EVM wallets and applications. -```bash copy +```bash seid tx evm deploy-erccw721 $CW721_TOKEN_ADDRESS $NAME $SYMBOL --from=$SENDER --evm-rpc=https://evm-rpc.arctic-1.seinetwork.io/ ``` diff --git a/pages/dev-tutorials/pointer-contracts.mdx b/pages/build/pointer-contracts.mdx similarity index 100% rename from pages/dev-tutorials/pointer-contracts.mdx rename to pages/build/pointer-contracts.mdx diff --git a/pages/resources-resources.mdx b/pages/build/resources-resources.mdx similarity index 100% rename from pages/resources-resources.mdx rename to pages/build/resources-resources.mdx diff --git a/pages/resources-tools-and-resources.mdx b/pages/build/resources-tools-and-resources.mdx similarity index 100% rename from pages/resources-tools-and-resources.mdx rename to pages/build/resources-tools-and-resources.mdx diff --git a/pages/dev-tutorials/tokenfactory-allowlist.mdx b/pages/build/tokenfactory-allowlist.mdx similarity index 100% rename from pages/dev-tutorials/tokenfactory-allowlist.mdx rename to pages/build/tokenfactory-allowlist.mdx diff --git a/pages/dev-tutorials/tokenfactory-tutorial.mdx b/pages/build/tokenfactory-tutorial.mdx similarity index 99% rename from pages/dev-tutorials/tokenfactory-tutorial.mdx rename to pages/build/tokenfactory-tutorial.mdx index f97bdcf5..08360e64 100644 --- a/pages/dev-tutorials/tokenfactory-tutorial.mdx +++ b/pages/build/tokenfactory-tutorial.mdx @@ -17,7 +17,7 @@ To create a token on the devnet, ensure you have the following setup: ## Creating a Denom -```bash copy +```bash seid tx tokenfactory create-denom $DENOM --from=$ACCOUNT --chain-id=arctic-1 --node=https://rpc.arctic-1.seinetwork.io/ --broadcast-mode=block --fees=20000usei ``` @@ -123,7 +123,7 @@ Replace `$METADATA_FILE` with the path to your metadata file created in step 1. ## Minting Tokens -```bash copy +```bash seid tx tokenfactory mint $AMOUNT --from=$ACCOUNT --chain-id=arctic-1 --node=https://rpc.arctic-1.seinetwork.io/ --broadcast-mode=block --fees=20000usei ``` @@ -140,13 +140,13 @@ AMOUNT=1000000factory/${ACCOUNT}/${DENOM} To verify that the tokens have been minted, query the balance of your account: -```bash copy +```bash seid query bank balances $ACCOUNT --chain-id=arctic-1 --node=https://rpc.arctic-1.seinetwork.io/ ``` ## Burning Tokens -```bash copy +```bash seid tx tokenfactory burn $AMOUNT --from=$ACCOUNT --chain-id=arctic-1 --node=https://rpc.arctic-1.seinetwork.io/ --broadcast-mode=block --fees=20000usei ``` @@ -167,7 +167,7 @@ Only the token admin has permission to mint and burn tokens. If necessary, you c To enable seamless use of this token in EVM environments, we can create a pointer contract. This process results in an ERC20 token that can be imported and used in EVM wallets and applications. -```bash copy +```bash seid tx evm register-evm-pointer NATIVE factory/${ACCOUNT}/${DENOM} --from=$ACCOUNT --fees 20000usei --evm-rpc=https://evm-rpc.arctic-1.seinetwork.io/ ``` @@ -186,7 +186,7 @@ Note that if you wish to specify denoms on your ERC20 tokens, you will need to [ To query the pointer contract address run the following command: -```bash copy +```bash seid q evm pointer NATIVE factory/${ACCOUNT}/${DENOM} --node=https://rpc.arctic-1.seinetwork.io/ ``` Which will return the address of the pointer contract. diff --git a/pages/dev-advanced-concepts/_meta.json b/pages/dev-advanced-concepts/_meta.json deleted file mode 100644 index d7c94052..00000000 --- a/pages/dev-advanced-concepts/_meta.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "fee-grants": "Fee Grants", - "account-structure": "Account Structure", - "wallet-association": "Wallet Association", - "hardware-wallets": "Hardware Wallets", - "oracles": "Oracles", - "execute-multiple": "Execute Multiple Transactions", - "hd-path-coin-types": "HD Path & Coin Types", - "proposals": "Proposals", - "ibc-relayer": "IBC Relayer", - "differences-with-ethereum": "Differences from Ethereum" -} diff --git a/pages/dev-ecosystem-providers/_meta.json b/pages/dev-ecosystem-providers/_meta.json deleted file mode 100644 index 05044ac3..00000000 --- a/pages/dev-ecosystem-providers/_meta.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "wallets": "Wallets", - "explorers": "Block Explorers", - "rpc-providers": "RPC Providers", - "indexers": "Indexers", - "centralized-exchanges": "Centralized Exchanges", - "faucets": "Faucets", - "oracles": "Oracles", - "bridges": "Bridges", - "nfts": "NFTs", - "ecosystem-map": "Ecosystem Map" -} diff --git a/pages/dev-ecosystem-providers/ecosystem-map.mdx b/pages/dev-ecosystem-providers/ecosystem-map.mdx deleted file mode 100644 index b22deb31..00000000 --- a/pages/dev-ecosystem-providers/ecosystem-map.mdx +++ /dev/null @@ -1,44 +0,0 @@ -import { EcosystemMap, EcosystemDynamicSection } from "../../components"; -import { Cards, Card } from 'nextra/components' -import { Wrench, TextCursorInput } from "lucide-react"; - -# Ecosystem Map - -Sei Ecosystem is the epicenter of technological advancement, bringing together creative minds and industry leaders to drive the future of Sei's blockchain technology. - - - } title="Start building" href="/" /> - } title="Join the ecosystem" href="https://sei-forms.typeform.com/join-ecosystem?typeform-source=p12rt1ecint.typeform.com" target="_blank" /> - - -## Consumer Apps - - - -## Infrastructure - - - -## DeFi - - - -## Data & Analytics - - - -## Wallets - - - -## NFTs - - - -## Exchanges & On/Off Ramps - - - -## Other - - diff --git a/pages/dev-ecosystem-providers/oracles/_meta.json b/pages/dev-ecosystem-providers/oracles/_meta.json deleted file mode 100644 index 7bd7cf82..00000000 --- a/pages/dev-ecosystem-providers/oracles/_meta.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "oracles": "Overview", - "api3": "Api3" -} diff --git a/pages/dev-ecosystem-providers/oracles/api3.mdx b/pages/dev-ecosystem-providers/oracles/api3.mdx deleted file mode 100644 index 7941c6ed..00000000 --- a/pages/dev-ecosystem-providers/oracles/api3.mdx +++ /dev/null @@ -1,58 +0,0 @@ -![Logo](../../../public/assets/ecosystem/api3.png) - -API3 is a collaborative project delivers traditional API services to smart contract platforms in a decentralized and trust-minimized way. -Unlike traditional data feeds, accessing [API3 price feeds](https://market.api3.org/dapis) allows dApps to auction off the right to update the feeds to searcher bots, improving the efficiency of liquidation processes for users and LPs in DeFi money markets. The recaptured OEV is returned to the dApp. - -## Quick Start - -Head over to the [quickstart section](https://docs.api3.org/dapps/quickstart/) for an introduction how to get a price feed to your smart contract. Here is a [video option](https://www.youtube.com/watch?v=t4mcgxUpbwg) that you can go through in less than 10 minutes to get integrated. - -In just a few lines of code, you can get our price feeds integrated to your contract - -```javascript -// SPDX-License-Identifier: MIT -pragma solidity ^0.8.0; - -import "@openzeppelin/contracts/access/Ownable.sol"; -import "@api3/contracts/interfaces/IApi3ReaderProxy.sol"; - -contract DataFeedReaderExample is Ownable { - - address public proxy; - - constructor(address _proxy) { - setProxy(_proxy); - } - - function setProxy(address _proxy) public onlyOwner { - proxy = _proxy; - } - - function readDataFeed() external view returns (int224 value, uint256 timestamp) - { - (value, timestamp) = IApi3ReaderProxy(proxy).read(); - require(value > 0, "Value not positive"); - require( - timestamp + 1 days > block.timestamp, - "Timestamp older than one day" - ); - // After validation, you can implement your contract logic here. - - // Refer to https://docs.api3.org/dapps/integration/contract-integration.html - // for more information about how to integrate your contract securely. - } -} -``` - -### Migrating over but using a different oracle? - -API3 has an [adaptor contract](https://docs.api3.org/dapps/integration/aggregatorv2v3interface.html) that will allow you to use your existing repo with API3 price feeds data structure. - - -## Oracle Extractable Value -### Oracles that pay you - -Oracles play an important role in the health of a platform. When an oracle updates the data onchain, opportunities can present themselves to searchers. API3 allows anyone to bid in an auction for the right to update the oracle to the most exact current value. A majority of the bidding amount is returned to the platform to help recapture the loss in TVL. This feature is built into the oracle, there are no additional costs or code refactoring needed to use this feature. - - -To find out more details about OEV, please check [here](https://docs.api3.org/oev-searchers/) diff --git a/pages/dev-ecosystem-providers/oracles/oracles.mdx b/pages/dev-ecosystem-providers/oracles/oracles.mdx deleted file mode 100644 index 6229aa48..00000000 --- a/pages/dev-ecosystem-providers/oracles/oracles.mdx +++ /dev/null @@ -1,8 +0,0 @@ -import { AppCardsGridCategory } from "../../../components"; -import { Tag } from "../../../data/appData"; - -# Oracles - -Oracles provide external data to smart contracts, enabling more dynamic and responsive applications. Notable oracles for Sei include: - - diff --git a/pages/dev-interoperability/_meta.json b/pages/dev-interoperability/_meta.json deleted file mode 100644 index 00169c65..00000000 --- a/pages/dev-interoperability/_meta.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "precompiles": "EVM Precompiles", - "pointer-contracts": "Pointer Contracts" -} diff --git a/pages/dev-interoperability/precompiles/_meta.json b/pages/dev-interoperability/precompiles/_meta.json deleted file mode 100644 index 0db3279e..00000000 --- a/pages/dev-interoperability/precompiles/_meta.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - -} diff --git a/pages/dev-intro.mdx b/pages/dev-intro.mdx deleted file mode 100644 index 79fbfa29..00000000 --- a/pages/dev-intro.mdx +++ /dev/null @@ -1,37 +0,0 @@ -import { DeveloperSurveyCallout } from '../components'; - - - -# Developers Introduction - -Sei is a high-performance, low-fee, delegated proof-of-stake blockchain designed for developers. It supports optimistic parallel execution of both EVM and CosmWasm, opening up entirely new design possibilities. With unique optimizations like twin turbo consensus and SeiDB, Sei ensures consistent 400ms block times and a transaction throughput that’s orders of magnitude higher than Ethereum. This means faster, more cost-effective operations. Plus, Sei’s seamless interoperability between EVM and CosmWasm VM's gives EVM developers native access to the entire Cosmos ecosystem, including IBC tokens, multi-sig accounts, fee grants, and more. - -## Features - -- **Parallel Execution**: The ability to process multiple transactions and smart contracts concurrently, significantly boosting performance for both the EVM and CosmWasm VM's. -- **Twin Turbo Consensus**: A consensus mechanism that accelerates transaction processing and finality, ensuring fast block times and finality. -- **SeiDB**: A highly efficient and scalable database designed to support the high throughput of the Sei blockchain, ensuring rapid state updates. -- **Virtual Machine Interoperability**: Native support for interactions between the EVM and the CosmWasm VM's within the same chain, making it seamless to integrate functionalities from both ecosystems. - -## EVM/CosmWasm Interoperability - -Sei provides two main ways to enable interoperability between the EVM and CosmWasm. Pointer contracts and precompile contracts form the foundation for this interoperability. - -### Pointer Contracts - -Pointer contracts allow EVM contracts to interact with CosmWasm contracts and vice versa. Pointer contracts can be deployed on both the EVM and CosmWasm sides, acting as proxies that relay messages between the two VMs. Sei supports full interoperability of Sei native and CosmWasm tokens with the EVM and EVM RPC via pointer contacts, enabling EVM dApps access to many new tokens including: - -- **Fungible**: ERC20 to CW20 tokens -- **NFTs**: CW721 and ERC721 tokens -- **IBC**: Tokens bridged via IBC to Sei -- **TokenFactory**: Native tokens on Sei -- **CW2981 and ERC2981 tokens**: NFTs with royalties - -### Precompile Contracts - -- **IBC**: For inter-chain communication including robust token bridging across all cosmos chains. -- **Wasm**: For interactions with CosmWasm smart contracts including CW20 and CW721 standards -- **Bank Module**: For managing native token transfers (usei, Token Factory, IBC denoms). -- **Staking**: For delegating and managing delegations for both validators and delegators. -- **Governance**: For stakers and validators to participate in [governance](/general-governance) processes. -- **And More** diff --git a/pages/dev-node/_meta.json b/pages/dev-node/_meta.json deleted file mode 100644 index b438145b..00000000 --- a/pages/dev-node/_meta.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "intro": "Introduction", - "quickstart": "Quickstart", - "node-operators": "Node Operators", - "node-configuration": "Node Configuration", - "configure-general-settings": "Configure General Settings", - "swagger-docs-endpoint": "Swagger Docs Endpoint", - "join-a-network": "Join a Network", - "running-seid": "Running Seid" -} diff --git a/pages/dev-tutorials/_meta.json b/pages/dev-tutorials/_meta.json deleted file mode 100644 index 4f8c78b0..00000000 --- a/pages/dev-tutorials/_meta.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "installing-seid": "Installing seid CLI", - "building-a-frontend": "Building a frontend", - "cosmwasm-general": "CosmWasm (General)", - "evm-general": "EVM (General)", - "evm-cli-tutorial": "EVM (CLI)", - "tokenfactory-tutorial": "Token Factory", - "tokenfactory-allowlist": "Token Allowlists", - "nft-contract-tutorial": "NFT Contracts", - "pointer-contracts": "Pointer Contracts", - "multi-sig-accounts": "Multi-Sig Accounts", - "ibc-protocol": "IBC Protocol", - "ledger-ethers": "Using Ledger with Ethers" -} diff --git a/pages/dev-validators/_meta.json b/pages/dev-validators/_meta.json deleted file mode 100644 index 17462ff0..00000000 --- a/pages/dev-validators/_meta.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "overview": "Overview", - "register": "Register a Validator", - "security-practices": "Security Best Practices", - "restore-validator": "Restore a Validator", - "oracle-price-feeder": "Oracle Price Feeder", - "validator-faq": "Validator FAQ" -} diff --git a/pages/endpoints/cosmos/api/[...route].mdx b/pages/endpoints/cosmos/api/[...route].mdx deleted file mode 100644 index 667de23a..00000000 --- a/pages/endpoints/cosmos/api/[...route].mdx +++ /dev/null @@ -1,7 +0,0 @@ -import { APIEndpointRoute } from '../../../../components'; -import { PageTitle } from '../../../../components/APIEndpointRoute/APIEndpointRoute'; - - - - -export { getStaticPaths, getStaticProps } from '../../../../components/APIEndpointRoute/APIEndpointRoute'; diff --git a/pages/index.mdx b/pages/index.mdx index 43c251cb..133b872c 100644 --- a/pages/index.mdx +++ b/pages/index.mdx @@ -1,15 +1,93 @@ -import { Cards, Card } from 'nextra/components'; -import { GanttChartSquare, Wallet, Wrench } from 'lucide-react'; -import { DeveloperSurveyCallout } from '../components'; +--- +title: 'Homepage' +layout: raw +sidebar: false +--- - +import React from 'react'; +import { OldDocsCallout } from '../components'; +import SeiIntro from '../components/Homepage/SeiIntro'; +import { LinkCard } from '../components/LinkCard'; +import { IconBolt, IconCoins, IconClipboardText, IconLock } from '@tabler/icons-react'; -# Introducing Sei +export default function HomePage() { + return ( +
+
+ + -Sei is the first parallelized EVM. This allows Sei to get the best of Solana and Ethereum - a hyper optimized execution layer that benefits from the tooling and mindshare around the EVM. +
+ } + title="Start Working with Sei" + link="/learn/dev-chains" + description="Spin up Sei dev chains and understand its parallelized EVM architecture." + preview={{ + content: + "Kickstart your journey by learning how to launch local devnets, experiment with Sei’s parallel transaction execution, and tap into optimized block production.", + highlights: [ + "Local devnet setup", + "Parallel TX execution", + "Optimized block times", + "Quick environment configs" + ] + }} + /> - - } /> - } /> - } /> - + } + title="Explore Token Standards" + link="/build/dev-token-standards" + description="Discover Sei's fungible and non-fungible token standards." + preview={{ + content: + "Learn about secure, interoperable token designs that integrate seamlessly with EVM tooling. Build tokens that leverage Sei’s high-performance, scalable architecture.", + highlights: [ + "Fungible & non-fungible tokens", + "EVM compatibility", + "Performance-focused design", + "Security best practices" + ] + }} + /> + + } + title="Develop Smart Contracts" + link="/build/dev-smart-contracts" + description="Build, test, and deploy robust contracts on Sei." + preview={{ + content: + "Learn how to create efficient, secure contracts that take advantage of Sei’s architecture. Explore common patterns and best practices for seamless dApp integration.", + highlights: [ + "Contract best practices", + "Sei integration patterns", + "Testing & deployment", + "dApp interoperability" + ] + }} + /> + + } + title="Become a Validator" + link="/node/overview" + description="Secure the network and earn rewards by securing Sei." + preview={{ + content: + "Discover what it takes to run a node on Sei. Learn how validators bolster security, governance, and chain reliability while earning rewards.", + highlights: [ + "Node setup & requirements", + "Staking benefits", + "Slashing & security", + "Reward distribution" + ] + }} + /> +
+
+
+ +); +} diff --git a/pages/learn/_meta.json b/pages/learn/_meta.json new file mode 100644 index 00000000..e90565ff --- /dev/null +++ b/pages/learn/_meta.json @@ -0,0 +1,87 @@ +{ + "index": "Home", + "-- Getting Started": { + "type": "separator", + "title": "Getting Started" + }, + "general-overview": "About Sei", + "user-quickstart": "Quickstart", + "differences-with-ethereum": "Divergence from Ethereum", + "dev-chains": "Chain Setup", + + "-- Onboarding Essentials": { + "type": "separator", + "title": "Onboarding Essentials" + }, + "dev-gas": "Gas", + "wallet-setup": "Wallet Setup", + "ledger-setup": "Ledger Integration", + "linking-addresses": "Linking Address Types", + "getting-tokens": "Acquiring SEI Tokens", + + "-- Account Basics": { + "type": "separator", + "title": "Account Basics" + }, + "block-explorers": "Exploring Transactions", + "wrapped-sei": "Wrapped SEI", + "bridging": "Bridging Assets to Sei", + "hardware-wallets": "Using Hardware Wallets", + "wallet-association": "Wallet Association", + + "-- Account Management": { + "type": "separator", + "title": "Account Management" + }, + "account-structure": "Account Structure", + "hd-path-coin-types": "HD Paths & Coin Types", + "fee-grants": "Understanding Fee Grants", + + "-- Staking": { + "type": "separator", + "title": "Staking" + }, + "general-staking": "Staking Overview", + + "-- Governance": { + "type": "separator", + "title": "Governance" + }, + "general-governance": "Governance Overview", + "proposals": "Proposal Process", + + "-- Transaction Management": { + "type": "separator", + "title": "Transaction Management" + }, + "dev-transactions": "Transaction Overview", + "execute-multiple": "Executing Multiple Transactions", + + "-- Oracles": { + "type": "separator", + "title": "Oracles" + }, + "oracles": "Understanding Oracles", + + "-- Interoperability": { + "type": "separator", + "title": "Interoperability" + }, + "dev-interoperability": "VM Interoperability", + "ibc-relayer": "IBC Relayers", + + "-- Environments": { + "type": "separator", + "title": "Environments" + }, + "evm": "EVM Compatibility", + "cosmos": "Cosmos Environment", + + "-- Additional Resources": { + "type": "separator", + "title": "Additional Resources" + }, + "user-FAQ": "FAQ", + "general-brand-kit": "Brand Kit", + "general-submit-feedback": "Submit Feedback" +} diff --git a/pages/dev-advanced-concepts/account-structure.mdx b/pages/learn/account-structure.mdx similarity index 100% rename from pages/dev-advanced-concepts/account-structure.mdx rename to pages/learn/account-structure.mdx diff --git a/pages/user-guides/block-explorers.mdx b/pages/learn/block-explorers.mdx similarity index 100% rename from pages/user-guides/block-explorers.mdx rename to pages/learn/block-explorers.mdx diff --git a/pages/user-guides/bridging.mdx b/pages/learn/bridging.mdx similarity index 90% rename from pages/user-guides/bridging.mdx rename to pages/learn/bridging.mdx index 46896e4e..5231a928 100644 --- a/pages/user-guides/bridging.mdx +++ b/pages/learn/bridging.mdx @@ -18,7 +18,7 @@ To move assets onto the Sei Blockchain from another network, a variety of bridge 4. Bridging Recommendation: Based on your asset and its origin chain, the Sei app will suggest a third-party bridge site. -To begin with, we recommend using [Squid](https://www.squidrouter.com/) to bridge your assets. As more bridges come online, they will be added to the bridge tab on the Sei App. +To begin with, consider using [Squid](https://www.squidrouter.com/) to bridge your assets. As more bridges come online, they will be added to the bridge tab on the Sei App. While bridge providers will always endeavour to eliminate bridge risks, when it comes to bridging users should always do their own research. diff --git a/pages/learn/cosmos.mdx b/pages/learn/cosmos.mdx new file mode 100644 index 00000000..83f549bc --- /dev/null +++ b/pages/learn/cosmos.mdx @@ -0,0 +1,11 @@ +import { Card, Cards } from 'nextra/components'; + +# Cosmos Environment + +Explore the following resources for developing on the Cosmos environment in Sei. + + + + + + diff --git a/pages/dev-chains.mdx b/pages/learn/dev-chains.mdx similarity index 100% rename from pages/dev-chains.mdx rename to pages/learn/dev-chains.mdx diff --git a/pages/dev-gas.mdx b/pages/learn/dev-gas.mdx similarity index 100% rename from pages/dev-gas.mdx rename to pages/learn/dev-gas.mdx diff --git a/pages/dev-interoperability.mdx b/pages/learn/dev-interoperability.mdx similarity index 84% rename from pages/dev-interoperability.mdx rename to pages/learn/dev-interoperability.mdx index 523bf15a..5a6e7736 100644 --- a/pages/dev-interoperability.mdx +++ b/pages/learn/dev-interoperability.mdx @@ -1,6 +1,6 @@ -import { ImageWithCaption } from '../components/ImageWithCaption'; +import { ImageWithCaption } from '../../components/ImageWithCaption'; -import interoperability from '../public/assets/interoperability.png'; +import interoperability from '../../public/assets/interoperability.png'; # Virtual Machine Interoperability @@ -15,7 +15,8 @@ Precompiled EVM contracts and Pointer Contracts enable all contracts to be acces ## Precompiled Contracts -Sei precompiles are smart contracts embedded directly within the Sei blockchain. They provide a gateway for users and developers to access native Sei functionalities through the EVM RPC interface. +Sei precompiles are smart contracts embedded directly within the Sei EVM environment. +They provide a gateway for users and developers to access native Sei functionalities through the EVM RPC interface. For instructions on utilizing EVM precompiles, refer to the [Example Usage](./precompiles/example-usage.mdx) section. diff --git a/pages/dev-transactions.mdx b/pages/learn/dev-transactions.mdx similarity index 92% rename from pages/dev-transactions.mdx rename to pages/learn/dev-transactions.mdx index f49051f3..1bf2dda7 100644 --- a/pages/dev-transactions.mdx +++ b/pages/learn/dev-transactions.mdx @@ -1,11 +1,13 @@ import { Flex, Paper } from '@mantine/core'; import { Tabs } from 'nextra/components'; import { CodeHighlight } from '@mantine/code-highlight'; -import { PropertyInfo } from '../components'; +import { PropertyInfo } from '../../components'; # Transactions -Transactions are fundamental operations on the Sei blockchain and are required for any state updates on chain such as token transfers, account creation, and smart contract execution. Transactions are cryptographically signed by the sender’s private key to ensure authenticity and ownership. For more information on private keys, refer to the advanced section on [HD Paths and Coin Types](/dev-advanced-concepts/hd-path-coin-types) +Transactions are essential on the Sei blockchain for any state updates, including token transfers, account linking, and smart contract execution. While creating an account doesn’t require a transaction, associating an account with blockchain actions does. + +Each transaction is signed with the sender’s private key to verify authenticity and ownership. For more on private keys, see [HD Paths and Coin Types](/dev-advanced-concepts/hd-path-coin-types). ## Transaction Types diff --git a/pages/dev-advanced-concepts/differences-with-ethereum.mdx b/pages/learn/differences-with-ethereum.mdx similarity index 94% rename from pages/dev-advanced-concepts/differences-with-ethereum.mdx rename to pages/learn/differences-with-ethereum.mdx index be43fa62..3d8b6a84 100644 --- a/pages/dev-advanced-concepts/differences-with-ethereum.mdx +++ b/pages/learn/differences-with-ethereum.mdx @@ -1,9 +1,9 @@ import { Code } from '@mantine/core'; import { CHAIN_IDS } from '@sei-js/registry'; -# Differences between Sei and Eth Mainnet +# Divergence from Ethereum -While Sei features full EVM compatibility, there are some differences between Sei's EVM and Ethereum itself. +While Sei features full EVM compatibility, there are some distinctions between Sei's EVM and Ethereum itself. ## EVM Differences diff --git a/pages/learn/evm.mdx b/pages/learn/evm.mdx new file mode 100644 index 00000000..c3b396fd --- /dev/null +++ b/pages/learn/evm.mdx @@ -0,0 +1,13 @@ +import { Card, Cards } from 'nextra/components'; + +# EVM Environment + +Explore the following resources for developing on the EVM environment in Sei. + + + + + + + + diff --git a/pages/dev-advanced-concepts/execute-multiple.mdx b/pages/learn/execute-multiple.mdx similarity index 99% rename from pages/dev-advanced-concepts/execute-multiple.mdx rename to pages/learn/execute-multiple.mdx index 99a67b5a..da86a9cb 100644 --- a/pages/dev-advanced-concepts/execute-multiple.mdx +++ b/pages/learn/execute-multiple.mdx @@ -1,3 +1,5 @@ +# Executing Multiple Transactions + On the Sei blockchain, you can execute multiple messages in a single transaction, which allows for more complex operations to be performed atomically. This section explains how the transaction structure works and how to add multiple messages, even of different types, in one transaction using both CosmJS and seid. ## **Transaction Structure** diff --git a/pages/dev-advanced-concepts/fee-grants.mdx b/pages/learn/fee-grants.mdx similarity index 100% rename from pages/dev-advanced-concepts/fee-grants.mdx rename to pages/learn/fee-grants.mdx diff --git a/pages/general-brand-kit.mdx b/pages/learn/general-brand-kit.mdx similarity index 96% rename from pages/general-brand-kit.mdx rename to pages/learn/general-brand-kit.mdx index d22a0601..96a3b434 100644 --- a/pages/general-brand-kit.mdx +++ b/pages/learn/general-brand-kit.mdx @@ -1,8 +1,8 @@ # Sei Branding -import { BrandImage, DownloadButton } from '../components/BrandKitGallery'; +import { BrandImage, DownloadButton } from '../../components/BrandKitGallery'; import { Callout } from "nextra/components"; -import '../styles/custom.module.css'; +import '../../styles/custom.module.css'; Please adhere to these guidelines when featuring Sei in marketing communications, such as advertising, articles, websites, and printed materials. diff --git a/pages/general-governance.mdx b/pages/learn/general-governance.mdx similarity index 100% rename from pages/general-governance.mdx rename to pages/learn/general-governance.mdx diff --git a/pages/general-overview.mdx b/pages/learn/general-overview.mdx similarity index 62% rename from pages/general-overview.mdx rename to pages/learn/general-overview.mdx index 08afe485..24931ab5 100644 --- a/pages/general-overview.mdx +++ b/pages/learn/general-overview.mdx @@ -1,13 +1,14 @@ -import { ImageWithCaption } from "../components"; -import v2BannerImg from "../public/assets/sei-v2-banner.jpg"; +import { ImageWithCaption } from "../../components"; # About Sei -Sei is the first parallelized EVM. +Parallel execution, high throughput and unified VM operability establish Sei as the standard for a scalable EVM and for interconnected blockchain ecosystems. - +Sei’s twin-turbo consensus and SeiDB achieve 400-millisecond block times and deliver transaction throughput tailored for high-demand blockchain environments. Advancements in performance position Sei as a pivotal force in cross-disciplinary distributed computing and redefine EVM capabilities. The design enables complex real-world decentralized applications and sets a new benchmark for blockchain technology. -# What is the EVM? +Sei’s architecture offers seamless interoperability and gives EVM developers native access to the Cosmos ecosystem with IBC tokens, multi-sig accounts and fee grants. Pointer Contracts and Precompile Contracts bridge EVM and CosmWasm and enable smooth interaction with assets ranging from ERC20 to CW20 tokens and CW721 to ERC721 NFTs without sacrificing performance. Integrating IBC and Wasm directly into the EVM through Precompile Contracts strengthens cross-VM functionality. + +## What is the EVM? The EVM (Ethereum Virtual Machine) is used to process transactions in blockchains such as Ethereum. Most crypto native developers are extremely familiar with the EVM. @@ -18,13 +19,13 @@ This results in - high transaction fees for users, often going into hundreds of dollars for simple transactions - a restricted design space for developers, who are unable to build high performance applications -# What is parallelization? +## What is parallelization? Parallelization lets you process multiple things at the same time (i.e. in parallel). This is commonly used in software engineering to take advantage of modern hardware (which has multiple cores) to process multiple workstreams at the same time. For Sei, parallelization is used to process multiple independent transactions at the same time. -# What optimizations does Sei introduce? +## What optimizations does Sei introduce? Sei introduces four major innovations: @@ -35,13 +36,13 @@ Sei introduces four major innovations: All these features combine to unlock a brand new, scalable design space for the Ethereum Ecosystem. -# Sei performance metrics +## Sei performance metrics With these performance optimizations, Sei is able to get - 400 millisecond time to finality - 5,030 transactions per second (12,500 theoretical max) -# What are the benefits of Sei? +## What are the benefits of Sei? Sei represents a 100x improvement on the EVM. This will unlock an entirely new design space for application developers, and make the EVM much cheaper to access for normal people. diff --git a/pages/general-staking.mdx b/pages/learn/general-staking.mdx similarity index 100% rename from pages/general-staking.mdx rename to pages/learn/general-staking.mdx diff --git a/pages/general-submit-feedback.mdx b/pages/learn/general-submit-feedback.mdx similarity index 100% rename from pages/general-submit-feedback.mdx rename to pages/learn/general-submit-feedback.mdx diff --git a/pages/user-guides/getting-tokens.mdx b/pages/learn/getting-tokens.mdx similarity index 100% rename from pages/user-guides/getting-tokens.mdx rename to pages/learn/getting-tokens.mdx diff --git a/pages/dev-advanced-concepts/hardware-wallets.mdx b/pages/learn/hardware-wallets.mdx similarity index 100% rename from pages/dev-advanced-concepts/hardware-wallets.mdx rename to pages/learn/hardware-wallets.mdx diff --git a/pages/dev-advanced-concepts/hd-path-coin-types.mdx b/pages/learn/hd-path-coin-types.mdx similarity index 100% rename from pages/dev-advanced-concepts/hd-path-coin-types.mdx rename to pages/learn/hd-path-coin-types.mdx diff --git a/pages/dev-advanced-concepts/ibc-relayer.mdx b/pages/learn/ibc-relayer.mdx similarity index 100% rename from pages/dev-advanced-concepts/ibc-relayer.mdx rename to pages/learn/ibc-relayer.mdx diff --git a/pages/learn/index.mdx b/pages/learn/index.mdx new file mode 100644 index 00000000..7658665c --- /dev/null +++ b/pages/learn/index.mdx @@ -0,0 +1,105 @@ +import { IconBolt, IconClipboardText, IconCoins, IconLayoutDashboard, IconLock, IconServer } from '@tabler/icons-react'; +import { LinkCard } from '../../components/LinkCard'; + +# Start Learning About Sei + +Discover Sei Features, Integrations and Usage. + +
+ } + title='Divergence from Ethereum' + link='/learn/differences-with-ethereum' + description='See how Sei's architecture advances the EVM.' + preview={{ + content: + 'Sei advances the EVM by introducing significant architectural improvements over Ethereum.', + highlights: [ + 'Parallel transaction execution', + 'Optimized block production', + 'Enhanced throughput capabilities', + 'Lower gas fees structure' + ] + }} + /> + } + title='Wallet Setup' + link='/learn/wallet-setup' + description='Create, import, and manage wallets on Sei.' + preview={{ + content: + 'Learn how to install wallets, add the Sei network to MetaMask, and manage addresses (bech32 and hex) seamlessly in EVM or native contexts.', + highlights: [ + 'Installing a wallet app', + 'Adding Sei chain to MetaMask', + 'hex vs. bech32 addresses', + 'Viewing ERC20 & CW20 tokens' + ] + }} + /> + } + title='Mastering Staking' + link='/learn/general-staking' + description='Understand staking and its role in Sei.' + preview={{ + content: + 'Discover the ins and outs of staking on Sei to secure the network and earn rewards.', + highlights: [ + 'Benefits of staking', + 'Step-by-step guide to stake tokens', + 'Understanding validator roles', + 'Reward distribution mechanisms' + ] + }} + /> + } + title='Governance' + link='/learn/general-governance' + description='Participate in on-chain decisions to shape Sei.' + preview={{ + content: + 'Learn how stakers propose, discuss, and vote on network changes, ensuring continuous evolution.', + highlights: [ + 'Proposal submission & deposit periods', + 'Voting, quorum requirements & results', + 'Refund/burn deposit mechanics', + 'Types of proposals (params, community spend, etc.)' + ] + }} + /> + } + title='Transactions' + link='/learn/dev-transactions' + description='Dive into EVM & Cosmos-based transactions on Sei.' + preview={{ + content: + 'Learn how to create, sign, and broadcast EVM and native transactions, plus handle multiple messages atomically.', + highlights: [ + 'Cosmos & EVM transaction structures', + 'Signing & broadcasting transactions', + 'Executing multiple messages', + 'Integration with CosmJS & seid' + ] + }} + /> + } + title='VM Interoperability' + link='/learn/dev-interoperability' + description='Seamlessly bridge EVM and CosmWasm on Sei.' + preview={{ + content: + 'Discover how precompiled EVM contracts and pointer contracts let you traverse both EVM and Wasm environments.', + highlights: [ + 'Precompiled contracts for native functionality', + 'Pointer contracts linking tokens across VMs', + 'Interoperability for advanced use-cases', + 'Universal contract accessibility' + ] + }} + /> +
diff --git a/pages/user-guides/ledger-setup.mdx b/pages/learn/ledger-setup.mdx similarity index 100% rename from pages/user-guides/ledger-setup.mdx rename to pages/learn/ledger-setup.mdx diff --git a/pages/user-guides/linking-addresses.mdx b/pages/learn/linking-addresses.mdx similarity index 100% rename from pages/user-guides/linking-addresses.mdx rename to pages/learn/linking-addresses.mdx diff --git a/pages/dev-advanced-concepts/oracles.mdx b/pages/learn/oracles.mdx similarity index 96% rename from pages/dev-advanced-concepts/oracles.mdx rename to pages/learn/oracles.mdx index 5a131a64..4b19b5dc 100644 --- a/pages/dev-advanced-concepts/oracles.mdx +++ b/pages/learn/oracles.mdx @@ -15,7 +15,7 @@ Below are some helpful APIs to interact with the native Oracle module Returns the current active denoms for which there are exchange rates -```bash copy {1} +```bash {1} seid q oracle actives actives: - uatom @@ -29,7 +29,7 @@ actives: Returns the current exchange rates for supported assets. Optionally can query for a specific denom by entering it as an additional param. -```bash copy {1} +```bash {1} seid q oracle exchange-rates - denom: uatom oracle_exchange_rate: @@ -50,7 +50,7 @@ seid q oracle exchange-rates Returns the time weighted average price for a given time interval in seconds. The maximum lookback is determined by oracle parameters. -```bash copy {1} +```bash {1} seid q oracle twaps $LOOKBACK_SECONDS oracle_twaps: - denom: uatom @@ -68,7 +68,7 @@ oracle_twaps: Returns the current parameters for the oracle module -```bash copy {1} +```bash {1} seid q oracle params params: lookback_duration: "3600" diff --git a/pages/dev-advanced-concepts/proposals.mdx b/pages/learn/proposals.mdx similarity index 100% rename from pages/dev-advanced-concepts/proposals.mdx rename to pages/learn/proposals.mdx diff --git a/pages/user-FAQ.mdx b/pages/learn/user-FAQ.mdx similarity index 100% rename from pages/user-FAQ.mdx rename to pages/learn/user-FAQ.mdx diff --git a/pages/learn/user-quickstart.mdx b/pages/learn/user-quickstart.mdx new file mode 100644 index 00000000..8509ad03 --- /dev/null +++ b/pages/learn/user-quickstart.mdx @@ -0,0 +1,135 @@ +--- +title: 'Connect to Sei' +--- + +import { Callout } from 'nextra/components'; +import { ImageWithCaption } from "../../components"; +import CustomConnectButton from "../../components/EvmWalletConnect/CustomConnectButton"; +import EvmWalletConnect from "../../components/EvmWalletConnect/EvmWalletConnect"; +import SeiTraceSearch from "../../components/AddressSearch/SeiTraceSearch"; +import addressTranslationImage from "../../public/assets/address-derivation.png"; +import linkAddressesImage from "../../public/assets/link-addresses.png"; +import linkSuccessImage from "../../public/assets/link-success.png"; +import signMessageImage from "../../public/assets/sign-message.png"; +import cexWithdrawImage from "../../public/assets/cex-withdraw.png"; +import sourceChainDropdownImage from "../../public/assets/source-chain.png"; +import selectAssetImage from "../../public/assets/select-asset.png"; + +# Connect to Sei + +This getting started guide will help you set up your wallet and start using Sei, even if you're new to blockchain. By the end, you'll be ready to explore the most performant blockchain ever. + +## Requirements + +- A compatible, non-custodial wallet, such as [MetaMask](https://metamask.io/), or [Compass](https://compasswallet.io/). +- Sei tokens [from an exchange](/learn/getting-tokens), or stablecoins in your personal wallet. + +For additional help with wallet apps, see our [Setting up a Wallet](/learn/wallet-setup) guide. + +## Connecting Your Wallet + +For a quick setup, simply click the "Connect Wallet" button below to connect directly from this guide. + + + +After connecting, your wallet will automatically prompt you to join the correct Sei network. + +To try connecting within the Sei App itself, visit [app.sei.io](https://app.sei.io) and click the "Connect Wallet" button. If you're ready to dive in, the demo below walks you through connecting to the Sei network step-by-step. +> If your wallet doesn’t automatically prompt you to join the Sei Network, please add it manually by following the network details [here](/user-guides/wallet-setup). + +## Dual Address Support + +Sei supports two wallet address types: + +- **EVM (0x) address:** Ethereum-style addresses prefixed with "0x". +- **Sei address:** Native Sei blockchain addresses prefixed with "sei1". + +Both addresses are derived from the same public key, ensuring seamless asset integration across formats. +You can find your corresponding wallet addresses directly in the Sei app. + +For more details on interoperability, explore our article [here](https://blog.sei.io/sei-v2-interoperability/). + +### How to Link Your Addresses + + + Linking addresses is recommended for all users to enable cross-VM functionality in many Sei apps. + + +To use interoperability features in Sei apps, you’ll need to link your Sei and EVM (0x) addresses. Each Sei address has a corresponding EVM address, derived from the same public key, and this link is required on your first use. + + + Address linking is automatic—each Sei account is tied to a single Sei address and a single EVM address, both derived from the same public key. + + +Follow these steps to link your Sei and EVM addresses: + +1. Go to [app.sei.io](https://app.sei.io) in your browser. +2. In the Dashboard, locate the "Addresses" box. +3. Complete any required captcha. +4. Click "Link Addresses" to start the process. You’ll be prompted to sign a message with your wallet—this is not a transaction and incurs no gas fees. +5. Once signed, your Sei and EVM addresses will be linked. + +For more details, check the [Linking Addresses guide](/learn/linking-addresses). + +### How to View Your Address Pair + +You can view your wallet address on any Sei blockchain explorer to see your transactions and balances. + +Enter your Sei or EVM address below to view it on SEITRACE: + + + +Alternatively, users can interact with Sei directly via API endpoints. + +## Onboarding from Centralized Exchanges + +If you're transitioning from a CEX, using both Sei and 0x addresses is simple. CEXs will upgrade to support both over time. + +### Withdrawing to a Sei Address + +Copy your **sei1...** address and paste it into the withdrawal page of your CEX. + + + + + No memo is required for withdrawals, but depositing back to a CEX may require a memo. Check your CEX's guidelines to ensure smooth transfers. + + +### Withdrawing to an EVM/0x Address + +To withdraw to an 0x address, you must first link it to your Sei address. Follow the steps in the [Linking Addresses guide](/user-guides/linking-addresses). + +If your addresses aren't linked, visit the Dashboard on the [Sei App](https://app.sei.io) to check or link them. + +## Bridging to Sei + +To move assets to Sei from another network, find recommended bridge paths via the Sei app: + +1. Go to [app.sei.io](https://app.sei.io). +2. Select the **Source Chain** (where your assets currently reside). + +3. Choose the asset you want to bridge (e.g., stablecoins). Verify the token.  + + NB: Assets pictured are for illustrative purposes only and may not be supported at present. + Check the Sei app to see what options are available to you. + + +4. The app will recommend a bridge based on the asset and origin chain. + +Consider [Squid](https://www.squidrouter.com/) for initial bridging. New bridges will be added over time. + + + While bridge providers work to minimize risks, always conduct your own due diligence and research before + engaging in bridging. + + +### Gas on Arrival + +Some bridges offer a "gas on arrival" feature, providing a small amount of Sei tokens to cover initial transaction fees. To find these options, open the Sei App, go to the "Bridge" section, select your source chain and asset, and view the recommended third-party bridges. Bridges with "gas on arrival" support are typically labeled in the app, making it easy to identify them. If no label appears, check the bridge provider's official documentation or website for the latest "gas on arrival" information. + +## Viewing Assets in Your Wallet + +To view your assets, use a block explorer like [seitrace.com](https://www.seitrace.com). +This explorer supports both EVM and native Sei addresses. + +Simply search for your wallet address to view your holdings. To import tokens into MetaMask, use the contract addresses found in the explorer. Learn more [here](https://support.metamask.io/managing-my-tokens/custom-tokens/how-to-display-tokens-in-metamask/). diff --git a/pages/dev-advanced-concepts/wallet-association.mdx b/pages/learn/wallet-association.mdx similarity index 100% rename from pages/dev-advanced-concepts/wallet-association.mdx rename to pages/learn/wallet-association.mdx diff --git a/pages/user-guides/wallet-setup.mdx b/pages/learn/wallet-setup.mdx similarity index 100% rename from pages/user-guides/wallet-setup.mdx rename to pages/learn/wallet-setup.mdx diff --git a/pages/user-guides/wrapped-sei.mdx b/pages/learn/wrapped-sei.mdx similarity index 100% rename from pages/user-guides/wrapped-sei.mdx rename to pages/learn/wrapped-sei.mdx diff --git a/pages/node/_meta.json b/pages/node/_meta.json new file mode 100644 index 00000000..24a75a73 --- /dev/null +++ b/pages/node/_meta.json @@ -0,0 +1,36 @@ +{ + "index": "Home", + "-- Getting Started": { + "type": "separator", + "title": "Getting Started" + }, + "intro": "Overview", + "quickstart": "Quickstart", + + "-- Node Operators": { + "type": "separator", + "title": "Node Operators" + }, + "node-operators": "Overview of Node Operators", + "node-configuration": "Node Configuration", + "configure-general-settings": "Configure General Settings", + "join-a-network": "Join a Network", + "running-seid": "Running Seid", + + "-- Validators": { + "type": "separator", + "title": "Validators" + }, + "overview": "Validator Overview", + "register": "Register a Validator", + "security-practices": "Security Best Practices", + "restore-validator": "Restore a Validator", + "oracle-price-feeder": "Oracle Price Feeder", + "validator-faq": "Validator FAQ", + + "-- Resources": { + "type": "separator", + "title": "Resources" + }, + "swagger-docs-endpoint": "Swagger Docs Endpoint" +} diff --git a/pages/dev-node/configure-general-settings.mdx b/pages/node/configure-general-settings.mdx similarity index 100% rename from pages/dev-node/configure-general-settings.mdx rename to pages/node/configure-general-settings.mdx diff --git a/pages/node/index.mdx b/pages/node/index.mdx new file mode 100644 index 00000000..f9a581f8 --- /dev/null +++ b/pages/node/index.mdx @@ -0,0 +1,99 @@ +import { IconServer, IconSettings, IconShieldCheck, IconPlug, IconAdjustmentsHorizontal, IconRotateClockwise } from '@tabler/icons-react'; +import { LinkCard } from '../../components/LinkCard'; + +# Node Operations + +Learn how to operate a validator node on Sei. + +
+ } + title='Running SeiD' + link='/node/running-seid' + description='Learn how to run the Sei daemon' + preview={{ + content: "Guide to running and managing the Sei daemon (SeiD) for node operations.", + highlights: [ + "Installing and starting SeiD", + "Interacting with SeiD through CLI", + "Daemon logs and monitoring", + "Restarting and recovering SeiD" + ], + }} + /> + } + title='Local Node Setup' + link='/node/intro' + description='Set up and configure a local Sei node' + preview={{ + content: "A step-by-step guide to help you set up and configure a local Sei node for testing and development.", + highlights: [ + "Requirements for running a local node", + "Installing Sei software", + "Configuring local environments", + "Starting and monitoring the node" + ], + }} + /> + } + title='Operate a Full Node' + link='/node/node-operators' + description='Learn how to operate and maintain a Sei validator node' + preview={{ + content: "Comprehensive information on managing the lifecycle of a Sei node, including maintenance and troubleshooting.", + highlights: [ + "Node startup and shutdown processes", + "Monitoring node performance", + "Updating node software", + "Troubleshooting common issues" + ], + }} + /> + } + title='Join a Network' + link='/node/join-a-network' + description='Connect your node to Sei’s networks' + preview={{ + content: "Instructions for joining a Sei network, whether it's testnet, devnet, or mainnet.", + highlights: [ + "Network configurations", + "Connecting to public and private networks", + "Switching between network environments", + "Synchronizing with the blockchain" + ], + }} + /> + } + title='Become a Validator' + link='/node/overview' + description='Understand the role and responsibilities of Sei validators' + preview={{ + content: "An overview of the responsibilities and roles of validators in the Sei network.", + highlights: [ + "Role in network security and consensus", + "Validator rewards and penalties", + "How to become a validator", + "Key considerations for maintaining validator status" + ], + }} + /> + } + title='Node Configuration' + link='/node/configuration' + description='Customize your Sei node settings' + preview={{ + content: "Details on configuring your Sei node for optimal performance and compatibility.", + highlights: [ + "Editing configuration files", + "Setting environment variables", + "Tuning performance parameters", + "Advanced configurations for validators" + ], + }} + /> +
diff --git a/pages/dev-node/intro.mdx b/pages/node/intro.mdx similarity index 100% rename from pages/dev-node/intro.mdx rename to pages/node/intro.mdx diff --git a/pages/dev-node/join-a-network.mdx b/pages/node/join-a-network.mdx similarity index 100% rename from pages/dev-node/join-a-network.mdx rename to pages/node/join-a-network.mdx diff --git a/pages/dev-node/node-configuration.mdx b/pages/node/node-configuration.mdx similarity index 100% rename from pages/dev-node/node-configuration.mdx rename to pages/node/node-configuration.mdx diff --git a/pages/dev-node/node-operators.mdx b/pages/node/node-operators.mdx similarity index 100% rename from pages/dev-node/node-operators.mdx rename to pages/node/node-operators.mdx diff --git a/pages/dev-validators/oracle-price-feeder.mdx b/pages/node/oracle-price-feeder.mdx similarity index 99% rename from pages/dev-validators/oracle-price-feeder.mdx rename to pages/node/oracle-price-feeder.mdx index 6f0324bb..69f7cc19 100644 --- a/pages/dev-validators/oracle-price-feeder.mdx +++ b/pages/node/oracle-price-feeder.mdx @@ -14,7 +14,7 @@ Validator need to participate in providing pricing for the oracle to avoid being oracle sidecar that can be configured to run as a systemd service to provide a more robust and configurable solution to providing oracle asset prices. The sidecar can be built by running -```bash copy +```bash make install-price-feeder ``` @@ -60,6 +60,6 @@ If you want to run the oracle price feeder while signing from a different accoun setting a feeder for your validator. This will allow the feeder account to perform oracle votes on the validator behalf as well. -```bash copy +```bash seid tx oracle set-feeder $FEEDER_ADDR --from $WALLET_NAME --fees 2000usei --chain-id $CHAIN_ID ``` diff --git a/pages/dev-validators/overview.mdx b/pages/node/overview.mdx similarity index 100% rename from pages/dev-validators/overview.mdx rename to pages/node/overview.mdx diff --git a/pages/dev-node/quickstart.mdx b/pages/node/quickstart.mdx similarity index 100% rename from pages/dev-node/quickstart.mdx rename to pages/node/quickstart.mdx diff --git a/pages/dev-validators/register.mdx b/pages/node/register.mdx similarity index 100% rename from pages/dev-validators/register.mdx rename to pages/node/register.mdx diff --git a/pages/dev-validators/restore-validator.mdx b/pages/node/restore-validator.mdx similarity index 100% rename from pages/dev-validators/restore-validator.mdx rename to pages/node/restore-validator.mdx diff --git a/pages/dev-node/running-seid.mdx b/pages/node/running-seid.mdx similarity index 100% rename from pages/dev-node/running-seid.mdx rename to pages/node/running-seid.mdx diff --git a/pages/dev-validators/security-practices.mdx b/pages/node/security-practices.mdx similarity index 100% rename from pages/dev-validators/security-practices.mdx rename to pages/node/security-practices.mdx diff --git a/pages/dev-node/swagger-docs-endpoint.mdx b/pages/node/swagger-docs-endpoint.mdx similarity index 100% rename from pages/dev-node/swagger-docs-endpoint.mdx rename to pages/node/swagger-docs-endpoint.mdx diff --git a/pages/dev-validators/validator-faq.mdx b/pages/node/validator-faq.mdx similarity index 100% rename from pages/dev-validators/validator-faq.mdx rename to pages/node/validator-faq.mdx diff --git a/pages/providers/_meta.json b/pages/providers/_meta.json new file mode 100644 index 00000000..4dc7fd82 --- /dev/null +++ b/pages/providers/_meta.json @@ -0,0 +1,21 @@ +{ + "ecosystem-map": "Home", + "-- Accessing Sei": { + "type": "separator", + "title": "User Access & Assets" + }, + "wallets": "Wallets", + "faucets": "Faucets", + "centralized-exchanges": "Centralized Exchanges", + "bridges": "Bridges", + "nfts": "NFTs", + + "-- Network Tools & Services": { + "type": "separator", + "title": "Network Tools & Services" + }, + "rpc-providers": "RPC Providers", + "explorers": "Explorers", + "indexers": "Indexers", + "oracles": "Oracles" +} diff --git a/pages/dev-ecosystem-providers/bridges.mdx b/pages/providers/bridges.mdx similarity index 90% rename from pages/dev-ecosystem-providers/bridges.mdx rename to pages/providers/bridges.mdx index 44ff55ef..2c20bf7f 100644 --- a/pages/dev-ecosystem-providers/bridges.mdx +++ b/pages/providers/bridges.mdx @@ -1,3 +1,4 @@ +import { AppCardsGrid } from "../../components"; import { AppCardsGridCategory } from "../../components"; import { Tag } from "../../data/appData"; diff --git a/pages/dev-ecosystem-providers/centralized-exchanges.mdx b/pages/providers/centralized-exchanges.mdx similarity index 100% rename from pages/dev-ecosystem-providers/centralized-exchanges.mdx rename to pages/providers/centralized-exchanges.mdx diff --git a/pages/providers/ecosystem-map.mdx b/pages/providers/ecosystem-map.mdx new file mode 100644 index 00000000..e776ac13 --- /dev/null +++ b/pages/providers/ecosystem-map.mdx @@ -0,0 +1,59 @@ +import EcosystemSearchBar from '../../components/EcosystemMap/EcosystemSearchBar' +import EcosystemDynamicSection from '../../components/EcosystemMap/EcosystemDynamicSection' +import { Card } from 'nextra/components' +import { Wrench, TextCursorInput } from 'lucide-react' + +# Sei Ecosystem + +The Sei Ecosystem includes a variety of apps and services that +bring together creative minds and industry leaders +to drive the future of Sei’s blockchain technology. + +
+ } title="Start building" href="/" /> + } + title="Join the ecosystem" + href="https://sei-forms.typeform.com/join-ecosystem" + target="_blank" + /> +
+ +
+
+ {/* Single search bar that sets the global searchTerm in context */} + +
+
+ +## Consumer Apps + + + +## Infrastructure + + + +## DeFi + + + +## Data & Analytics + + + +## Wallets + + + +## NFTs + + + +## Exchanges & On/Off Ramps + + + +## Other + + diff --git a/pages/dev-ecosystem-providers/explorers.mdx b/pages/providers/explorers.mdx similarity index 100% rename from pages/dev-ecosystem-providers/explorers.mdx rename to pages/providers/explorers.mdx diff --git a/pages/dev-ecosystem-providers/faucets.mdx b/pages/providers/faucets.mdx similarity index 100% rename from pages/dev-ecosystem-providers/faucets.mdx rename to pages/providers/faucets.mdx diff --git a/pages/dev-ecosystem-providers/indexers/_meta.json b/pages/providers/indexers/_meta.json similarity index 100% rename from pages/dev-ecosystem-providers/indexers/_meta.json rename to pages/providers/indexers/_meta.json diff --git a/pages/dev-ecosystem-providers/indexers/goldrush.mdx b/pages/providers/indexers/goldrush.mdx similarity index 100% rename from pages/dev-ecosystem-providers/indexers/goldrush.mdx rename to pages/providers/indexers/goldrush.mdx diff --git a/pages/dev-ecosystem-providers/indexers/indexers.mdx b/pages/providers/indexers/indexers.mdx similarity index 100% rename from pages/dev-ecosystem-providers/indexers/indexers.mdx rename to pages/providers/indexers/indexers.mdx diff --git a/pages/dev-ecosystem-providers/indexers/the-graph.mdx b/pages/providers/indexers/the-graph.mdx similarity index 99% rename from pages/dev-ecosystem-providers/indexers/the-graph.mdx rename to pages/providers/indexers/the-graph.mdx index d6bc33ad..60f7ba51 100644 --- a/pages/dev-ecosystem-providers/indexers/the-graph.mdx +++ b/pages/providers/indexers/the-graph.mdx @@ -9,7 +9,6 @@ import imgPublishButton from "../../../public/assets/ecosystem/resources/the-gra import imgPublishScreen from "../../../public/assets/ecosystem/resources/the-graph/publish_screen.png"; import imgQueryUrl from "../../../public/assets/ecosystem/resources/the-graph/query_url.png"; - # The Graph Getting historical data on a smart contract can be frustrating when you’re building a dapp. [The Graph](https://thegraph.com/) provides an easy way to query smart contract data through APIs known as subgraphs. The Graph’s infrastructure relies on a decentralized network of indexers, enabling your dapp to become truly decentralized. diff --git a/pages/dev-ecosystem-providers/nfts.mdx b/pages/providers/nfts.mdx similarity index 100% rename from pages/dev-ecosystem-providers/nfts.mdx rename to pages/providers/nfts.mdx diff --git a/pages/dev-ecosystem-providers/oracles.mdx b/pages/providers/oracles.mdx similarity index 100% rename from pages/dev-ecosystem-providers/oracles.mdx rename to pages/providers/oracles.mdx diff --git a/pages/dev-ecosystem-providers/rpc-providers.mdx b/pages/providers/rpc-providers.mdx similarity index 100% rename from pages/dev-ecosystem-providers/rpc-providers.mdx rename to pages/providers/rpc-providers.mdx diff --git a/pages/dev-ecosystem-providers/wallets.mdx b/pages/providers/wallets.mdx similarity index 100% rename from pages/dev-ecosystem-providers/wallets.mdx rename to pages/providers/wallets.mdx diff --git a/pages/reference/_meta.json b/pages/reference/_meta.json new file mode 100644 index 00000000..e2cddd20 --- /dev/null +++ b/pages/reference/_meta.json @@ -0,0 +1,23 @@ +{ + "index": "Home", + "overview": "Overview", + "-- CLI": { + "type": "separator", + "title": "CLI" + }, + "seid": "Seid", + "-- API Reference": { + "type": "separator", + "title": "API Reference" + }, + "endpoints": "Endpoints", + "cosmos": "Cosmos", + "evm": "EVM", + "-- Interoperability": { + "type": "separator", + "title": "Interoperability" + }, + "precompiles": "EVM Precompiles", + "pointer-contracts": "Pointer Contracts" +} + \ No newline at end of file diff --git a/pages/reference/api/[...route].mdx b/pages/reference/api/[...route].mdx new file mode 100644 index 00000000..da65d66e --- /dev/null +++ b/pages/reference/api/[...route].mdx @@ -0,0 +1,7 @@ +import { APIEndpointRoute } from '../../../components'; +import { PageTitle } from '../../../components/APIEndpointRoute/APIEndpointRoute'; + + + + +export { getStaticPaths, getStaticProps } from '../../../components/APIEndpointRoute/APIEndpointRoute'; diff --git a/pages/endpoints/cosmos.mdx b/pages/reference/cosmos.mdx similarity index 100% rename from pages/endpoints/cosmos.mdx rename to pages/reference/cosmos.mdx diff --git a/pages/endpoints.mdx b/pages/reference/endpoints.mdx similarity index 59% rename from pages/endpoints.mdx rename to pages/reference/endpoints.mdx index 0c038eb1..8b1a7e4e 100644 --- a/pages/endpoints.mdx +++ b/pages/reference/endpoints.mdx @@ -5,6 +5,6 @@ import { Card, Cards } from 'nextra/components'; When developing on Sei, you can interact with the chain via EVM or Cosmos endpoints depending on the RPC you are using. - - + + diff --git a/pages/endpoints/evm.mdx b/pages/reference/evm.mdx similarity index 100% rename from pages/endpoints/evm.mdx rename to pages/reference/evm.mdx diff --git a/pages/reference/index.mdx b/pages/reference/index.mdx new file mode 100644 index 00000000..3fd3f5d4 --- /dev/null +++ b/pages/reference/index.mdx @@ -0,0 +1,107 @@ +import React from 'react' +import { + IconInfoSquare, + IconLink, + IconWorld, + IconBrackets, + IconPointer, + IconTerminal, +} from '@tabler/icons-react' +import { LinkCard } from '../../components/LinkCard' + +# Reference + +Explore Sei’s core reference materials, endpoints, commands, and more. + +
+ } + 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" + ], + }} + /> + + } + 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" + ], + }} + /> + + } + 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" + ], + }} + /> + + } + 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" + ], + }} + /> + + } + 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" + ], + }} + /> + + } + 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" + ], + }} + /> +
diff --git a/pages/reference/overview.mdx b/pages/reference/overview.mdx new file mode 100644 index 00000000..2a4b3df9 --- /dev/null +++ b/pages/reference/overview.mdx @@ -0,0 +1,23 @@ +import { Card, Cards } from 'nextra/components'; + +# Reference Overview + +Welcome to the **Reference** section of the Sei documentation. This section offers key technical resources for interacting with the Sei Network. + +## Seid + +**Seid** is the CLI for interacting with the Sei network. It allows you to manage nodes, query blockchain data, and handle transactions, providing essential tools for operating within the network. + +## API Reference + +The **API Reference** includes detailed documentation for interacting with the Sei Network programmatically via REST and gRPC APIs. You’ll find endpoints for querying data, submitting transactions, and interacting with both Cosmos and EVM layers. +- **Cosmos Endpoints**: Provides APIs for core Cosmos functions like staking, governance, and chain queries. +- **EVM Endpoints**: Details APIs for interacting with Ethereum-compatible smart contracts deployed on the Sei network. + +## EVM Precompiles + +**EVM Precompiles** are built-in contracts within the EVM on Sei that provide optimized functionality for certain operations. + +## Pointer Contracts + +**Pointer Contracts** enable tokens to be used interoperably in both EVM and CosmWasm environments. diff --git a/pages/dev-interoperability/pointer-contracts.mdx b/pages/reference/pointer-contracts.mdx similarity index 100% rename from pages/dev-interoperability/pointer-contracts.mdx rename to pages/reference/pointer-contracts.mdx diff --git a/pages/reference/precompiles/_meta.json b/pages/reference/precompiles/_meta.json new file mode 100644 index 00000000..cea37563 --- /dev/null +++ b/pages/reference/precompiles/_meta.json @@ -0,0 +1,14 @@ +{ + "example-usage": "Example Usage", + "addr": "Address", + "bank": "Bank", + "cosmwasm": "CosmWasm", + "distribution": "Distribution", + "gov": "Governance", + "ibc": "IBC", + "json": "JSON", + "oracle": "Oracle", + "pointer": "Pointer", + "pointerview": "Pointerview", + "staking": "Staking" +} diff --git a/pages/dev-interoperability/precompiles/addr.mdx b/pages/reference/precompiles/addr.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/addr.mdx rename to pages/reference/precompiles/addr.mdx diff --git a/pages/dev-interoperability/precompiles/bank.mdx b/pages/reference/precompiles/bank.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/bank.mdx rename to pages/reference/precompiles/bank.mdx diff --git a/pages/dev-interoperability/precompiles/cosmwasm.mdx b/pages/reference/precompiles/cosmwasm.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/cosmwasm.mdx rename to pages/reference/precompiles/cosmwasm.mdx diff --git a/pages/dev-interoperability/precompiles/distribution.mdx b/pages/reference/precompiles/distribution.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/distribution.mdx rename to pages/reference/precompiles/distribution.mdx diff --git a/pages/dev-interoperability/precompiles/example-usage.mdx b/pages/reference/precompiles/example-usage.mdx similarity index 99% rename from pages/dev-interoperability/precompiles/example-usage.mdx rename to pages/reference/precompiles/example-usage.mdx index 3a1bae61..e5c75472 100644 --- a/pages/dev-interoperability/precompiles/example-usage.mdx +++ b/pages/reference/precompiles/example-usage.mdx @@ -8,7 +8,7 @@ The Sei precompiles can be used like any standard smart contract on the EVM. For To install `ethers`, run the following command in your project directory terminal: -```bash copy +```bash npm install ethers npm install @sei-js/evm ``` diff --git a/pages/dev-interoperability/precompiles/governance.mdx b/pages/reference/precompiles/governance.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/governance.mdx rename to pages/reference/precompiles/governance.mdx diff --git a/pages/dev-interoperability/precompiles/ibc.mdx b/pages/reference/precompiles/ibc.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/ibc.mdx rename to pages/reference/precompiles/ibc.mdx diff --git a/pages/dev-interoperability/precompiles/json.mdx b/pages/reference/precompiles/json.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/json.mdx rename to pages/reference/precompiles/json.mdx diff --git a/pages/dev-interoperability/precompiles/oracle.mdx b/pages/reference/precompiles/oracle.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/oracle.mdx rename to pages/reference/precompiles/oracle.mdx diff --git a/pages/dev-interoperability/precompiles/pointer.mdx b/pages/reference/precompiles/pointer.mdx similarity index 70% rename from pages/dev-interoperability/precompiles/pointer.mdx rename to pages/reference/precompiles/pointer.mdx index fe6c2fef..bb2be163 100644 --- a/pages/dev-interoperability/precompiles/pointer.mdx +++ b/pages/reference/precompiles/pointer.mdx @@ -1,15 +1,17 @@ -import { Callout } from "nextra/components"; +import { Callout } from 'nextra/components'; # Pointer Precompile -**Address**: `0x000000000000000000000000000000000000100b` +**Address**: `0x000000000000000000000000000000000000100B` This precompile enables EVM clients to add pointers to the CosmWasm contracts. ## Functions ### Transactions + - `addNativePointer`: Adds a native pointer for the contract. + ```solidity /// Adds a native pointer for the contract. /// @param token The native token to add. @@ -20,6 +22,7 @@ This precompile enables EVM clients to add pointers to the CosmWasm contracts. ``` - `addCW20Pointer`: Adds a CW20 pointer for the contract. + ```solidity /// Adds a CW20 pointer for the contract. /// @param cwAddr The CW20 contract address to add. @@ -30,15 +33,16 @@ This precompile enables EVM clients to add pointers to the CosmWasm contracts. ``` - `addCW20Pointer`: Adds a CW721 pointer for the contract. - ```solidity - /// Adds a CW721 pointer for the contract. - /// @param cwAddr The CW721 contract address to add. - /// @return An Ethereum address of the pointer. - function addCW721Pointer( - string memory cwAddr - ) external returns (address ret); + ```solidity + /// Adds a CW721 pointer for the contract. + /// @param cwAddr The CW721 contract address to add. + /// @return An Ethereum address of the pointer. + function addCW721Pointer( + string memory cwAddr + ) external returns (address ret); ``` - + View the Pointer precompile source code and the contract ABI [here](https://github.com/sei-protocol/sei-chain/tree/main/precompiles/pointer). - + + ``` diff --git a/pages/dev-interoperability/precompiles/pointerview.mdx b/pages/reference/precompiles/pointerview.mdx similarity index 74% rename from pages/dev-interoperability/precompiles/pointerview.mdx rename to pages/reference/precompiles/pointerview.mdx index c8e5085d..166b9392 100644 --- a/pages/dev-interoperability/precompiles/pointerview.mdx +++ b/pages/reference/precompiles/pointerview.mdx @@ -1,6 +1,6 @@ -import { Callout } from "nextra/components"; +import { Callout } from 'nextra/components'; -# Pointer Precompile +# Pointerview Precompile **Address**: `0x000000000000000000000000000000000000100A` @@ -9,7 +9,9 @@ This precompile enables EVM clients to query pointers to the CosmWasm contracts. ## Functions ### Queries + - `getNativePointer`: Retrieves the pointer address, version, and existence status for the specified native token. + ```solidity /// Retrieves the pointer address, version, and existence status for the specified native token. /// @param token The native token to query. @@ -20,6 +22,7 @@ This precompile enables EVM clients to query pointers to the CosmWasm contracts. ``` - `getCW20Pointer`: Retrieves the pointer address, version, and existence status for the specified CW20 contract address. + ```solidity /// Retrieves the pointer address, version, and existence status for the specified CW20 contract address. /// @param cwAddr The CW20 contract address to query. @@ -30,15 +33,16 @@ This precompile enables EVM clients to query pointers to the CosmWasm contracts. ``` - `getCW721Pointer`: Retrieves the pointer address, version, and existence status for the specified CW721 contract address. - ```solidity - /// Retrieves the pointer address, version, and existence status for the specified CW721 contract address. - /// @param cwAddr The CW721 contract address to query. - /// @return the address, version, and existence status. - function getCW721Pointer( - string memory cwAddr - ) view external returns (address addr, uint16 version, bool exists); + ```solidity + /// Retrieves the pointer address, version, and existence status for the specified CW721 contract address. + /// @param cwAddr The CW721 contract address to query. + /// @return the address, version, and existence status. + function getCW721Pointer( + string memory cwAddr + ) view external returns (address addr, uint16 version, bool exists); ``` - + View the PointerView precompile source code and the contract ABI [here](https://github.com/sei-protocol/sei-chain/tree/main/precompiles/pointerview). - + + ``` diff --git a/pages/dev-interoperability/precompiles/staking.mdx b/pages/reference/precompiles/staking.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/staking.mdx rename to pages/reference/precompiles/staking.mdx diff --git a/pages/seid.mdx b/pages/reference/seid.mdx similarity index 100% rename from pages/seid.mdx rename to pages/reference/seid.mdx diff --git a/pages/seid/_meta.json b/pages/reference/seid/_meta.json similarity index 100% rename from pages/seid/_meta.json rename to pages/reference/seid/_meta.json diff --git a/pages/seid/add-genesis-account.md b/pages/reference/seid/add-genesis-account.md similarity index 100% rename from pages/seid/add-genesis-account.md rename to pages/reference/seid/add-genesis-account.md diff --git a/pages/seid/add-wasm-genesis-message.md b/pages/reference/seid/add-wasm-genesis-message.md similarity index 100% rename from pages/seid/add-wasm-genesis-message.md rename to pages/reference/seid/add-wasm-genesis-message.md diff --git a/pages/seid/add-wasm-genesis-message/_meta.json b/pages/reference/seid/add-wasm-genesis-message/_meta.json similarity index 100% rename from pages/seid/add-wasm-genesis-message/_meta.json rename to pages/reference/seid/add-wasm-genesis-message/_meta.json diff --git a/pages/seid/add-wasm-genesis-message/execute.md b/pages/reference/seid/add-wasm-genesis-message/execute.md similarity index 100% rename from pages/seid/add-wasm-genesis-message/execute.md rename to pages/reference/seid/add-wasm-genesis-message/execute.md diff --git a/pages/seid/add-wasm-genesis-message/instantiate-contract.md b/pages/reference/seid/add-wasm-genesis-message/instantiate-contract.md similarity index 100% rename from pages/seid/add-wasm-genesis-message/instantiate-contract.md rename to pages/reference/seid/add-wasm-genesis-message/instantiate-contract.md diff --git a/pages/seid/add-wasm-genesis-message/list-codes.md b/pages/reference/seid/add-wasm-genesis-message/list-codes.md similarity index 100% rename from pages/seid/add-wasm-genesis-message/list-codes.md rename to pages/reference/seid/add-wasm-genesis-message/list-codes.md diff --git a/pages/seid/add-wasm-genesis-message/list-contracts.md b/pages/reference/seid/add-wasm-genesis-message/list-contracts.md similarity index 100% rename from pages/seid/add-wasm-genesis-message/list-contracts.md rename to pages/reference/seid/add-wasm-genesis-message/list-contracts.md diff --git a/pages/seid/add-wasm-genesis-message/store.md b/pages/reference/seid/add-wasm-genesis-message/store.md similarity index 100% rename from pages/seid/add-wasm-genesis-message/store.md rename to pages/reference/seid/add-wasm-genesis-message/store.md diff --git a/pages/seid/blocktest.md b/pages/reference/seid/blocktest.md similarity index 100% rename from pages/seid/blocktest.md rename to pages/reference/seid/blocktest.md diff --git a/pages/seid/collect-gentxs.md b/pages/reference/seid/collect-gentxs.md similarity index 100% rename from pages/seid/collect-gentxs.md rename to pages/reference/seid/collect-gentxs.md diff --git a/pages/seid/compact.md b/pages/reference/seid/compact.md similarity index 100% rename from pages/seid/compact.md rename to pages/reference/seid/compact.md diff --git a/pages/seid/config.md b/pages/reference/seid/config.md similarity index 100% rename from pages/seid/config.md rename to pages/reference/seid/config.md diff --git a/pages/seid/debug.md b/pages/reference/seid/debug.md similarity index 100% rename from pages/seid/debug.md rename to pages/reference/seid/debug.md diff --git a/pages/seid/debug/_meta.json b/pages/reference/seid/debug/_meta.json similarity index 100% rename from pages/seid/debug/_meta.json rename to pages/reference/seid/debug/_meta.json diff --git a/pages/seid/debug/addr.md b/pages/reference/seid/debug/addr.md similarity index 100% rename from pages/seid/debug/addr.md rename to pages/reference/seid/debug/addr.md diff --git a/pages/seid/debug/dump-iavl.md b/pages/reference/seid/debug/dump-iavl.md similarity index 100% rename from pages/seid/debug/dump-iavl.md rename to pages/reference/seid/debug/dump-iavl.md diff --git a/pages/seid/debug/pubkey.md b/pages/reference/seid/debug/pubkey.md similarity index 100% rename from pages/seid/debug/pubkey.md rename to pages/reference/seid/debug/pubkey.md diff --git a/pages/seid/debug/raw-bytes.md b/pages/reference/seid/debug/raw-bytes.md similarity index 100% rename from pages/seid/debug/raw-bytes.md rename to pages/reference/seid/debug/raw-bytes.md diff --git a/pages/seid/ethreplay.md b/pages/reference/seid/ethreplay.md similarity index 100% rename from pages/seid/ethreplay.md rename to pages/reference/seid/ethreplay.md diff --git a/pages/seid/export.md b/pages/reference/seid/export.md similarity index 100% rename from pages/seid/export.md rename to pages/reference/seid/export.md diff --git a/pages/seid/gentx.md b/pages/reference/seid/gentx.md similarity index 100% rename from pages/seid/gentx.md rename to pages/reference/seid/gentx.md diff --git a/pages/seid/help.md b/pages/reference/seid/help.md similarity index 100% rename from pages/seid/help.md rename to pages/reference/seid/help.md diff --git a/pages/seid/init.md b/pages/reference/seid/init.md similarity index 100% rename from pages/seid/init.md rename to pages/reference/seid/init.md diff --git a/pages/seid/keys.md b/pages/reference/seid/keys.md similarity index 100% rename from pages/seid/keys.md rename to pages/reference/seid/keys.md diff --git a/pages/seid/keys/_meta.json b/pages/reference/seid/keys/_meta.json similarity index 100% rename from pages/seid/keys/_meta.json rename to pages/reference/seid/keys/_meta.json diff --git a/pages/seid/keys/add.md b/pages/reference/seid/keys/add.md similarity index 100% rename from pages/seid/keys/add.md rename to pages/reference/seid/keys/add.md diff --git a/pages/seid/keys/delete.md b/pages/reference/seid/keys/delete.md similarity index 100% rename from pages/seid/keys/delete.md rename to pages/reference/seid/keys/delete.md diff --git a/pages/seid/keys/export.md b/pages/reference/seid/keys/export.md similarity index 100% rename from pages/seid/keys/export.md rename to pages/reference/seid/keys/export.md diff --git a/pages/seid/keys/import.md b/pages/reference/seid/keys/import.md similarity index 100% rename from pages/seid/keys/import.md rename to pages/reference/seid/keys/import.md diff --git a/pages/seid/keys/list.md b/pages/reference/seid/keys/list.md similarity index 100% rename from pages/seid/keys/list.md rename to pages/reference/seid/keys/list.md diff --git a/pages/seid/keys/mnemonic.md b/pages/reference/seid/keys/mnemonic.md similarity index 100% rename from pages/seid/keys/mnemonic.md rename to pages/reference/seid/keys/mnemonic.md diff --git a/pages/seid/keys/parse.md b/pages/reference/seid/keys/parse.md similarity index 100% rename from pages/seid/keys/parse.md rename to pages/reference/seid/keys/parse.md diff --git a/pages/seid/keys/show.md b/pages/reference/seid/keys/show.md similarity index 100% rename from pages/seid/keys/show.md rename to pages/reference/seid/keys/show.md diff --git a/pages/seid/latest_version.md b/pages/reference/seid/latest_version.md similarity index 100% rename from pages/seid/latest_version.md rename to pages/reference/seid/latest_version.md diff --git a/pages/seid/migrate.md b/pages/reference/seid/migrate.md similarity index 100% rename from pages/seid/migrate.md rename to pages/reference/seid/migrate.md diff --git a/pages/seid/prune.md b/pages/reference/seid/prune.md similarity index 100% rename from pages/seid/prune.md rename to pages/reference/seid/prune.md diff --git a/pages/seid/query.md b/pages/reference/seid/query.md similarity index 100% rename from pages/seid/query.md rename to pages/reference/seid/query.md diff --git a/pages/seid/query/_meta.json b/pages/reference/seid/query/_meta.json similarity index 100% rename from pages/seid/query/_meta.json rename to pages/reference/seid/query/_meta.json diff --git a/pages/seid/query/accesscontrol.md b/pages/reference/seid/query/accesscontrol.md similarity index 100% rename from pages/seid/query/accesscontrol.md rename to pages/reference/seid/query/accesscontrol.md diff --git a/pages/seid/query/accesscontrol/_meta.json b/pages/reference/seid/query/accesscontrol/_meta.json similarity index 100% rename from pages/seid/query/accesscontrol/_meta.json rename to pages/reference/seid/query/accesscontrol/_meta.json diff --git a/pages/seid/query/accesscontrol/list-resource-dependency-mapping.md b/pages/reference/seid/query/accesscontrol/list-resource-dependency-mapping.md similarity index 100% rename from pages/seid/query/accesscontrol/list-resource-dependency-mapping.md rename to pages/reference/seid/query/accesscontrol/list-resource-dependency-mapping.md diff --git a/pages/seid/query/accesscontrol/list-wasm-dependency-mapping.md b/pages/reference/seid/query/accesscontrol/list-wasm-dependency-mapping.md similarity index 100% rename from pages/seid/query/accesscontrol/list-wasm-dependency-mapping.md rename to pages/reference/seid/query/accesscontrol/list-wasm-dependency-mapping.md diff --git a/pages/seid/query/accesscontrol/params.md b/pages/reference/seid/query/accesscontrol/params.md similarity index 100% rename from pages/seid/query/accesscontrol/params.md rename to pages/reference/seid/query/accesscontrol/params.md diff --git a/pages/seid/query/accesscontrol/resource-dependency-mapping.md b/pages/reference/seid/query/accesscontrol/resource-dependency-mapping.md similarity index 100% rename from pages/seid/query/accesscontrol/resource-dependency-mapping.md rename to pages/reference/seid/query/accesscontrol/resource-dependency-mapping.md diff --git a/pages/seid/query/accesscontrol/wasm-dependency-mapping.md b/pages/reference/seid/query/accesscontrol/wasm-dependency-mapping.md similarity index 100% rename from pages/seid/query/accesscontrol/wasm-dependency-mapping.md rename to pages/reference/seid/query/accesscontrol/wasm-dependency-mapping.md diff --git a/pages/seid/query/account.md b/pages/reference/seid/query/account.md similarity index 100% rename from pages/seid/query/account.md rename to pages/reference/seid/query/account.md diff --git a/pages/seid/query/auth.md b/pages/reference/seid/query/auth.md similarity index 100% rename from pages/seid/query/auth.md rename to pages/reference/seid/query/auth.md diff --git a/pages/seid/query/auth/_meta.json b/pages/reference/seid/query/auth/_meta.json similarity index 100% rename from pages/seid/query/auth/_meta.json rename to pages/reference/seid/query/auth/_meta.json diff --git a/pages/seid/query/auth/account.md b/pages/reference/seid/query/auth/account.md similarity index 100% rename from pages/seid/query/auth/account.md rename to pages/reference/seid/query/auth/account.md diff --git a/pages/seid/query/auth/accounts.md b/pages/reference/seid/query/auth/accounts.md similarity index 100% rename from pages/seid/query/auth/accounts.md rename to pages/reference/seid/query/auth/accounts.md diff --git a/pages/seid/query/auth/next-account-number.md b/pages/reference/seid/query/auth/next-account-number.md similarity index 100% rename from pages/seid/query/auth/next-account-number.md rename to pages/reference/seid/query/auth/next-account-number.md diff --git a/pages/seid/query/auth/params.md b/pages/reference/seid/query/auth/params.md similarity index 100% rename from pages/seid/query/auth/params.md rename to pages/reference/seid/query/auth/params.md diff --git a/pages/seid/query/authz.md b/pages/reference/seid/query/authz.md similarity index 100% rename from pages/seid/query/authz.md rename to pages/reference/seid/query/authz.md diff --git a/pages/seid/query/authz/_meta.json b/pages/reference/seid/query/authz/_meta.json similarity index 100% rename from pages/seid/query/authz/_meta.json rename to pages/reference/seid/query/authz/_meta.json diff --git a/pages/seid/query/authz/grants-by-grantee.md b/pages/reference/seid/query/authz/grants-by-grantee.md similarity index 100% rename from pages/seid/query/authz/grants-by-grantee.md rename to pages/reference/seid/query/authz/grants-by-grantee.md diff --git a/pages/seid/query/authz/grants-by-granter.md b/pages/reference/seid/query/authz/grants-by-granter.md similarity index 100% rename from pages/seid/query/authz/grants-by-granter.md rename to pages/reference/seid/query/authz/grants-by-granter.md diff --git a/pages/seid/query/authz/grants.md b/pages/reference/seid/query/authz/grants.md similarity index 100% rename from pages/seid/query/authz/grants.md rename to pages/reference/seid/query/authz/grants.md diff --git a/pages/seid/query/bank.md b/pages/reference/seid/query/bank.md similarity index 100% rename from pages/seid/query/bank.md rename to pages/reference/seid/query/bank.md diff --git a/pages/seid/query/bank/_meta.json b/pages/reference/seid/query/bank/_meta.json similarity index 100% rename from pages/seid/query/bank/_meta.json rename to pages/reference/seid/query/bank/_meta.json diff --git a/pages/seid/query/bank/balances.md b/pages/reference/seid/query/bank/balances.md similarity index 100% rename from pages/seid/query/bank/balances.md rename to pages/reference/seid/query/bank/balances.md diff --git a/pages/seid/query/bank/denom-metadata.md b/pages/reference/seid/query/bank/denom-metadata.md similarity index 100% rename from pages/seid/query/bank/denom-metadata.md rename to pages/reference/seid/query/bank/denom-metadata.md diff --git a/pages/seid/query/bank/total.md b/pages/reference/seid/query/bank/total.md similarity index 100% rename from pages/seid/query/bank/total.md rename to pages/reference/seid/query/bank/total.md diff --git a/pages/seid/query/block.md b/pages/reference/seid/query/block.md similarity index 100% rename from pages/seid/query/block.md rename to pages/reference/seid/query/block.md diff --git a/pages/seid/query/dex/_meta.json b/pages/reference/seid/query/dex/_meta.json similarity index 100% rename from pages/seid/query/dex/_meta.json rename to pages/reference/seid/query/dex/_meta.json diff --git a/pages/seid/query/dex/get-asset-list.md b/pages/reference/seid/query/dex/get-asset-list.md similarity index 100% rename from pages/seid/query/dex/get-asset-list.md rename to pages/reference/seid/query/dex/get-asset-list.md diff --git a/pages/seid/query/dex/get-asset-metadata.md b/pages/reference/seid/query/dex/get-asset-metadata.md similarity index 100% rename from pages/seid/query/dex/get-asset-metadata.md rename to pages/reference/seid/query/dex/get-asset-metadata.md diff --git a/pages/seid/query/dex/get-latest-price.md b/pages/reference/seid/query/dex/get-latest-price.md similarity index 100% rename from pages/seid/query/dex/get-latest-price.md rename to pages/reference/seid/query/dex/get-latest-price.md diff --git a/pages/seid/query/dex/get-match-result.md b/pages/reference/seid/query/dex/get-match-result.md similarity index 100% rename from pages/seid/query/dex/get-match-result.md rename to pages/reference/seid/query/dex/get-match-result.md diff --git a/pages/seid/query/dex/get-orders-by-id.md b/pages/reference/seid/query/dex/get-orders-by-id.md similarity index 100% rename from pages/seid/query/dex/get-orders-by-id.md rename to pages/reference/seid/query/dex/get-orders-by-id.md diff --git a/pages/seid/query/dex/get-orders.md b/pages/reference/seid/query/dex/get-orders.md similarity index 100% rename from pages/seid/query/dex/get-orders.md rename to pages/reference/seid/query/dex/get-orders.md diff --git a/pages/seid/query/dex/get-price.md b/pages/reference/seid/query/dex/get-price.md similarity index 100% rename from pages/seid/query/dex/get-price.md rename to pages/reference/seid/query/dex/get-price.md diff --git a/pages/seid/query/dex/get-prices.md b/pages/reference/seid/query/dex/get-prices.md similarity index 100% rename from pages/seid/query/dex/get-prices.md rename to pages/reference/seid/query/dex/get-prices.md diff --git a/pages/seid/query/dex/get-registered-contract.md b/pages/reference/seid/query/dex/get-registered-contract.md similarity index 100% rename from pages/seid/query/dex/get-registered-contract.md rename to pages/reference/seid/query/dex/get-registered-contract.md diff --git a/pages/seid/query/dex/get-registered-pairs.md b/pages/reference/seid/query/dex/get-registered-pairs.md similarity index 100% rename from pages/seid/query/dex/get-registered-pairs.md rename to pages/reference/seid/query/dex/get-registered-pairs.md diff --git a/pages/seid/query/dex/get-twaps.md b/pages/reference/seid/query/dex/get-twaps.md similarity index 100% rename from pages/seid/query/dex/get-twaps.md rename to pages/reference/seid/query/dex/get-twaps.md diff --git a/pages/seid/query/dex/list-long-book.md b/pages/reference/seid/query/dex/list-long-book.md similarity index 100% rename from pages/seid/query/dex/list-long-book.md rename to pages/reference/seid/query/dex/list-long-book.md diff --git a/pages/seid/query/dex/list-short-book.md b/pages/reference/seid/query/dex/list-short-book.md similarity index 100% rename from pages/seid/query/dex/list-short-book.md rename to pages/reference/seid/query/dex/list-short-book.md diff --git a/pages/seid/query/dex/params.md b/pages/reference/seid/query/dex/params.md similarity index 100% rename from pages/seid/query/dex/params.md rename to pages/reference/seid/query/dex/params.md diff --git a/pages/seid/query/dex/show-long-book.md b/pages/reference/seid/query/dex/show-long-book.md similarity index 100% rename from pages/seid/query/dex/show-long-book.md rename to pages/reference/seid/query/dex/show-long-book.md diff --git a/pages/seid/query/dex/show-short-book.md b/pages/reference/seid/query/dex/show-short-book.md similarity index 100% rename from pages/seid/query/dex/show-short-book.md rename to pages/reference/seid/query/dex/show-short-book.md diff --git a/pages/seid/query/distribution.md b/pages/reference/seid/query/distribution.md similarity index 100% rename from pages/seid/query/distribution.md rename to pages/reference/seid/query/distribution.md diff --git a/pages/seid/query/distribution/_meta.json b/pages/reference/seid/query/distribution/_meta.json similarity index 100% rename from pages/seid/query/distribution/_meta.json rename to pages/reference/seid/query/distribution/_meta.json diff --git a/pages/seid/query/distribution/commission.md b/pages/reference/seid/query/distribution/commission.md similarity index 100% rename from pages/seid/query/distribution/commission.md rename to pages/reference/seid/query/distribution/commission.md diff --git a/pages/seid/query/distribution/community-pool.md b/pages/reference/seid/query/distribution/community-pool.md similarity index 100% rename from pages/seid/query/distribution/community-pool.md rename to pages/reference/seid/query/distribution/community-pool.md diff --git a/pages/seid/query/distribution/params.md b/pages/reference/seid/query/distribution/params.md similarity index 100% rename from pages/seid/query/distribution/params.md rename to pages/reference/seid/query/distribution/params.md diff --git a/pages/seid/query/distribution/rewards.md b/pages/reference/seid/query/distribution/rewards.md similarity index 100% rename from pages/seid/query/distribution/rewards.md rename to pages/reference/seid/query/distribution/rewards.md diff --git a/pages/seid/query/distribution/slashes.md b/pages/reference/seid/query/distribution/slashes.md similarity index 100% rename from pages/seid/query/distribution/slashes.md rename to pages/reference/seid/query/distribution/slashes.md diff --git a/pages/seid/query/distribution/validator-outstanding-rewards.md b/pages/reference/seid/query/distribution/validator-outstanding-rewards.md similarity index 100% rename from pages/seid/query/distribution/validator-outstanding-rewards.md rename to pages/reference/seid/query/distribution/validator-outstanding-rewards.md diff --git a/pages/seid/query/epoch.md b/pages/reference/seid/query/epoch.md similarity index 100% rename from pages/seid/query/epoch.md rename to pages/reference/seid/query/epoch.md diff --git a/pages/seid/query/epoch/_meta.json b/pages/reference/seid/query/epoch/_meta.json similarity index 100% rename from pages/seid/query/epoch/_meta.json rename to pages/reference/seid/query/epoch/_meta.json diff --git a/pages/seid/query/epoch/epoch.md b/pages/reference/seid/query/epoch/epoch.md similarity index 100% rename from pages/seid/query/epoch/epoch.md rename to pages/reference/seid/query/epoch/epoch.md diff --git a/pages/seid/query/epoch/params.md b/pages/reference/seid/query/epoch/params.md similarity index 100% rename from pages/seid/query/epoch/params.md rename to pages/reference/seid/query/epoch/params.md diff --git a/pages/seid/query/evidence.md b/pages/reference/seid/query/evidence.md similarity index 100% rename from pages/seid/query/evidence.md rename to pages/reference/seid/query/evidence.md diff --git a/pages/seid/query/evm.md b/pages/reference/seid/query/evm.md similarity index 100% rename from pages/seid/query/evm.md rename to pages/reference/seid/query/evm.md diff --git a/pages/seid/query/evm/_meta.json b/pages/reference/seid/query/evm/_meta.json similarity index 100% rename from pages/seid/query/evm/_meta.json rename to pages/reference/seid/query/evm/_meta.json diff --git a/pages/seid/query/evm/erc20-payload.md b/pages/reference/seid/query/evm/erc20-payload.md similarity index 100% rename from pages/seid/query/evm/erc20-payload.md rename to pages/reference/seid/query/evm/erc20-payload.md diff --git a/pages/seid/query/evm/erc20.md b/pages/reference/seid/query/evm/erc20.md similarity index 100% rename from pages/seid/query/evm/erc20.md rename to pages/reference/seid/query/evm/erc20.md diff --git a/pages/seid/query/evm/erc721-payload.md b/pages/reference/seid/query/evm/erc721-payload.md similarity index 100% rename from pages/seid/query/evm/erc721-payload.md rename to pages/reference/seid/query/evm/erc721-payload.md diff --git a/pages/seid/query/evm/evm-addr.md b/pages/reference/seid/query/evm/evm-addr.md similarity index 100% rename from pages/seid/query/evm/evm-addr.md rename to pages/reference/seid/query/evm/evm-addr.md diff --git a/pages/seid/query/evm/payload.md b/pages/reference/seid/query/evm/payload.md similarity index 100% rename from pages/seid/query/evm/payload.md rename to pages/reference/seid/query/evm/payload.md diff --git a/pages/seid/query/evm/pointer-version.md b/pages/reference/seid/query/evm/pointer-version.md similarity index 100% rename from pages/seid/query/evm/pointer-version.md rename to pages/reference/seid/query/evm/pointer-version.md diff --git a/pages/seid/query/evm/pointer.md b/pages/reference/seid/query/evm/pointer.md similarity index 100% rename from pages/seid/query/evm/pointer.md rename to pages/reference/seid/query/evm/pointer.md diff --git a/pages/seid/query/evm/sei-addr.md b/pages/reference/seid/query/evm/sei-addr.md similarity index 100% rename from pages/seid/query/evm/sei-addr.md rename to pages/reference/seid/query/evm/sei-addr.md diff --git a/pages/seid/query/feegrant.md b/pages/reference/seid/query/feegrant.md similarity index 100% rename from pages/seid/query/feegrant.md rename to pages/reference/seid/query/feegrant.md diff --git a/pages/seid/query/feegrant/_meta.json b/pages/reference/seid/query/feegrant/_meta.json similarity index 100% rename from pages/seid/query/feegrant/_meta.json rename to pages/reference/seid/query/feegrant/_meta.json diff --git a/pages/seid/query/feegrant/grant.md b/pages/reference/seid/query/feegrant/grant.md similarity index 100% rename from pages/seid/query/feegrant/grant.md rename to pages/reference/seid/query/feegrant/grant.md diff --git a/pages/seid/query/feegrant/grants-by-grantee.md b/pages/reference/seid/query/feegrant/grants-by-grantee.md similarity index 100% rename from pages/seid/query/feegrant/grants-by-grantee.md rename to pages/reference/seid/query/feegrant/grants-by-grantee.md diff --git a/pages/seid/query/feegrant/grants-by-granter.md b/pages/reference/seid/query/feegrant/grants-by-granter.md similarity index 100% rename from pages/seid/query/feegrant/grants-by-granter.md rename to pages/reference/seid/query/feegrant/grants-by-granter.md diff --git a/pages/seid/query/gov.md b/pages/reference/seid/query/gov.md similarity index 100% rename from pages/seid/query/gov.md rename to pages/reference/seid/query/gov.md diff --git a/pages/seid/query/gov/_meta.json b/pages/reference/seid/query/gov/_meta.json similarity index 100% rename from pages/seid/query/gov/_meta.json rename to pages/reference/seid/query/gov/_meta.json diff --git a/pages/seid/query/gov/deposit.md b/pages/reference/seid/query/gov/deposit.md similarity index 100% rename from pages/seid/query/gov/deposit.md rename to pages/reference/seid/query/gov/deposit.md diff --git a/pages/seid/query/gov/deposits.md b/pages/reference/seid/query/gov/deposits.md similarity index 100% rename from pages/seid/query/gov/deposits.md rename to pages/reference/seid/query/gov/deposits.md diff --git a/pages/seid/query/gov/param.md b/pages/reference/seid/query/gov/param.md similarity index 100% rename from pages/seid/query/gov/param.md rename to pages/reference/seid/query/gov/param.md diff --git a/pages/seid/query/gov/params.md b/pages/reference/seid/query/gov/params.md similarity index 100% rename from pages/seid/query/gov/params.md rename to pages/reference/seid/query/gov/params.md diff --git a/pages/seid/query/gov/proposal.md b/pages/reference/seid/query/gov/proposal.md similarity index 100% rename from pages/seid/query/gov/proposal.md rename to pages/reference/seid/query/gov/proposal.md diff --git a/pages/seid/query/gov/proposals.md b/pages/reference/seid/query/gov/proposals.md similarity index 100% rename from pages/seid/query/gov/proposals.md rename to pages/reference/seid/query/gov/proposals.md diff --git a/pages/seid/query/gov/proposer.md b/pages/reference/seid/query/gov/proposer.md similarity index 100% rename from pages/seid/query/gov/proposer.md rename to pages/reference/seid/query/gov/proposer.md diff --git a/pages/seid/query/gov/tally.md b/pages/reference/seid/query/gov/tally.md similarity index 100% rename from pages/seid/query/gov/tally.md rename to pages/reference/seid/query/gov/tally.md diff --git a/pages/seid/query/gov/vote.md b/pages/reference/seid/query/gov/vote.md similarity index 100% rename from pages/seid/query/gov/vote.md rename to pages/reference/seid/query/gov/vote.md diff --git a/pages/seid/query/gov/votes.md b/pages/reference/seid/query/gov/votes.md similarity index 100% rename from pages/seid/query/gov/votes.md rename to pages/reference/seid/query/gov/votes.md diff --git a/pages/seid/query/ibc-transfer.md b/pages/reference/seid/query/ibc-transfer.md similarity index 100% rename from pages/seid/query/ibc-transfer.md rename to pages/reference/seid/query/ibc-transfer.md diff --git a/pages/seid/query/ibc-transfer/_meta.json b/pages/reference/seid/query/ibc-transfer/_meta.json similarity index 100% rename from pages/seid/query/ibc-transfer/_meta.json rename to pages/reference/seid/query/ibc-transfer/_meta.json diff --git a/pages/seid/query/ibc-transfer/denom-hash.md b/pages/reference/seid/query/ibc-transfer/denom-hash.md similarity index 100% rename from pages/seid/query/ibc-transfer/denom-hash.md rename to pages/reference/seid/query/ibc-transfer/denom-hash.md diff --git a/pages/seid/query/ibc-transfer/denom-trace.md b/pages/reference/seid/query/ibc-transfer/denom-trace.md similarity index 100% rename from pages/seid/query/ibc-transfer/denom-trace.md rename to pages/reference/seid/query/ibc-transfer/denom-trace.md diff --git a/pages/seid/query/ibc-transfer/denom-traces.md b/pages/reference/seid/query/ibc-transfer/denom-traces.md similarity index 100% rename from pages/seid/query/ibc-transfer/denom-traces.md rename to pages/reference/seid/query/ibc-transfer/denom-traces.md diff --git a/pages/seid/query/ibc-transfer/escrow-address.md b/pages/reference/seid/query/ibc-transfer/escrow-address.md similarity index 100% rename from pages/seid/query/ibc-transfer/escrow-address.md rename to pages/reference/seid/query/ibc-transfer/escrow-address.md diff --git a/pages/seid/query/ibc-transfer/params.md b/pages/reference/seid/query/ibc-transfer/params.md similarity index 100% rename from pages/seid/query/ibc-transfer/params.md rename to pages/reference/seid/query/ibc-transfer/params.md diff --git a/pages/seid/query/ibc.md b/pages/reference/seid/query/ibc.md similarity index 100% rename from pages/seid/query/ibc.md rename to pages/reference/seid/query/ibc.md diff --git a/pages/seid/query/ibc/_meta.json b/pages/reference/seid/query/ibc/_meta.json similarity index 100% rename from pages/seid/query/ibc/_meta.json rename to pages/reference/seid/query/ibc/_meta.json diff --git a/pages/seid/query/ibc/channel.md b/pages/reference/seid/query/ibc/channel.md similarity index 100% rename from pages/seid/query/ibc/channel.md rename to pages/reference/seid/query/ibc/channel.md diff --git a/pages/seid/query/ibc/channel/_meta.json b/pages/reference/seid/query/ibc/channel/_meta.json similarity index 100% rename from pages/seid/query/ibc/channel/_meta.json rename to pages/reference/seid/query/ibc/channel/_meta.json diff --git a/pages/seid/query/ibc/channel/channels.md b/pages/reference/seid/query/ibc/channel/channels.md similarity index 100% rename from pages/seid/query/ibc/channel/channels.md rename to pages/reference/seid/query/ibc/channel/channels.md diff --git a/pages/seid/query/ibc/channel/client-state.md b/pages/reference/seid/query/ibc/channel/client-state.md similarity index 100% rename from pages/seid/query/ibc/channel/client-state.md rename to pages/reference/seid/query/ibc/channel/client-state.md diff --git a/pages/seid/query/ibc/channel/connections.md b/pages/reference/seid/query/ibc/channel/connections.md similarity index 100% rename from pages/seid/query/ibc/channel/connections.md rename to pages/reference/seid/query/ibc/channel/connections.md diff --git a/pages/seid/query/ibc/channel/end.md b/pages/reference/seid/query/ibc/channel/end.md similarity index 100% rename from pages/seid/query/ibc/channel/end.md rename to pages/reference/seid/query/ibc/channel/end.md diff --git a/pages/seid/query/ibc/channel/next-sequence-receive.md b/pages/reference/seid/query/ibc/channel/next-sequence-receive.md similarity index 100% rename from pages/seid/query/ibc/channel/next-sequence-receive.md rename to pages/reference/seid/query/ibc/channel/next-sequence-receive.md diff --git a/pages/seid/query/ibc/channel/packet-ack.md b/pages/reference/seid/query/ibc/channel/packet-ack.md similarity index 100% rename from pages/seid/query/ibc/channel/packet-ack.md rename to pages/reference/seid/query/ibc/channel/packet-ack.md diff --git a/pages/seid/query/ibc/channel/packet-commitment.md b/pages/reference/seid/query/ibc/channel/packet-commitment.md similarity index 100% rename from pages/seid/query/ibc/channel/packet-commitment.md rename to pages/reference/seid/query/ibc/channel/packet-commitment.md diff --git a/pages/seid/query/ibc/channel/packet-commitments.md b/pages/reference/seid/query/ibc/channel/packet-commitments.md similarity index 100% rename from pages/seid/query/ibc/channel/packet-commitments.md rename to pages/reference/seid/query/ibc/channel/packet-commitments.md diff --git a/pages/seid/query/ibc/channel/packet-receipt.md b/pages/reference/seid/query/ibc/channel/packet-receipt.md similarity index 100% rename from pages/seid/query/ibc/channel/packet-receipt.md rename to pages/reference/seid/query/ibc/channel/packet-receipt.md diff --git a/pages/seid/query/ibc/channel/unreceived-acks.md b/pages/reference/seid/query/ibc/channel/unreceived-acks.md similarity index 100% rename from pages/seid/query/ibc/channel/unreceived-acks.md rename to pages/reference/seid/query/ibc/channel/unreceived-acks.md diff --git a/pages/seid/query/ibc/channel/unreceived-packets.md b/pages/reference/seid/query/ibc/channel/unreceived-packets.md similarity index 100% rename from pages/seid/query/ibc/channel/unreceived-packets.md rename to pages/reference/seid/query/ibc/channel/unreceived-packets.md diff --git a/pages/seid/query/ibc/client.md b/pages/reference/seid/query/ibc/client.md similarity index 100% rename from pages/seid/query/ibc/client.md rename to pages/reference/seid/query/ibc/client.md diff --git a/pages/seid/query/ibc/client/_meta.json b/pages/reference/seid/query/ibc/client/_meta.json similarity index 100% rename from pages/seid/query/ibc/client/_meta.json rename to pages/reference/seid/query/ibc/client/_meta.json diff --git a/pages/seid/query/ibc/client/consensus-state-heights.md b/pages/reference/seid/query/ibc/client/consensus-state-heights.md similarity index 100% rename from pages/seid/query/ibc/client/consensus-state-heights.md rename to pages/reference/seid/query/ibc/client/consensus-state-heights.md diff --git a/pages/seid/query/ibc/client/consensus-state.md b/pages/reference/seid/query/ibc/client/consensus-state.md similarity index 100% rename from pages/seid/query/ibc/client/consensus-state.md rename to pages/reference/seid/query/ibc/client/consensus-state.md diff --git a/pages/seid/query/ibc/client/consensus-states.md b/pages/reference/seid/query/ibc/client/consensus-states.md similarity index 100% rename from pages/seid/query/ibc/client/consensus-states.md rename to pages/reference/seid/query/ibc/client/consensus-states.md diff --git a/pages/seid/query/ibc/client/header.md b/pages/reference/seid/query/ibc/client/header.md similarity index 100% rename from pages/seid/query/ibc/client/header.md rename to pages/reference/seid/query/ibc/client/header.md diff --git a/pages/seid/query/ibc/client/params.md b/pages/reference/seid/query/ibc/client/params.md similarity index 100% rename from pages/seid/query/ibc/client/params.md rename to pages/reference/seid/query/ibc/client/params.md diff --git a/pages/seid/query/ibc/client/self-consensus-state.md b/pages/reference/seid/query/ibc/client/self-consensus-state.md similarity index 100% rename from pages/seid/query/ibc/client/self-consensus-state.md rename to pages/reference/seid/query/ibc/client/self-consensus-state.md diff --git a/pages/seid/query/ibc/client/state.md b/pages/reference/seid/query/ibc/client/state.md similarity index 100% rename from pages/seid/query/ibc/client/state.md rename to pages/reference/seid/query/ibc/client/state.md diff --git a/pages/seid/query/ibc/client/states.md b/pages/reference/seid/query/ibc/client/states.md similarity index 100% rename from pages/seid/query/ibc/client/states.md rename to pages/reference/seid/query/ibc/client/states.md diff --git a/pages/seid/query/ibc/client/status.md b/pages/reference/seid/query/ibc/client/status.md similarity index 100% rename from pages/seid/query/ibc/client/status.md rename to pages/reference/seid/query/ibc/client/status.md diff --git a/pages/seid/query/ibc/connection.md b/pages/reference/seid/query/ibc/connection.md similarity index 100% rename from pages/seid/query/ibc/connection.md rename to pages/reference/seid/query/ibc/connection.md diff --git a/pages/seid/query/ibc/connection/_meta.json b/pages/reference/seid/query/ibc/connection/_meta.json similarity index 100% rename from pages/seid/query/ibc/connection/_meta.json rename to pages/reference/seid/query/ibc/connection/_meta.json diff --git a/pages/seid/query/ibc/connection/connections.md b/pages/reference/seid/query/ibc/connection/connections.md similarity index 100% rename from pages/seid/query/ibc/connection/connections.md rename to pages/reference/seid/query/ibc/connection/connections.md diff --git a/pages/seid/query/ibc/connection/end.md b/pages/reference/seid/query/ibc/connection/end.md similarity index 100% rename from pages/seid/query/ibc/connection/end.md rename to pages/reference/seid/query/ibc/connection/end.md diff --git a/pages/seid/query/ibc/connection/path.md b/pages/reference/seid/query/ibc/connection/path.md similarity index 100% rename from pages/seid/query/ibc/connection/path.md rename to pages/reference/seid/query/ibc/connection/path.md diff --git a/pages/seid/query/mint.md b/pages/reference/seid/query/mint.md similarity index 100% rename from pages/seid/query/mint.md rename to pages/reference/seid/query/mint.md diff --git a/pages/seid/query/mint/_meta.json b/pages/reference/seid/query/mint/_meta.json similarity index 100% rename from pages/seid/query/mint/_meta.json rename to pages/reference/seid/query/mint/_meta.json diff --git a/pages/seid/query/mint/minter.md b/pages/reference/seid/query/mint/minter.md similarity index 100% rename from pages/seid/query/mint/minter.md rename to pages/reference/seid/query/mint/minter.md diff --git a/pages/seid/query/mint/params.md b/pages/reference/seid/query/mint/params.md similarity index 100% rename from pages/seid/query/mint/params.md rename to pages/reference/seid/query/mint/params.md diff --git a/pages/seid/query/oracle.md b/pages/reference/seid/query/oracle.md similarity index 100% rename from pages/seid/query/oracle.md rename to pages/reference/seid/query/oracle.md diff --git a/pages/seid/query/oracle/_meta.json b/pages/reference/seid/query/oracle/_meta.json similarity index 100% rename from pages/seid/query/oracle/_meta.json rename to pages/reference/seid/query/oracle/_meta.json diff --git a/pages/seid/query/oracle/actives.md b/pages/reference/seid/query/oracle/actives.md similarity index 100% rename from pages/seid/query/oracle/actives.md rename to pages/reference/seid/query/oracle/actives.md diff --git a/pages/seid/query/oracle/exchange-rates.md b/pages/reference/seid/query/oracle/exchange-rates.md similarity index 100% rename from pages/seid/query/oracle/exchange-rates.md rename to pages/reference/seid/query/oracle/exchange-rates.md diff --git a/pages/seid/query/oracle/feeder.md b/pages/reference/seid/query/oracle/feeder.md similarity index 100% rename from pages/seid/query/oracle/feeder.md rename to pages/reference/seid/query/oracle/feeder.md diff --git a/pages/seid/query/oracle/params.md b/pages/reference/seid/query/oracle/params.md similarity index 100% rename from pages/seid/query/oracle/params.md rename to pages/reference/seid/query/oracle/params.md diff --git a/pages/seid/query/oracle/price-snapshot-history.md b/pages/reference/seid/query/oracle/price-snapshot-history.md similarity index 100% rename from pages/seid/query/oracle/price-snapshot-history.md rename to pages/reference/seid/query/oracle/price-snapshot-history.md diff --git a/pages/seid/query/oracle/twaps.md b/pages/reference/seid/query/oracle/twaps.md similarity index 100% rename from pages/seid/query/oracle/twaps.md rename to pages/reference/seid/query/oracle/twaps.md diff --git a/pages/seid/query/oracle/vote-penalty-counter.md b/pages/reference/seid/query/oracle/vote-penalty-counter.md similarity index 100% rename from pages/seid/query/oracle/vote-penalty-counter.md rename to pages/reference/seid/query/oracle/vote-penalty-counter.md diff --git a/pages/seid/query/oracle/vote-targets.md b/pages/reference/seid/query/oracle/vote-targets.md similarity index 100% rename from pages/seid/query/oracle/vote-targets.md rename to pages/reference/seid/query/oracle/vote-targets.md diff --git a/pages/seid/query/params.md b/pages/reference/seid/query/params.md similarity index 100% rename from pages/seid/query/params.md rename to pages/reference/seid/query/params.md diff --git a/pages/seid/query/params/_meta.json b/pages/reference/seid/query/params/_meta.json similarity index 100% rename from pages/seid/query/params/_meta.json rename to pages/reference/seid/query/params/_meta.json diff --git a/pages/seid/query/params/blockparams.md b/pages/reference/seid/query/params/blockparams.md similarity index 100% rename from pages/seid/query/params/blockparams.md rename to pages/reference/seid/query/params/blockparams.md diff --git a/pages/seid/query/params/cosmosgasparams.md b/pages/reference/seid/query/params/cosmosgasparams.md similarity index 100% rename from pages/seid/query/params/cosmosgasparams.md rename to pages/reference/seid/query/params/cosmosgasparams.md diff --git a/pages/seid/query/params/feesparams.md b/pages/reference/seid/query/params/feesparams.md similarity index 100% rename from pages/seid/query/params/feesparams.md rename to pages/reference/seid/query/params/feesparams.md diff --git a/pages/seid/query/params/subspace.md b/pages/reference/seid/query/params/subspace.md similarity index 100% rename from pages/seid/query/params/subspace.md rename to pages/reference/seid/query/params/subspace.md diff --git a/pages/seid/query/slashing.md b/pages/reference/seid/query/slashing.md similarity index 100% rename from pages/seid/query/slashing.md rename to pages/reference/seid/query/slashing.md diff --git a/pages/seid/query/slashing/_meta.json b/pages/reference/seid/query/slashing/_meta.json similarity index 100% rename from pages/seid/query/slashing/_meta.json rename to pages/reference/seid/query/slashing/_meta.json diff --git a/pages/seid/query/slashing/params.md b/pages/reference/seid/query/slashing/params.md similarity index 100% rename from pages/seid/query/slashing/params.md rename to pages/reference/seid/query/slashing/params.md diff --git a/pages/seid/query/slashing/signing-info.md b/pages/reference/seid/query/slashing/signing-info.md similarity index 100% rename from pages/seid/query/slashing/signing-info.md rename to pages/reference/seid/query/slashing/signing-info.md diff --git a/pages/seid/query/slashing/signing-infos.md b/pages/reference/seid/query/slashing/signing-infos.md similarity index 100% rename from pages/seid/query/slashing/signing-infos.md rename to pages/reference/seid/query/slashing/signing-infos.md diff --git a/pages/seid/query/staking.md b/pages/reference/seid/query/staking.md similarity index 91% rename from pages/seid/query/staking.md rename to pages/reference/seid/query/staking.md index 64918ff5..575b143c 100644 --- a/pages/seid/query/staking.md +++ b/pages/reference/seid/query/staking.md @@ -16,10 +16,10 @@ Available Commands: pool Query the current staking pool values redelegation Query a redelegation record based on delegator and a source and destination validator address redelegations Query all redelegations records for one delegator - redelegations-from Query all outgoing redelegations from a validator + redelegations-from Query all outgoing redelegatations from a validator unbonding-delegation Query an unbonding-delegation record based on delegator and validator address unbonding-delegations Query all unbonding-delegations records for one delegator - unbonding-delegations-from Query all unbonding delegations from a validator + unbonding-delegations-from Query all unbonding delegatations from a validator validator Query a validator validators Query for all validators diff --git a/pages/seid/query/staking/_meta.json b/pages/reference/seid/query/staking/_meta.json similarity index 100% rename from pages/seid/query/staking/_meta.json rename to pages/reference/seid/query/staking/_meta.json diff --git a/pages/seid/query/staking/delegation.md b/pages/reference/seid/query/staking/delegation.md similarity index 100% rename from pages/seid/query/staking/delegation.md rename to pages/reference/seid/query/staking/delegation.md diff --git a/pages/seid/query/staking/delegations-to.md b/pages/reference/seid/query/staking/delegations-to.md similarity index 100% rename from pages/seid/query/staking/delegations-to.md rename to pages/reference/seid/query/staking/delegations-to.md diff --git a/pages/seid/query/staking/delegations.md b/pages/reference/seid/query/staking/delegations.md similarity index 100% rename from pages/seid/query/staking/delegations.md rename to pages/reference/seid/query/staking/delegations.md diff --git a/pages/seid/query/staking/hex-address.md b/pages/reference/seid/query/staking/hex-address.md similarity index 100% rename from pages/seid/query/staking/hex-address.md rename to pages/reference/seid/query/staking/hex-address.md diff --git a/pages/seid/query/staking/historical-info.md b/pages/reference/seid/query/staking/historical-info.md similarity index 100% rename from pages/seid/query/staking/historical-info.md rename to pages/reference/seid/query/staking/historical-info.md diff --git a/pages/seid/query/staking/params.md b/pages/reference/seid/query/staking/params.md similarity index 100% rename from pages/seid/query/staking/params.md rename to pages/reference/seid/query/staking/params.md diff --git a/pages/seid/query/staking/pool.md b/pages/reference/seid/query/staking/pool.md similarity index 100% rename from pages/seid/query/staking/pool.md rename to pages/reference/seid/query/staking/pool.md diff --git a/pages/seid/query/staking/redelegation.md b/pages/reference/seid/query/staking/redelegation.md similarity index 100% rename from pages/seid/query/staking/redelegation.md rename to pages/reference/seid/query/staking/redelegation.md diff --git a/pages/seid/query/staking/redelegations-from.md b/pages/reference/seid/query/staking/redelegations-from.md similarity index 100% rename from pages/seid/query/staking/redelegations-from.md rename to pages/reference/seid/query/staking/redelegations-from.md diff --git a/pages/seid/query/staking/redelegations.md b/pages/reference/seid/query/staking/redelegations.md similarity index 100% rename from pages/seid/query/staking/redelegations.md rename to pages/reference/seid/query/staking/redelegations.md diff --git a/pages/seid/query/staking/unbonding-delegation.md b/pages/reference/seid/query/staking/unbonding-delegation.md similarity index 100% rename from pages/seid/query/staking/unbonding-delegation.md rename to pages/reference/seid/query/staking/unbonding-delegation.md diff --git a/pages/seid/query/staking/unbonding-delegations-from.md b/pages/reference/seid/query/staking/unbonding-delegations-from.md similarity index 100% rename from pages/seid/query/staking/unbonding-delegations-from.md rename to pages/reference/seid/query/staking/unbonding-delegations-from.md diff --git a/pages/seid/query/staking/unbonding-delegations.md b/pages/reference/seid/query/staking/unbonding-delegations.md similarity index 100% rename from pages/seid/query/staking/unbonding-delegations.md rename to pages/reference/seid/query/staking/unbonding-delegations.md diff --git a/pages/seid/query/staking/validator.md b/pages/reference/seid/query/staking/validator.md similarity index 100% rename from pages/seid/query/staking/validator.md rename to pages/reference/seid/query/staking/validator.md diff --git a/pages/seid/query/staking/validators.md b/pages/reference/seid/query/staking/validators.md similarity index 100% rename from pages/seid/query/staking/validators.md rename to pages/reference/seid/query/staking/validators.md diff --git a/pages/seid/query/tendermint-validator-set.md b/pages/reference/seid/query/tendermint-validator-set.md similarity index 100% rename from pages/seid/query/tendermint-validator-set.md rename to pages/reference/seid/query/tendermint-validator-set.md diff --git a/pages/seid/query/tokenfactory.md b/pages/reference/seid/query/tokenfactory.md similarity index 100% rename from pages/seid/query/tokenfactory.md rename to pages/reference/seid/query/tokenfactory.md diff --git a/pages/seid/query/tokenfactory/_meta.json b/pages/reference/seid/query/tokenfactory/_meta.json similarity index 100% rename from pages/seid/query/tokenfactory/_meta.json rename to pages/reference/seid/query/tokenfactory/_meta.json diff --git a/pages/seid/query/tokenfactory/denom-authority-metadata.md b/pages/reference/seid/query/tokenfactory/denom-authority-metadata.md similarity index 100% rename from pages/seid/query/tokenfactory/denom-authority-metadata.md rename to pages/reference/seid/query/tokenfactory/denom-authority-metadata.md diff --git a/pages/seid/query/tokenfactory/denoms-from-creator.md b/pages/reference/seid/query/tokenfactory/denoms-from-creator.md similarity index 100% rename from pages/seid/query/tokenfactory/denoms-from-creator.md rename to pages/reference/seid/query/tokenfactory/denoms-from-creator.md diff --git a/pages/seid/query/tokenfactory/params.md b/pages/reference/seid/query/tokenfactory/params.md similarity index 100% rename from pages/seid/query/tokenfactory/params.md rename to pages/reference/seid/query/tokenfactory/params.md diff --git a/pages/seid/query/tx.md b/pages/reference/seid/query/tx.md similarity index 100% rename from pages/seid/query/tx.md rename to pages/reference/seid/query/tx.md diff --git a/pages/seid/query/txs.md b/pages/reference/seid/query/txs.md similarity index 100% rename from pages/seid/query/txs.md rename to pages/reference/seid/query/txs.md diff --git a/pages/seid/query/upgrade.md b/pages/reference/seid/query/upgrade.md similarity index 100% rename from pages/seid/query/upgrade.md rename to pages/reference/seid/query/upgrade.md diff --git a/pages/seid/query/upgrade/_meta.json b/pages/reference/seid/query/upgrade/_meta.json similarity index 100% rename from pages/seid/query/upgrade/_meta.json rename to pages/reference/seid/query/upgrade/_meta.json diff --git a/pages/seid/query/upgrade/applied.md b/pages/reference/seid/query/upgrade/applied.md similarity index 100% rename from pages/seid/query/upgrade/applied.md rename to pages/reference/seid/query/upgrade/applied.md diff --git a/pages/seid/query/upgrade/module_versions.md b/pages/reference/seid/query/upgrade/module_versions.md similarity index 100% rename from pages/seid/query/upgrade/module_versions.md rename to pages/reference/seid/query/upgrade/module_versions.md diff --git a/pages/seid/query/upgrade/plan.md b/pages/reference/seid/query/upgrade/plan.md similarity index 100% rename from pages/seid/query/upgrade/plan.md rename to pages/reference/seid/query/upgrade/plan.md diff --git a/pages/seid/query/wasm.md b/pages/reference/seid/query/wasm.md similarity index 100% rename from pages/seid/query/wasm.md rename to pages/reference/seid/query/wasm.md diff --git a/pages/seid/query/wasm/_meta.json b/pages/reference/seid/query/wasm/_meta.json similarity index 100% rename from pages/seid/query/wasm/_meta.json rename to pages/reference/seid/query/wasm/_meta.json diff --git a/pages/seid/query/wasm/code-info.md b/pages/reference/seid/query/wasm/code-info.md similarity index 100% rename from pages/seid/query/wasm/code-info.md rename to pages/reference/seid/query/wasm/code-info.md diff --git a/pages/seid/query/wasm/code.md b/pages/reference/seid/query/wasm/code.md similarity index 100% rename from pages/seid/query/wasm/code.md rename to pages/reference/seid/query/wasm/code.md diff --git a/pages/seid/query/wasm/contract-history.md b/pages/reference/seid/query/wasm/contract-history.md similarity index 100% rename from pages/seid/query/wasm/contract-history.md rename to pages/reference/seid/query/wasm/contract-history.md diff --git a/pages/seid/query/wasm/contract-state.md b/pages/reference/seid/query/wasm/contract-state.md similarity index 100% rename from pages/seid/query/wasm/contract-state.md rename to pages/reference/seid/query/wasm/contract-state.md diff --git a/pages/seid/query/wasm/contract-state/_meta.json b/pages/reference/seid/query/wasm/contract-state/_meta.json similarity index 100% rename from pages/seid/query/wasm/contract-state/_meta.json rename to pages/reference/seid/query/wasm/contract-state/_meta.json diff --git a/pages/seid/query/wasm/contract-state/all.md b/pages/reference/seid/query/wasm/contract-state/all.md similarity index 100% rename from pages/seid/query/wasm/contract-state/all.md rename to pages/reference/seid/query/wasm/contract-state/all.md diff --git a/pages/seid/query/wasm/contract-state/raw.md b/pages/reference/seid/query/wasm/contract-state/raw.md similarity index 100% rename from pages/seid/query/wasm/contract-state/raw.md rename to pages/reference/seid/query/wasm/contract-state/raw.md diff --git a/pages/seid/query/wasm/contract-state/smart.md b/pages/reference/seid/query/wasm/contract-state/smart.md similarity index 100% rename from pages/seid/query/wasm/contract-state/smart.md rename to pages/reference/seid/query/wasm/contract-state/smart.md diff --git a/pages/seid/query/wasm/contract.md b/pages/reference/seid/query/wasm/contract.md similarity index 100% rename from pages/seid/query/wasm/contract.md rename to pages/reference/seid/query/wasm/contract.md diff --git a/pages/seid/query/wasm/libwasmvm-version.md b/pages/reference/seid/query/wasm/libwasmvm-version.md similarity index 100% rename from pages/seid/query/wasm/libwasmvm-version.md rename to pages/reference/seid/query/wasm/libwasmvm-version.md diff --git a/pages/seid/query/wasm/list-code.md b/pages/reference/seid/query/wasm/list-code.md similarity index 100% rename from pages/seid/query/wasm/list-code.md rename to pages/reference/seid/query/wasm/list-code.md diff --git a/pages/seid/query/wasm/list-contract-by-code.md b/pages/reference/seid/query/wasm/list-contract-by-code.md similarity index 100% rename from pages/seid/query/wasm/list-contract-by-code.md rename to pages/reference/seid/query/wasm/list-contract-by-code.md diff --git a/pages/seid/query/wasm/pinned.md b/pages/reference/seid/query/wasm/pinned.md similarity index 100% rename from pages/seid/query/wasm/pinned.md rename to pages/reference/seid/query/wasm/pinned.md diff --git a/pages/seid/rollback.md b/pages/reference/seid/rollback.md similarity index 100% rename from pages/seid/rollback.md rename to pages/reference/seid/rollback.md diff --git a/pages/seid/start.md b/pages/reference/seid/start.md similarity index 100% rename from pages/seid/start.md rename to pages/reference/seid/start.md diff --git a/pages/seid/status.md b/pages/reference/seid/status.md similarity index 100% rename from pages/seid/status.md rename to pages/reference/seid/status.md diff --git a/pages/seid/tendermint.md b/pages/reference/seid/tendermint.md similarity index 100% rename from pages/seid/tendermint.md rename to pages/reference/seid/tendermint.md diff --git a/pages/seid/tendermint/_meta.json b/pages/reference/seid/tendermint/_meta.json similarity index 100% rename from pages/seid/tendermint/_meta.json rename to pages/reference/seid/tendermint/_meta.json diff --git a/pages/seid/tendermint/debug.md b/pages/reference/seid/tendermint/debug.md similarity index 100% rename from pages/seid/tendermint/debug.md rename to pages/reference/seid/tendermint/debug.md diff --git a/pages/seid/tendermint/debug/_meta.json b/pages/reference/seid/tendermint/debug/_meta.json similarity index 100% rename from pages/seid/tendermint/debug/_meta.json rename to pages/reference/seid/tendermint/debug/_meta.json diff --git a/pages/seid/tendermint/debug/dump.md b/pages/reference/seid/tendermint/debug/dump.md similarity index 100% rename from pages/seid/tendermint/debug/dump.md rename to pages/reference/seid/tendermint/debug/dump.md diff --git a/pages/seid/tendermint/debug/kill.md b/pages/reference/seid/tendermint/debug/kill.md similarity index 100% rename from pages/seid/tendermint/debug/kill.md rename to pages/reference/seid/tendermint/debug/kill.md diff --git a/pages/seid/tendermint/gen-node-key.md b/pages/reference/seid/tendermint/gen-node-key.md similarity index 100% rename from pages/seid/tendermint/gen-node-key.md rename to pages/reference/seid/tendermint/gen-node-key.md diff --git a/pages/seid/tendermint/gen-validator.md b/pages/reference/seid/tendermint/gen-validator.md similarity index 100% rename from pages/seid/tendermint/gen-validator.md rename to pages/reference/seid/tendermint/gen-validator.md diff --git a/pages/seid/tendermint/inspect.md b/pages/reference/seid/tendermint/inspect.md similarity index 100% rename from pages/seid/tendermint/inspect.md rename to pages/reference/seid/tendermint/inspect.md diff --git a/pages/seid/tendermint/key-migrate.md b/pages/reference/seid/tendermint/key-migrate.md similarity index 100% rename from pages/seid/tendermint/key-migrate.md rename to pages/reference/seid/tendermint/key-migrate.md diff --git a/pages/seid/tendermint/light.md b/pages/reference/seid/tendermint/light.md similarity index 100% rename from pages/seid/tendermint/light.md rename to pages/reference/seid/tendermint/light.md diff --git a/pages/seid/tendermint/reindex-event.md b/pages/reference/seid/tendermint/reindex-event.md similarity index 100% rename from pages/seid/tendermint/reindex-event.md rename to pages/reference/seid/tendermint/reindex-event.md diff --git a/pages/seid/tendermint/replay-console.md b/pages/reference/seid/tendermint/replay-console.md similarity index 100% rename from pages/seid/tendermint/replay-console.md rename to pages/reference/seid/tendermint/replay-console.md diff --git a/pages/seid/tendermint/replay.md b/pages/reference/seid/tendermint/replay.md similarity index 100% rename from pages/seid/tendermint/replay.md rename to pages/reference/seid/tendermint/replay.md diff --git a/pages/seid/tendermint/reset.md b/pages/reference/seid/tendermint/reset.md similarity index 100% rename from pages/seid/tendermint/reset.md rename to pages/reference/seid/tendermint/reset.md diff --git a/pages/seid/tendermint/reset/_meta.json b/pages/reference/seid/tendermint/reset/_meta.json similarity index 100% rename from pages/seid/tendermint/reset/_meta.json rename to pages/reference/seid/tendermint/reset/_meta.json diff --git a/pages/seid/tendermint/reset/blockchain.md b/pages/reference/seid/tendermint/reset/blockchain.md similarity index 100% rename from pages/seid/tendermint/reset/blockchain.md rename to pages/reference/seid/tendermint/reset/blockchain.md diff --git a/pages/seid/tendermint/reset/peers.md b/pages/reference/seid/tendermint/reset/peers.md similarity index 100% rename from pages/seid/tendermint/reset/peers.md rename to pages/reference/seid/tendermint/reset/peers.md diff --git a/pages/seid/tendermint/reset/unsafe-all.md b/pages/reference/seid/tendermint/reset/unsafe-all.md similarity index 100% rename from pages/seid/tendermint/reset/unsafe-all.md rename to pages/reference/seid/tendermint/reset/unsafe-all.md diff --git a/pages/seid/tendermint/reset/unsafe-signer.md b/pages/reference/seid/tendermint/reset/unsafe-signer.md similarity index 100% rename from pages/seid/tendermint/reset/unsafe-signer.md rename to pages/reference/seid/tendermint/reset/unsafe-signer.md diff --git a/pages/seid/tendermint/show-address.md b/pages/reference/seid/tendermint/show-address.md similarity index 100% rename from pages/seid/tendermint/show-address.md rename to pages/reference/seid/tendermint/show-address.md diff --git a/pages/seid/tendermint/show-node-id.md b/pages/reference/seid/tendermint/show-node-id.md similarity index 100% rename from pages/seid/tendermint/show-node-id.md rename to pages/reference/seid/tendermint/show-node-id.md diff --git a/pages/seid/tendermint/show-validator.md b/pages/reference/seid/tendermint/show-validator.md similarity index 100% rename from pages/seid/tendermint/show-validator.md rename to pages/reference/seid/tendermint/show-validator.md diff --git a/pages/seid/tendermint/snapshot.md b/pages/reference/seid/tendermint/snapshot.md similarity index 100% rename from pages/seid/tendermint/snapshot.md rename to pages/reference/seid/tendermint/snapshot.md diff --git a/pages/seid/tendermint/unsafe-reset-all.md b/pages/reference/seid/tendermint/unsafe-reset-all.md similarity index 100% rename from pages/seid/tendermint/unsafe-reset-all.md rename to pages/reference/seid/tendermint/unsafe-reset-all.md diff --git a/pages/seid/tendermint/version.md b/pages/reference/seid/tendermint/version.md similarity index 100% rename from pages/seid/tendermint/version.md rename to pages/reference/seid/tendermint/version.md diff --git a/pages/seid/tools.md b/pages/reference/seid/tools.md similarity index 100% rename from pages/seid/tools.md rename to pages/reference/seid/tools.md diff --git a/pages/seid/tools/_meta.json b/pages/reference/seid/tools/_meta.json similarity index 100% rename from pages/seid/tools/_meta.json rename to pages/reference/seid/tools/_meta.json diff --git a/pages/seid/tools/scan-tx.md b/pages/reference/seid/tools/scan-tx.md similarity index 100% rename from pages/seid/tools/scan-tx.md rename to pages/reference/seid/tools/scan-tx.md diff --git a/pages/seid/tx.md b/pages/reference/seid/tx.md similarity index 100% rename from pages/seid/tx.md rename to pages/reference/seid/tx.md diff --git a/pages/seid/tx/_meta.json b/pages/reference/seid/tx/_meta.json similarity index 100% rename from pages/seid/tx/_meta.json rename to pages/reference/seid/tx/_meta.json diff --git a/pages/seid/tx/accesscontrol.md b/pages/reference/seid/tx/accesscontrol.md similarity index 100% rename from pages/seid/tx/accesscontrol.md rename to pages/reference/seid/tx/accesscontrol.md diff --git a/pages/seid/tx/accesscontrol/_meta.json b/pages/reference/seid/tx/accesscontrol/_meta.json similarity index 100% rename from pages/seid/tx/accesscontrol/_meta.json rename to pages/reference/seid/tx/accesscontrol/_meta.json diff --git a/pages/seid/tx/accesscontrol/register-wasm-dependency-mapping.md b/pages/reference/seid/tx/accesscontrol/register-wasm-dependency-mapping.md similarity index 100% rename from pages/seid/tx/accesscontrol/register-wasm-dependency-mapping.md rename to pages/reference/seid/tx/accesscontrol/register-wasm-dependency-mapping.md diff --git a/pages/seid/tx/accesscontrol/update-resource-dependency-mapping.md b/pages/reference/seid/tx/accesscontrol/update-resource-dependency-mapping.md similarity index 100% rename from pages/seid/tx/accesscontrol/update-resource-dependency-mapping.md rename to pages/reference/seid/tx/accesscontrol/update-resource-dependency-mapping.md diff --git a/pages/seid/tx/authz.md b/pages/reference/seid/tx/authz.md similarity index 100% rename from pages/seid/tx/authz.md rename to pages/reference/seid/tx/authz.md diff --git a/pages/seid/tx/authz/_meta.json b/pages/reference/seid/tx/authz/_meta.json similarity index 100% rename from pages/seid/tx/authz/_meta.json rename to pages/reference/seid/tx/authz/_meta.json diff --git a/pages/seid/tx/authz/exec.md b/pages/reference/seid/tx/authz/exec.md similarity index 100% rename from pages/seid/tx/authz/exec.md rename to pages/reference/seid/tx/authz/exec.md diff --git a/pages/seid/tx/authz/grant.md b/pages/reference/seid/tx/authz/grant.md similarity index 100% rename from pages/seid/tx/authz/grant.md rename to pages/reference/seid/tx/authz/grant.md diff --git a/pages/seid/tx/authz/revoke.md b/pages/reference/seid/tx/authz/revoke.md similarity index 100% rename from pages/seid/tx/authz/revoke.md rename to pages/reference/seid/tx/authz/revoke.md diff --git a/pages/seid/tx/bank.md b/pages/reference/seid/tx/bank.md similarity index 100% rename from pages/seid/tx/bank.md rename to pages/reference/seid/tx/bank.md diff --git a/pages/seid/tx/bank/_meta.json b/pages/reference/seid/tx/bank/_meta.json similarity index 100% rename from pages/seid/tx/bank/_meta.json rename to pages/reference/seid/tx/bank/_meta.json diff --git a/pages/seid/tx/bank/send.md b/pages/reference/seid/tx/bank/send.md similarity index 100% rename from pages/seid/tx/bank/send.md rename to pages/reference/seid/tx/bank/send.md diff --git a/pages/seid/tx/broadcast.md b/pages/reference/seid/tx/broadcast.md similarity index 100% rename from pages/seid/tx/broadcast.md rename to pages/reference/seid/tx/broadcast.md diff --git a/pages/seid/tx/crisis.md b/pages/reference/seid/tx/crisis.md similarity index 100% rename from pages/seid/tx/crisis.md rename to pages/reference/seid/tx/crisis.md diff --git a/pages/seid/tx/crisis/_meta.json b/pages/reference/seid/tx/crisis/_meta.json similarity index 100% rename from pages/seid/tx/crisis/_meta.json rename to pages/reference/seid/tx/crisis/_meta.json diff --git a/pages/seid/tx/crisis/invariant-broken.md b/pages/reference/seid/tx/crisis/invariant-broken.md similarity index 100% rename from pages/seid/tx/crisis/invariant-broken.md rename to pages/reference/seid/tx/crisis/invariant-broken.md diff --git a/pages/seid/tx/decode.md b/pages/reference/seid/tx/decode.md similarity index 100% rename from pages/seid/tx/decode.md rename to pages/reference/seid/tx/decode.md diff --git a/pages/seid/tx/dex.md b/pages/reference/seid/tx/dex.md similarity index 100% rename from pages/seid/tx/dex.md rename to pages/reference/seid/tx/dex.md diff --git a/pages/seid/tx/dex/_meta.json b/pages/reference/seid/tx/dex/_meta.json similarity index 100% rename from pages/seid/tx/dex/_meta.json rename to pages/reference/seid/tx/dex/_meta.json diff --git a/pages/seid/tx/dex/add-asset-proposal.md b/pages/reference/seid/tx/dex/add-asset-proposal.md similarity index 100% rename from pages/seid/tx/dex/add-asset-proposal.md rename to pages/reference/seid/tx/dex/add-asset-proposal.md diff --git a/pages/seid/tx/dex/cancel-orders.md b/pages/reference/seid/tx/dex/cancel-orders.md similarity index 100% rename from pages/seid/tx/dex/cancel-orders.md rename to pages/reference/seid/tx/dex/cancel-orders.md diff --git a/pages/seid/tx/dex/contract-deposit-rent.md b/pages/reference/seid/tx/dex/contract-deposit-rent.md similarity index 100% rename from pages/seid/tx/dex/contract-deposit-rent.md rename to pages/reference/seid/tx/dex/contract-deposit-rent.md diff --git a/pages/seid/tx/dex/register-contract.md b/pages/reference/seid/tx/dex/register-contract.md similarity index 100% rename from pages/seid/tx/dex/register-contract.md rename to pages/reference/seid/tx/dex/register-contract.md diff --git a/pages/seid/tx/dex/register-pairs.md b/pages/reference/seid/tx/dex/register-pairs.md similarity index 100% rename from pages/seid/tx/dex/register-pairs.md rename to pages/reference/seid/tx/dex/register-pairs.md diff --git a/pages/seid/tx/dex/unregister-contract.md b/pages/reference/seid/tx/dex/unregister-contract.md similarity index 100% rename from pages/seid/tx/dex/unregister-contract.md rename to pages/reference/seid/tx/dex/unregister-contract.md diff --git a/pages/seid/tx/dex/unsuspend-contract.md b/pages/reference/seid/tx/dex/unsuspend-contract.md similarity index 100% rename from pages/seid/tx/dex/unsuspend-contract.md rename to pages/reference/seid/tx/dex/unsuspend-contract.md diff --git a/pages/seid/tx/dex/update-price-tick-size.md b/pages/reference/seid/tx/dex/update-price-tick-size.md similarity index 100% rename from pages/seid/tx/dex/update-price-tick-size.md rename to pages/reference/seid/tx/dex/update-price-tick-size.md diff --git a/pages/seid/tx/dex/update-quantity-tick-size.md b/pages/reference/seid/tx/dex/update-quantity-tick-size.md similarity index 100% rename from pages/seid/tx/dex/update-quantity-tick-size.md rename to pages/reference/seid/tx/dex/update-quantity-tick-size.md diff --git a/pages/seid/tx/distribution.md b/pages/reference/seid/tx/distribution.md similarity index 100% rename from pages/seid/tx/distribution.md rename to pages/reference/seid/tx/distribution.md diff --git a/pages/seid/tx/distribution/_meta.json b/pages/reference/seid/tx/distribution/_meta.json similarity index 100% rename from pages/seid/tx/distribution/_meta.json rename to pages/reference/seid/tx/distribution/_meta.json diff --git a/pages/seid/tx/distribution/fund-community-pool.md b/pages/reference/seid/tx/distribution/fund-community-pool.md similarity index 100% rename from pages/seid/tx/distribution/fund-community-pool.md rename to pages/reference/seid/tx/distribution/fund-community-pool.md diff --git a/pages/seid/tx/distribution/set-withdraw-addr.md b/pages/reference/seid/tx/distribution/set-withdraw-addr.md similarity index 100% rename from pages/seid/tx/distribution/set-withdraw-addr.md rename to pages/reference/seid/tx/distribution/set-withdraw-addr.md diff --git a/pages/seid/tx/distribution/withdraw-all-rewards.md b/pages/reference/seid/tx/distribution/withdraw-all-rewards.md similarity index 100% rename from pages/seid/tx/distribution/withdraw-all-rewards.md rename to pages/reference/seid/tx/distribution/withdraw-all-rewards.md diff --git a/pages/seid/tx/distribution/withdraw-rewards.md b/pages/reference/seid/tx/distribution/withdraw-rewards.md similarity index 100% rename from pages/seid/tx/distribution/withdraw-rewards.md rename to pages/reference/seid/tx/distribution/withdraw-rewards.md diff --git a/pages/seid/tx/encode.md b/pages/reference/seid/tx/encode.md similarity index 100% rename from pages/seid/tx/encode.md rename to pages/reference/seid/tx/encode.md diff --git a/pages/seid/tx/epoch.md b/pages/reference/seid/tx/epoch.md similarity index 100% rename from pages/seid/tx/epoch.md rename to pages/reference/seid/tx/epoch.md diff --git a/pages/seid/tx/evidence.md b/pages/reference/seid/tx/evidence.md similarity index 100% rename from pages/seid/tx/evidence.md rename to pages/reference/seid/tx/evidence.md diff --git a/pages/seid/tx/evm.md b/pages/reference/seid/tx/evm.md similarity index 100% rename from pages/seid/tx/evm.md rename to pages/reference/seid/tx/evm.md diff --git a/pages/seid/tx/evm/_meta.json b/pages/reference/seid/tx/evm/_meta.json similarity index 100% rename from pages/seid/tx/evm/_meta.json rename to pages/reference/seid/tx/evm/_meta.json diff --git a/pages/seid/tx/evm/add-erc-cw20-pointer.md b/pages/reference/seid/tx/evm/add-erc-cw20-pointer.md similarity index 100% rename from pages/seid/tx/evm/add-erc-cw20-pointer.md rename to pages/reference/seid/tx/evm/add-erc-cw20-pointer.md diff --git a/pages/seid/tx/evm/add-erc-cw721-pointer.md b/pages/reference/seid/tx/evm/add-erc-cw721-pointer.md similarity index 100% rename from pages/seid/tx/evm/add-erc-cw721-pointer.md rename to pages/reference/seid/tx/evm/add-erc-cw721-pointer.md diff --git a/pages/seid/tx/evm/add-erc-native-pointer.md b/pages/reference/seid/tx/evm/add-erc-native-pointer.md similarity index 100% rename from pages/seid/tx/evm/add-erc-native-pointer.md rename to pages/reference/seid/tx/evm/add-erc-native-pointer.md diff --git a/pages/seid/tx/evm/associate-address.md b/pages/reference/seid/tx/evm/associate-address.md similarity index 100% rename from pages/seid/tx/evm/associate-address.md rename to pages/reference/seid/tx/evm/associate-address.md diff --git a/pages/seid/tx/evm/associate-contract-address.md b/pages/reference/seid/tx/evm/associate-contract-address.md similarity index 100% rename from pages/seid/tx/evm/associate-contract-address.md rename to pages/reference/seid/tx/evm/associate-contract-address.md diff --git a/pages/seid/tx/evm/call-contract.md b/pages/reference/seid/tx/evm/call-contract.md similarity index 97% rename from pages/seid/tx/evm/call-contract.md rename to pages/reference/seid/tx/evm/call-contract.md index 6bc96cec..acbe6b93 100644 --- a/pages/seid/tx/evm/call-contract.md +++ b/pages/reference/seid/tx/evm/call-contract.md @@ -3,7 +3,7 @@ Call EVM contract with a bytes payload in hex Usage: - seid tx evm call-contract [addr] [payload hex] --value= --from= --gas-fee-cap= --gas-limit= --evm-rpc= [flags] + seid tx evm call-contract [addr] [payload hex] --value= --from= --gas-fee-cap= --gas-limt= --evm-rpc= [flags] Flags: -a, --account-number uint The account number of the signing account (offline mode only) diff --git a/pages/seid/tx/evm/call-precompile.md b/pages/reference/seid/tx/evm/call-precompile.md similarity index 98% rename from pages/seid/tx/evm/call-precompile.md rename to pages/reference/seid/tx/evm/call-precompile.md index 96bebee7..76923161 100644 --- a/pages/seid/tx/evm/call-precompile.md +++ b/pages/reference/seid/tx/evm/call-precompile.md @@ -3,7 +3,7 @@ call method on precompile Usage: - seid tx evm call-precompile [precompile name] [method] [args...] --value= --from= --gas-fee-cap= --gas-limit= --evm-rpc= [flags] + seid tx evm call-precompile [precompile name] [method] [args...] --value= --from= --gas-fee-cap= --gas-limt= --evm-rpc= [flags] Flags: -a, --account-number uint The account number of the signing account (offline mode only) diff --git a/pages/seid/tx/evm/deploy-wsei.md b/pages/reference/seid/tx/evm/deploy-wsei.md similarity index 98% rename from pages/seid/tx/evm/deploy-wsei.md rename to pages/reference/seid/tx/evm/deploy-wsei.md index 7f0d2cae..c6ffdce1 100644 --- a/pages/seid/tx/evm/deploy-wsei.md +++ b/pages/reference/seid/tx/evm/deploy-wsei.md @@ -3,7 +3,7 @@ Deploy ERC20 contract for a native Sei token Usage: - seid tx evm deploy-wsei --from= --gas-fee-cap= --gas-limit= --evm-rpc= [flags] + seid tx evm deploy-wsei --from= --gas-fee-cap= --gas-limt= --evm-rpc= [flags] Flags: -a, --account-number uint The account number of the signing account (offline mode only) diff --git a/pages/seid/tx/evm/deploy.md b/pages/reference/seid/tx/evm/deploy.md similarity index 100% rename from pages/seid/tx/evm/deploy.md rename to pages/reference/seid/tx/evm/deploy.md diff --git a/pages/seid/tx/evm/erc20-send.md b/pages/reference/seid/tx/evm/erc20-send.md similarity index 97% rename from pages/seid/tx/evm/erc20-send.md rename to pages/reference/seid/tx/evm/erc20-send.md index 0ecf5eb6..4fae9da7 100644 --- a/pages/seid/tx/evm/erc20-send.md +++ b/pages/reference/seid/tx/evm/erc20-send.md @@ -3,7 +3,7 @@ send recipient (in smallest unit) ERC20 tokens Usage: - seid tx evm erc20-send [addr] [recipient] [amount] --from= --gas-fee-cap= --gas-limit= --evm-rpc= [flags] + seid tx evm erc20-send [addr] [recipient] [amount] --from= --gas-fee-cap= --gas-limt= --evm-rpc= [flags] Flags: -a, --account-number uint The account number of the signing account (offline mode only) diff --git a/pages/seid/tx/evm/native-send.md b/pages/reference/seid/tx/evm/native-send.md similarity index 100% rename from pages/seid/tx/evm/native-send.md rename to pages/reference/seid/tx/evm/native-send.md diff --git a/pages/seid/tx/evm/register-cw-pointer.md b/pages/reference/seid/tx/evm/register-cw-pointer.md similarity index 100% rename from pages/seid/tx/evm/register-cw-pointer.md rename to pages/reference/seid/tx/evm/register-cw-pointer.md diff --git a/pages/seid/tx/evm/register-evm-pointer.md b/pages/reference/seid/tx/evm/register-evm-pointer.md similarity index 100% rename from pages/seid/tx/evm/register-evm-pointer.md rename to pages/reference/seid/tx/evm/register-evm-pointer.md diff --git a/pages/seid/tx/evm/send.md b/pages/reference/seid/tx/evm/send.md similarity index 100% rename from pages/seid/tx/evm/send.md rename to pages/reference/seid/tx/evm/send.md diff --git a/pages/seid/tx/feegrant.md b/pages/reference/seid/tx/feegrant.md similarity index 100% rename from pages/seid/tx/feegrant.md rename to pages/reference/seid/tx/feegrant.md diff --git a/pages/seid/tx/feegrant/_meta.json b/pages/reference/seid/tx/feegrant/_meta.json similarity index 100% rename from pages/seid/tx/feegrant/_meta.json rename to pages/reference/seid/tx/feegrant/_meta.json diff --git a/pages/seid/tx/feegrant/grant.md b/pages/reference/seid/tx/feegrant/grant.md similarity index 100% rename from pages/seid/tx/feegrant/grant.md rename to pages/reference/seid/tx/feegrant/grant.md diff --git a/pages/seid/tx/feegrant/revoke.md b/pages/reference/seid/tx/feegrant/revoke.md similarity index 100% rename from pages/seid/tx/feegrant/revoke.md rename to pages/reference/seid/tx/feegrant/revoke.md diff --git a/pages/seid/tx/gov.md b/pages/reference/seid/tx/gov.md similarity index 100% rename from pages/seid/tx/gov.md rename to pages/reference/seid/tx/gov.md diff --git a/pages/seid/tx/gov/_meta.json b/pages/reference/seid/tx/gov/_meta.json similarity index 100% rename from pages/seid/tx/gov/_meta.json rename to pages/reference/seid/tx/gov/_meta.json diff --git a/pages/seid/tx/gov/deposit.md b/pages/reference/seid/tx/gov/deposit.md similarity index 100% rename from pages/seid/tx/gov/deposit.md rename to pages/reference/seid/tx/gov/deposit.md diff --git a/pages/seid/tx/gov/submit-proposal.md b/pages/reference/seid/tx/gov/submit-proposal.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal.md rename to pages/reference/seid/tx/gov/submit-proposal.md diff --git a/pages/seid/tx/gov/submit-proposal/_meta.json b/pages/reference/seid/tx/gov/submit-proposal/_meta.json similarity index 100% rename from pages/seid/tx/gov/submit-proposal/_meta.json rename to pages/reference/seid/tx/gov/submit-proposal/_meta.json diff --git a/pages/seid/tx/gov/submit-proposal/cancel-software-upgrade.md b/pages/reference/seid/tx/gov/submit-proposal/cancel-software-upgrade.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/cancel-software-upgrade.md rename to pages/reference/seid/tx/gov/submit-proposal/cancel-software-upgrade.md diff --git a/pages/seid/tx/gov/submit-proposal/clear-contract-admin.md b/pages/reference/seid/tx/gov/submit-proposal/clear-contract-admin.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/clear-contract-admin.md rename to pages/reference/seid/tx/gov/submit-proposal/clear-contract-admin.md diff --git a/pages/seid/tx/gov/submit-proposal/community-pool-spend.md b/pages/reference/seid/tx/gov/submit-proposal/community-pool-spend.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/community-pool-spend.md rename to pages/reference/seid/tx/gov/submit-proposal/community-pool-spend.md diff --git a/pages/seid/tx/gov/submit-proposal/execute-contract.md b/pages/reference/seid/tx/gov/submit-proposal/execute-contract.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/execute-contract.md rename to pages/reference/seid/tx/gov/submit-proposal/execute-contract.md diff --git a/pages/seid/tx/gov/submit-proposal/ibc-upgrade.md b/pages/reference/seid/tx/gov/submit-proposal/ibc-upgrade.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/ibc-upgrade.md rename to pages/reference/seid/tx/gov/submit-proposal/ibc-upgrade.md diff --git a/pages/seid/tx/gov/submit-proposal/instantiate-contract.md b/pages/reference/seid/tx/gov/submit-proposal/instantiate-contract.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/instantiate-contract.md rename to pages/reference/seid/tx/gov/submit-proposal/instantiate-contract.md diff --git a/pages/seid/tx/gov/submit-proposal/migrate-contract.md b/pages/reference/seid/tx/gov/submit-proposal/migrate-contract.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/migrate-contract.md rename to pages/reference/seid/tx/gov/submit-proposal/migrate-contract.md diff --git a/pages/seid/tx/gov/submit-proposal/param-change.md b/pages/reference/seid/tx/gov/submit-proposal/param-change.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/param-change.md rename to pages/reference/seid/tx/gov/submit-proposal/param-change.md diff --git a/pages/seid/tx/gov/submit-proposal/pin-codes.md b/pages/reference/seid/tx/gov/submit-proposal/pin-codes.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/pin-codes.md rename to pages/reference/seid/tx/gov/submit-proposal/pin-codes.md diff --git a/pages/seid/tx/gov/submit-proposal/set-contract-admin.md b/pages/reference/seid/tx/gov/submit-proposal/set-contract-admin.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/set-contract-admin.md rename to pages/reference/seid/tx/gov/submit-proposal/set-contract-admin.md diff --git a/pages/seid/tx/gov/submit-proposal/software-upgrade.md b/pages/reference/seid/tx/gov/submit-proposal/software-upgrade.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/software-upgrade.md rename to pages/reference/seid/tx/gov/submit-proposal/software-upgrade.md diff --git a/pages/seid/tx/gov/submit-proposal/sudo-contract.md b/pages/reference/seid/tx/gov/submit-proposal/sudo-contract.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/sudo-contract.md rename to pages/reference/seid/tx/gov/submit-proposal/sudo-contract.md diff --git a/pages/seid/tx/gov/submit-proposal/unpin-codes.md b/pages/reference/seid/tx/gov/submit-proposal/unpin-codes.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/unpin-codes.md rename to pages/reference/seid/tx/gov/submit-proposal/unpin-codes.md diff --git a/pages/seid/tx/gov/submit-proposal/update-client.md b/pages/reference/seid/tx/gov/submit-proposal/update-client.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/update-client.md rename to pages/reference/seid/tx/gov/submit-proposal/update-client.md diff --git a/pages/seid/tx/gov/submit-proposal/update-instantiate-config.md b/pages/reference/seid/tx/gov/submit-proposal/update-instantiate-config.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/update-instantiate-config.md rename to pages/reference/seid/tx/gov/submit-proposal/update-instantiate-config.md diff --git a/pages/seid/tx/gov/submit-proposal/update-minter.md b/pages/reference/seid/tx/gov/submit-proposal/update-minter.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/update-minter.md rename to pages/reference/seid/tx/gov/submit-proposal/update-minter.md diff --git a/pages/seid/tx/gov/submit-proposal/update-resource-dependency-mapping.md b/pages/reference/seid/tx/gov/submit-proposal/update-resource-dependency-mapping.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/update-resource-dependency-mapping.md rename to pages/reference/seid/tx/gov/submit-proposal/update-resource-dependency-mapping.md diff --git a/pages/seid/tx/gov/submit-proposal/wasm-store.md b/pages/reference/seid/tx/gov/submit-proposal/wasm-store.md similarity index 100% rename from pages/seid/tx/gov/submit-proposal/wasm-store.md rename to pages/reference/seid/tx/gov/submit-proposal/wasm-store.md diff --git a/pages/seid/tx/gov/vote.md b/pages/reference/seid/tx/gov/vote.md similarity index 100% rename from pages/seid/tx/gov/vote.md rename to pages/reference/seid/tx/gov/vote.md diff --git a/pages/seid/tx/gov/weighted-vote.md b/pages/reference/seid/tx/gov/weighted-vote.md similarity index 100% rename from pages/seid/tx/gov/weighted-vote.md rename to pages/reference/seid/tx/gov/weighted-vote.md diff --git a/pages/seid/tx/ibc-transfer.md b/pages/reference/seid/tx/ibc-transfer.md similarity index 100% rename from pages/seid/tx/ibc-transfer.md rename to pages/reference/seid/tx/ibc-transfer.md diff --git a/pages/seid/tx/ibc-transfer/_meta.json b/pages/reference/seid/tx/ibc-transfer/_meta.json similarity index 100% rename from pages/seid/tx/ibc-transfer/_meta.json rename to pages/reference/seid/tx/ibc-transfer/_meta.json diff --git a/pages/seid/tx/ibc-transfer/transfer.md b/pages/reference/seid/tx/ibc-transfer/transfer.md similarity index 100% rename from pages/seid/tx/ibc-transfer/transfer.md rename to pages/reference/seid/tx/ibc-transfer/transfer.md diff --git a/pages/seid/tx/ibc.md b/pages/reference/seid/tx/ibc.md similarity index 100% rename from pages/seid/tx/ibc.md rename to pages/reference/seid/tx/ibc.md diff --git a/pages/seid/tx/ibc/_meta.json b/pages/reference/seid/tx/ibc/_meta.json similarity index 100% rename from pages/seid/tx/ibc/_meta.json rename to pages/reference/seid/tx/ibc/_meta.json diff --git a/pages/seid/tx/ibc/channel.md b/pages/reference/seid/tx/ibc/channel.md similarity index 100% rename from pages/seid/tx/ibc/channel.md rename to pages/reference/seid/tx/ibc/channel.md diff --git a/pages/seid/tx/ibc/client.md b/pages/reference/seid/tx/ibc/client.md similarity index 100% rename from pages/seid/tx/ibc/client.md rename to pages/reference/seid/tx/ibc/client.md diff --git a/pages/seid/tx/ibc/client/_meta.json b/pages/reference/seid/tx/ibc/client/_meta.json similarity index 100% rename from pages/seid/tx/ibc/client/_meta.json rename to pages/reference/seid/tx/ibc/client/_meta.json diff --git a/pages/seid/tx/ibc/client/create.md b/pages/reference/seid/tx/ibc/client/create.md similarity index 100% rename from pages/seid/tx/ibc/client/create.md rename to pages/reference/seid/tx/ibc/client/create.md diff --git a/pages/seid/tx/ibc/client/misbehaviour.md b/pages/reference/seid/tx/ibc/client/misbehaviour.md similarity index 100% rename from pages/seid/tx/ibc/client/misbehaviour.md rename to pages/reference/seid/tx/ibc/client/misbehaviour.md diff --git a/pages/seid/tx/ibc/client/update.md b/pages/reference/seid/tx/ibc/client/update.md similarity index 100% rename from pages/seid/tx/ibc/client/update.md rename to pages/reference/seid/tx/ibc/client/update.md diff --git a/pages/seid/tx/ibc/client/upgrade.md b/pages/reference/seid/tx/ibc/client/upgrade.md similarity index 100% rename from pages/seid/tx/ibc/client/upgrade.md rename to pages/reference/seid/tx/ibc/client/upgrade.md diff --git a/pages/seid/tx/multisign.md b/pages/reference/seid/tx/multisign.md similarity index 100% rename from pages/seid/tx/multisign.md rename to pages/reference/seid/tx/multisign.md diff --git a/pages/seid/tx/oracle.md b/pages/reference/seid/tx/oracle.md similarity index 100% rename from pages/seid/tx/oracle.md rename to pages/reference/seid/tx/oracle.md diff --git a/pages/seid/tx/oracle/_meta.json b/pages/reference/seid/tx/oracle/_meta.json similarity index 100% rename from pages/seid/tx/oracle/_meta.json rename to pages/reference/seid/tx/oracle/_meta.json diff --git a/pages/seid/tx/oracle/aggregate-vote.md b/pages/reference/seid/tx/oracle/aggregate-vote.md similarity index 100% rename from pages/seid/tx/oracle/aggregate-vote.md rename to pages/reference/seid/tx/oracle/aggregate-vote.md diff --git a/pages/seid/tx/oracle/set-feeder.md b/pages/reference/seid/tx/oracle/set-feeder.md similarity index 100% rename from pages/seid/tx/oracle/set-feeder.md rename to pages/reference/seid/tx/oracle/set-feeder.md diff --git a/pages/seid/tx/sign-batch.md b/pages/reference/seid/tx/sign-batch.md similarity index 100% rename from pages/seid/tx/sign-batch.md rename to pages/reference/seid/tx/sign-batch.md diff --git a/pages/seid/tx/sign.md b/pages/reference/seid/tx/sign.md similarity index 98% rename from pages/seid/tx/sign.md rename to pages/reference/seid/tx/sign.md index edd2beec..06c2cf28 100644 --- a/pages/seid/tx/sign.md +++ b/pages/reference/seid/tx/sign.md @@ -19,7 +19,7 @@ Usage: Flags: -a, --account-number uint The account number of the signing account (offline mode only) - --amino Generate Amino encoded JSON suitable for submitting to the txs REST endpoint + --amino Generate Amino encoded JSON suitable for submiting to the txs REST endpoint -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "sync") --chain-id string The network chain ID --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) diff --git a/pages/seid/tx/slashing.md b/pages/reference/seid/tx/slashing.md similarity index 100% rename from pages/seid/tx/slashing.md rename to pages/reference/seid/tx/slashing.md diff --git a/pages/seid/tx/slashing/_meta.json b/pages/reference/seid/tx/slashing/_meta.json similarity index 100% rename from pages/seid/tx/slashing/_meta.json rename to pages/reference/seid/tx/slashing/_meta.json diff --git a/pages/seid/tx/slashing/unjail.md b/pages/reference/seid/tx/slashing/unjail.md similarity index 100% rename from pages/seid/tx/slashing/unjail.md rename to pages/reference/seid/tx/slashing/unjail.md diff --git a/pages/seid/tx/staking.md b/pages/reference/seid/tx/staking.md similarity index 100% rename from pages/seid/tx/staking.md rename to pages/reference/seid/tx/staking.md diff --git a/pages/seid/tx/staking/_meta.json b/pages/reference/seid/tx/staking/_meta.json similarity index 100% rename from pages/seid/tx/staking/_meta.json rename to pages/reference/seid/tx/staking/_meta.json diff --git a/pages/seid/tx/staking/create-validator.md b/pages/reference/seid/tx/staking/create-validator.md similarity index 100% rename from pages/seid/tx/staking/create-validator.md rename to pages/reference/seid/tx/staking/create-validator.md diff --git a/pages/seid/tx/staking/delegate.md b/pages/reference/seid/tx/staking/delegate.md similarity index 100% rename from pages/seid/tx/staking/delegate.md rename to pages/reference/seid/tx/staking/delegate.md diff --git a/pages/seid/tx/staking/edit-validator.md b/pages/reference/seid/tx/staking/edit-validator.md similarity index 100% rename from pages/seid/tx/staking/edit-validator.md rename to pages/reference/seid/tx/staking/edit-validator.md diff --git a/pages/seid/tx/staking/redelegate.md b/pages/reference/seid/tx/staking/redelegate.md similarity index 100% rename from pages/seid/tx/staking/redelegate.md rename to pages/reference/seid/tx/staking/redelegate.md diff --git a/pages/seid/tx/staking/unbond.md b/pages/reference/seid/tx/staking/unbond.md similarity index 100% rename from pages/seid/tx/staking/unbond.md rename to pages/reference/seid/tx/staking/unbond.md diff --git a/pages/seid/tx/tokenfactory.md b/pages/reference/seid/tx/tokenfactory.md similarity index 100% rename from pages/seid/tx/tokenfactory.md rename to pages/reference/seid/tx/tokenfactory.md diff --git a/pages/seid/tx/tokenfactory/_meta.json b/pages/reference/seid/tx/tokenfactory/_meta.json similarity index 100% rename from pages/seid/tx/tokenfactory/_meta.json rename to pages/reference/seid/tx/tokenfactory/_meta.json diff --git a/pages/seid/tx/tokenfactory/burn.md b/pages/reference/seid/tx/tokenfactory/burn.md similarity index 100% rename from pages/seid/tx/tokenfactory/burn.md rename to pages/reference/seid/tx/tokenfactory/burn.md diff --git a/pages/seid/tx/tokenfactory/change-admin.md b/pages/reference/seid/tx/tokenfactory/change-admin.md similarity index 100% rename from pages/seid/tx/tokenfactory/change-admin.md rename to pages/reference/seid/tx/tokenfactory/change-admin.md diff --git a/pages/seid/tx/tokenfactory/create-denom.md b/pages/reference/seid/tx/tokenfactory/create-denom.md similarity index 100% rename from pages/seid/tx/tokenfactory/create-denom.md rename to pages/reference/seid/tx/tokenfactory/create-denom.md diff --git a/pages/seid/tx/tokenfactory/mint.md b/pages/reference/seid/tx/tokenfactory/mint.md similarity index 100% rename from pages/seid/tx/tokenfactory/mint.md rename to pages/reference/seid/tx/tokenfactory/mint.md diff --git a/pages/seid/tx/tokenfactory/set-denom-metadata.md b/pages/reference/seid/tx/tokenfactory/set-denom-metadata.md similarity index 100% rename from pages/seid/tx/tokenfactory/set-denom-metadata.md rename to pages/reference/seid/tx/tokenfactory/set-denom-metadata.md diff --git a/pages/seid/tx/validate-signatures.md b/pages/reference/seid/tx/validate-signatures.md similarity index 100% rename from pages/seid/tx/validate-signatures.md rename to pages/reference/seid/tx/validate-signatures.md diff --git a/pages/seid/tx/vesting.md b/pages/reference/seid/tx/vesting.md similarity index 100% rename from pages/seid/tx/vesting.md rename to pages/reference/seid/tx/vesting.md diff --git a/pages/seid/tx/vesting/_meta.json b/pages/reference/seid/tx/vesting/_meta.json similarity index 100% rename from pages/seid/tx/vesting/_meta.json rename to pages/reference/seid/tx/vesting/_meta.json diff --git a/pages/seid/tx/vesting/create-vesting-account.md b/pages/reference/seid/tx/vesting/create-vesting-account.md similarity index 97% rename from pages/seid/tx/vesting/create-vesting-account.md rename to pages/reference/seid/tx/vesting/create-vesting-account.md index 1bb0fceb..96d7ded0 100644 --- a/pages/seid/tx/vesting/create-vesting-account.md +++ b/pages/reference/seid/tx/vesting/create-vesting-account.md @@ -2,7 +2,7 @@ ```ansi Create a new vesting account funded with an allocation of tokens. The account can either be a delayed or continuous vesting account, which is determined -by the '--delayed' flag. All vesting accounts created will have their start time +by the '--delayed' flag. All vesting accouts created will have their start time set by the committed block's time. The end_time must be provided as a UNIX epoch timestamp. You can also optionally configure the 'admin' field using the flag '--admin {addr}. This admin will be able to perform some administrative actions on the vesting account if set. diff --git a/pages/seid/tx/wasm.md b/pages/reference/seid/tx/wasm.md similarity index 100% rename from pages/seid/tx/wasm.md rename to pages/reference/seid/tx/wasm.md diff --git a/pages/seid/tx/wasm/_meta.json b/pages/reference/seid/tx/wasm/_meta.json similarity index 100% rename from pages/seid/tx/wasm/_meta.json rename to pages/reference/seid/tx/wasm/_meta.json diff --git a/pages/seid/tx/wasm/clear-contract-admin.md b/pages/reference/seid/tx/wasm/clear-contract-admin.md similarity index 100% rename from pages/seid/tx/wasm/clear-contract-admin.md rename to pages/reference/seid/tx/wasm/clear-contract-admin.md diff --git a/pages/seid/tx/wasm/execute.md b/pages/reference/seid/tx/wasm/execute.md similarity index 100% rename from pages/seid/tx/wasm/execute.md rename to pages/reference/seid/tx/wasm/execute.md diff --git a/pages/seid/tx/wasm/instantiate.md b/pages/reference/seid/tx/wasm/instantiate.md similarity index 100% rename from pages/seid/tx/wasm/instantiate.md rename to pages/reference/seid/tx/wasm/instantiate.md diff --git a/pages/seid/tx/wasm/migrate.md b/pages/reference/seid/tx/wasm/migrate.md similarity index 100% rename from pages/seid/tx/wasm/migrate.md rename to pages/reference/seid/tx/wasm/migrate.md diff --git a/pages/seid/tx/wasm/set-contract-admin.md b/pages/reference/seid/tx/wasm/set-contract-admin.md similarity index 100% rename from pages/seid/tx/wasm/set-contract-admin.md rename to pages/reference/seid/tx/wasm/set-contract-admin.md diff --git a/pages/seid/tx/wasm/store.md b/pages/reference/seid/tx/wasm/store.md similarity index 100% rename from pages/seid/tx/wasm/store.md rename to pages/reference/seid/tx/wasm/store.md diff --git a/pages/seid/validate-genesis.md b/pages/reference/seid/validate-genesis.md similarity index 100% rename from pages/seid/validate-genesis.md rename to pages/reference/seid/validate-genesis.md diff --git a/pages/seid/version.md b/pages/reference/seid/version.md similarity index 100% rename from pages/seid/version.md rename to pages/reference/seid/version.md diff --git a/pages/user-guides/_meta.json b/pages/user-guides/_meta.json deleted file mode 100644 index a985ccba..00000000 --- a/pages/user-guides/_meta.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "wallet-setup": "Setting up a Wallet", - "linking-addresses": "Linking Address Types", - "getting-tokens": "Getting SEI Tokens", - "block-explorers": "Account/Transaction Info", - "bridging": "Bridging to Sei", - "wrapped-sei": "Wrapped Sei" - -} diff --git a/pages/user-quickstart.mdx b/pages/user-quickstart.mdx deleted file mode 100644 index 59696f52..00000000 --- a/pages/user-quickstart.mdx +++ /dev/null @@ -1,135 +0,0 @@ ---- -title: 'Getting Started with Sei' ---- - -import { Callout } from 'nextra/components'; -import { ImageWithCaption } from "../components"; -import addressTranslationImage from "../public/assets/address-derivation.png"; -import linkAddressesImage from "../public/assets/link-addresses.png"; -import linkSuccessImage from "../public/assets/link-success.png"; -import signMessageImage from "../public/assets/sign-message.png"; -import cexWithdrawImage from "../public/assets/cex-withdraw.png"; -import sourceChainDropdownImage from "../public/assets/source-chain.png"; -import selectAssetImage from "../public/assets/select-asset.png"; - -# Getting Started with Sei - -Welcome to the newly upgraded Sei V2 blockchain. - -This basic guide is intended for new users to start using Sei, even if you are completely new to the blockchain space. - -By the end of this guide, you will be ready to dive into the exciting world of applications and activities on Sei. - -## Requirements -- A compatible non-custodial wallet, such as [MetaMask](https://metamask.io/), or [Compass](https://compasswallet.io/). -- Sei tokens [from an exchange](/user-guides/getting-tokens), or stablecoins in your personal wallet. - -For help with wallet apps, see our [Setting up a Wallet](/user-guides/wallet-setup) guide. - -## Connecting Your Wallet to the Sei Network - -When you connect your wallet to an application on Sei, you should automatically be prompted to join the correct network in your wallet interface. - - - - You can try out connecting to the Sei blockchain network by clicking the "Connect Wallet" button on the Sei App at https://app.sei.io - - -If your wallet does not prompt you to join the Sei Network, you can find network details [here](/user-guides/wallet-setup) to manually add Sei network. - -Please follow the instructions shared by your chosen wallet provider to add a new network manually. - -## Dual Address/Wallet Support - -Sei V2 introduces a significant upgrade: "Ethereum Virtual Machine (EVM)" support. This means you can interact with the Sei network using two types of wallet addresses: - -- **EVM / 0x address:** Addresses used by the Ethereum Virtual Machine (EVM), these are prefixed with with "0x". -- **Sei address:** Canonical to the Sei blockchain, these are prefixed with "sei1". - -Both address types are supported, and you can easily find the corresponding wallet address to your existing sei or 0x wallet address on the Sei app. -Importantly, both addresses are derived from the same public key, ensuring a seamless integration of your assets across both address formats. - -For a deeper dive into interoperability, check out our detailed article [here](https://blog.sei.io/sei-v2-interoperability/). - -## Linking Wallet Addresses - -In order to start using apps on Sei that leverage v2 interoperability, users must link their wallet addresses. Each Sei address in Sei V2 has a corresponding EVM / 0x address, and vice versa. When you use Sei V2 for the first time, it is necessary to link these two addresses. - - - **Important Note:** You cannot decide which Sei and 0x addresses are linked together. Each Sei account has exactly one specific Sei address, and one specific EVM / 0x address, associated with it. They are like 2 sides of the same coin, and cannot be combined with other addresses. - - -You can link your Sei and EVM / 0x addresses using the Sei app. - -1. Navigate to https://app.sei.io/ using your web browser. -2. On the Dashboard, look for the "Addresses" box. -3. Complete captcha, if required. -3. Click the "Link Addresses" button. - -This will prompt you to sign a message with your wallet - it's not a transaction, and will not charge you any gas fees. - -4. Once you have signed that message, your accounts will be linked! - - -More information and a step by step guide is available in the [Linking Addresses](/user-guides/linking-addresses) user guide. - -Congratulations, you have now linked your Sei and EVM/0x addresses. - - - It is recommended that every Sei user goes through this process; many apps on Sei utilize cross VM functionality and will only work if you have completed this user flow. - - -## Onboarding from Centralized Exchanges - -If you’re coming to Sei from a centralized exchange, the transition to using both Sei and 0x wallet addresses on the Sei blockchain is straightforward. Over time, these exchanges will upgrade their systems to support both types of addresses. - -### Withdrawing to a Sei Address - -Users can simply copy their address starting with “sei…” and paste into the withdrawal page on their chosen CEX. - - - -No memo is required to withdraw from a CEX, however it is likely you will need to provide a memo when depositing Sei back onto a CEX. Refer to your chosen CEX’s guidelines to ensure your assets are transferred safely. - -### Withdrawing to an EVM/0x Address - -While CEXes integrate with Sei V2, users will have to perform the following steps in order to get started on Sei with a Metamask or other EVM wallet. - -If you currently have an 0x address and wish to onboard to Sei from a CEX, you will need to find your corresponding Sei address first - you can do this by linking your addresses using the steps in the [Linking Addresses User Guide.](/user-guides/linking-addresses) - -If you are not sure if your addresses are linked, visit the Dashboard page on the [Sei App](https://app.sei.io). You will be able to see both of your addresses if already linked, otherwise you will be prompted to sign and link your 0x and Sei addresses. - -## Bridging to Sei Blockchain - -To move assets onto the Sei Blockchain from another network, a variety of bridges are recommended via the Sei app. Here’s how it works: - -1. Visit https://app.sei.io -2. Select the Source Chain - indicate the blockchain where your asset currently resides. - -3. Choose Your Asset: Decide which asset you wish to bridge to the Sei blockchain. A smaller subsection of more liquid assets are included here, such as stablecoins. Always verify that the token you are bridging is correct.   - - NB: Assets pictured are for illustrative purposes only and may not be supported at present. Check the Sei app to see what options are available to you. - - -4. Bridging Recommendation: Based on your asset and its origin chain, the Sei app will suggest a third-party bridge site. - -To begin with, we recommend using [Squid](https://www.squidrouter.com/) to bridge your assets. As more bridges come online, they will be added to the bridge tab on the Sei App. - - - While bridge providers will always endeavour to eliminate bridge risks, when it comes to bridging users should always do their own research. - - -### Gas on Arrival Features - -Some recommended bridges, will offer "gas on arrival" features. This can be particularly helpful by providing you with a small amount of Sei tokens to cover your initial transaction fees. - -## Viewing Assets in your Wallet - -As a source of truth, users should navigate to a v2 block explorer such as [seitrace.com](https://www.seitrace.com). - -This new explorer supports both EVM and Native Sei. - -Simply search for your wallet address to view the assets you're currently holding in that address. You can import tokens to Metamask using the contract addresses you find here, find out more at this link: https://support.metamask.io/managing-my-tokens/custom-tokens/how-to-display-tokens-in-metamask/ - -## Conclusion -By following this guide, you should now be equipped to navigate the Sei Blockchain v2 with ease. Whether you're onboarding via a bridge or an exchange, the Sei Blockchain offers a flexible and user-friendly platform for managing your digital assets. diff --git a/public/assets/header.png b/public/assets/header.png new file mode 100644 index 00000000..f5daace4 Binary files /dev/null and b/public/assets/header.png differ diff --git a/public/assets/sei-icon.png b/public/assets/sei-icon.png new file mode 100644 index 00000000..4004a2d4 Binary files /dev/null and b/public/assets/sei-icon.png differ diff --git a/styles/LinkCard.module.css b/styles/LinkCard.module.css new file mode 100644 index 00000000..eb684b50 --- /dev/null +++ b/styles/LinkCard.module.css @@ -0,0 +1,199 @@ +.cardContainer { + position: relative; + height: 100%; +} + +.cardLink { + display: block; + height: 100%; + overflow: hidden; + border-radius: 0.75rem; + background-color: #f9d2d2; + color: #000; + transition: all 0.3s ease; +} + +.cardLink:hover { + background-color: #e5a8a8; +} + +/* Dark mode background/text */ +:global(.dark) .cardLink { + background-color: #8b1f1f; + color: #fff; +} + +:global(.dark) .cardLink:hover { + background-color: #9b2f2f; +} + +.cardContent { + position: relative; + height: 100%; + padding: 1.25rem; +} + +.icon { + color: rgba(0, 0, 0, 0.9); +} + +:global(.dark) .icon { + color: rgba(255, 255, 255, 0.9); +} + +.title { + margin-top: 1rem; + margin-bottom: 0; + font-size: 1.25rem; + font-weight: 600; + color: #000; +} + +:global(.dark) .title { + color: #fff; +} + +.description { + margin-top: 0.5rem; + font-size: 0.9375rem; + line-height: 1.5; + color: rgba(0, 0, 0, 0.8); +} + +:global(.dark) .description { + color: rgba(255, 255, 255, 0.8); +} + +.overviewButton { + display: flex; + align-items: center; + gap: 0.25rem; + border-radius: 9999px; + font-size: 0.75rem; + background-color: rgba(0, 0, 0, 0.05); + color: rgba(0, 0, 0, 0.6); + padding: 0.25rem 0.625rem; + transition: all 0.2s; +} + +.overviewButton:hover { + background-color: rgba(0, 0, 0, 0.1); + color: rgba(0, 0, 0, 0.9); +} + +:global(.dark) .overviewButton { + background-color: rgba(255, 255, 255, 0.05); + color: rgba(255, 255, 255, 0.6); +} + +:global(.dark) .overviewButton:hover { + background-color: rgba(255, 255, 255, 0.1); + color: rgba(255, 255, 255, 0.9); +} + +.previewOverlay { + position: absolute; + inset: 0; + border-radius: 0.75rem; + background-color: #f1f1f1; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); + display: flex; + flex-direction: column; +} + +:global(.dark) .previewOverlay { + background-color: #1a1a1a; +} + +.closeButtonContainer { + display: flex; + align-items: center; + justify-content: flex-end; + padding: 1rem; +} + +.closeButton { + display: flex; + align-items: center; + gap: 0.375rem; + border-radius: 9999px; + font-size: 0.75rem; + background-color: rgba(0, 0, 0, 0.05); + color: rgba(0, 0, 0, 0.6); + padding: 0.25rem 0.625rem; + transition: all 0.2s; +} + +.closeButton:hover { + background-color: rgba(0, 0, 0, 0.1); + color: rgba(0, 0, 0, 0.9); +} + +:global(.dark) .closeButton { + background-color: rgba(255, 255, 255, 0.05); + color: rgba(255, 255, 255, 0.6); +} + +:global(.dark) .closeButton:hover { + background-color: rgba(255, 255, 255, 0.1); + color: rgba(255, 255, 255, 0.9); +} + +.previewContent { + flex: 1; + overflow-y: auto; + padding: 0 1.25rem 1.25rem; +} + +.overlayText { + font-size: 0.9375rem; + line-height: 1.5; + color: rgba(0, 0, 0, 0.8); +} + +:global(.dark) .overlayText { + color: rgba(255, 255, 255, 0.8); +} + +.highlightItem { + display: flex; + gap: 0.75rem; + align-items: flex-start; + font-size: 0.875rem; + line-height: 1.5; + color: rgba(0, 0, 0, 0.7); +} + +:global(.dark) .highlightItem { + color: rgba(255, 255, 255, 0.7); +} + +.highlightBullet { + margin-top: 0.5rem; + height: 4px; + width: 4px; + border-radius: 9999px; + background-color: #f9d2d2; +} + +:global(.dark) .highlightBullet { + background-color: #8b1f1f; +} + +.customScrollbar { + scrollbar-width: thin; + scrollbar-color: rgba(255, 255, 255, 0.1) transparent; +} + +.customScrollbar::-webkit-scrollbar { + width: 2px; +} + +.customScrollbar::-webkit-scrollbar-track { + background: transparent; +} + +.customScrollbar::-webkit-scrollbar-thumb { + background-color: rgba(255, 255, 255, 0.1); + border-radius: 1px; +} diff --git a/styles/SeiIntro.module.css b/styles/SeiIntro.module.css new file mode 100644 index 00000000..7acf333d --- /dev/null +++ b/styles/SeiIntro.module.css @@ -0,0 +1,71 @@ +/* Light mode by default */ +.hero { + min-height: 25vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + text-align: center; + padding: 2rem 1rem 3rem; + color: #000; /* black text in light mode */ + border-bottom: 1px solid rgba(0, 0, 0, 0.1); + margin-bottom: 2rem; +} + +:global(.dark) .hero { + color: #fff; + border-bottom-color: rgba(255, 255, 255, 0.1); +} + +.title { + margin-bottom: 0.5rem; + font-weight: 600; + font-size: clamp(1.7rem, 3vw, 2.5rem); + line-height: 1.2; + color: #000; +} + +:global(.dark) .title { + color: #fff; +} + +.subtitle { + margin-bottom: 1.5rem; + font-size: 1rem; + color: rgba(0, 0, 0, 0.7); +} + +:global(.dark) .subtitle { + color: rgba(236, 237, 238, 0.9); +} + +.ctaWrapper { + display: flex; + gap: 2rem; + justify-content: center; + align-items: center; + margin-top: 1rem; +} + +.outlineButton { + font-family: Satoshi, sans-serif; + font-weight: 500; + display: flex; + align-items: center; + gap: 0.4rem; + border-color: #000; + color: #000; +} + +.outlineButton:hover { + background-color: rgba(0, 0, 0, 0.12); +} + +:global(.dark) .outlineButton { + border-color: #ecedee; + color: #ecedee; +} + +:global(.dark) .outlineButton:hover { + background-color: rgba(236, 237, 238, 0.12); +} diff --git a/styles/SeiTraceSearch.module.css b/styles/SeiTraceSearch.module.css new file mode 100644 index 00000000..882fee25 --- /dev/null +++ b/styles/SeiTraceSearch.module.css @@ -0,0 +1,61 @@ +.form { + margin-top: 1rem; + } + + .label { + color: #ddd; + font-size: 1rem; + } + + .inputContainer { + display: flex; + margin-top: 0.5rem; + } + + .input { + flex: 1; + padding: 0.75rem 1rem; + font-size: 1rem; + border: none; + border-radius: 25px 0 0 25px; + background-color: #1a1a1a; + color: #fff; + outline: none; + transition: background-color 0.3s; + } + + .input::placeholder { + color: #666; + } + + .input.error { + background-color: #2a1a1a; + box-shadow: inset 0 0 0 2px #e74c3c; + } + + .input:not(.error) { + box-shadow: inset 0 0 0 2px #333; + } + + .button { + padding: 0 1.5rem; + font-size: 1rem; + border: none; + border-radius: 0 25px 25px 0; + background-color: #1a1a1a; + color: #fff; + cursor: pointer; + transition: background-color 0.3s; + box-shadow: inset 0 0 0 2px #333; + } + + .button:hover { + background-color: #333; + } + + .errorMessage { + color: #e74c3c; + margin-top: 0.5rem; + font-size: 0.9rem; + } + \ No newline at end of file diff --git a/theme.config.tsx b/theme.config.tsx index 3b13efd5..2ff8451d 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -1,23 +1,27 @@ import React from 'react'; -import { DocsThemeConfig } from 'nextra-theme-docs'; +import type { DocsThemeConfig } from 'nextra-theme-docs'; import { Logo } from './components/Logo'; +import { Footer } from './components/Footer/Footer'; const config: DocsThemeConfig = { logo: , - project: { - link: 'https://github.com/sei-protocol' + navigation: true, + primaryHue: { dark: 0, light: 0 }, + search: { placeholder: 'Search documentation...' }, + project: { link: 'https://github.com/sei-protocol' }, + chat: { link: 'https://discord.gg/sei' }, + navbar: { extraContent: null }, + feedback: { + content: 'Question? Give us feedback →', + useLink: () => 'https://github.com/sei-protocol/sei-docs/issues/new' }, - chat: { - link: 'https://discord.gg/sei' - }, - docsRepositoryBase: 'https://github.com/sei-protocol/sei-docs/tree/main', + editLink: { text: 'Edit this page' }, + sidebar: { defaultMenuCollapseLevel: 1, toggleButton: true }, + darkMode: true, footer: { - text: 'Sei Docs © 2024' - }, - head: <>, - sidebar: { - defaultMenuCollapseLevel: 1 + component: