From 45f096ddc29d8dba0ee42de2c6a80f58d6a3218a Mon Sep 17 00:00:00 2001 From: Nidz The Fact <106298826+nidz-the-fact@users.noreply.github.com> Date: Mon, 27 May 2024 22:49:44 +0700 Subject: [PATCH 01/13] Update wallet-setup.mdx fix: explorer Block Explorer URL**: Should be https://seitrace.com --- pages/user-guides/wallet-setup.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/user-guides/wallet-setup.mdx b/pages/user-guides/wallet-setup.mdx index d4efbf9b..06cf6d96 100644 --- a/pages/user-guides/wallet-setup.mdx +++ b/pages/user-guides/wallet-setup.mdx @@ -35,7 +35,7 @@ If you encounter any issues with the automatic connection, you can also add the - **New RPC URL**: https://evm-rpc.sei-apis.com - **Chain ID**: 0x531 (decimal 1329) - **Currency Symbol**: SEI -- **Block Explorer URL**: https://seitrace.io +- **Block Explorer URL**: https://seitrace.com ## Advanced From 01534c37a083e69f74b3e72fea36154bcf70ab6b Mon Sep 17 00:00:00 2001 From: cordt-sei <165932662+cordt-sei@users.noreply.github.com> Date: Mon, 27 May 2024 09:49:51 -0600 Subject: [PATCH 02/13] Updates Compass setup guide link --- pages/user-guides/wallet-setup.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/user-guides/wallet-setup.mdx b/pages/user-guides/wallet-setup.mdx index c21e40b9..a880a7b1 100644 --- a/pages/user-guides/wallet-setup.mdx +++ b/pages/user-guides/wallet-setup.mdx @@ -10,7 +10,7 @@ import cosmSigningImage from "../../public/assets/cosm-signing.png"; **For complete functionality, it is recommended to navigate Sei with one of the following wallets:** -- [Compass](https://compasswallet.io/#faq) +- [Compass](https://seistartguide.addpotion.com) - [MetaMask](https://metamask.io) For more wallet options, please visit our [registry](https://github.com/sei-protocol/chain-registry/blob/main/wallets.json). From 24a3cf26e0d527389394230bbe33f6527a6f0e31 Mon Sep 17 00:00:00 2001 From: cordt-sei <165932662+cordt-sei@users.noreply.github.com> Date: Mon, 27 May 2024 09:54:44 -0600 Subject: [PATCH 03/13] corrects chain-id --- pages/user-guides/wallet-setup.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/user-guides/wallet-setup.mdx b/pages/user-guides/wallet-setup.mdx index a880a7b1..a413855c 100644 --- a/pages/user-guides/wallet-setup.mdx +++ b/pages/user-guides/wallet-setup.mdx @@ -33,7 +33,7 @@ If you encounter any issues with the automatic connection, you can also add the - **Network Name**: Sei - **New RPC URL**: https://evm-rpc.sei-apis.com -- **Chain ID**: 513 +- **Chain ID**: 1329 - **Currency Symbol**: SEI - **Block Explorer URL**: https://seitrace.io From 51a89a2b70ffdc9990178988784fe69e0ae67b5b Mon Sep 17 00:00:00 2001 From: cordt-sei <165932662+cordt-sei@users.noreply.github.com> Date: Mon, 27 May 2024 09:56:35 -0600 Subject: [PATCH 04/13] Updates chain-id to mainnet, adds seiscan --- pages/user-guides/block-explorers.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/user-guides/block-explorers.mdx b/pages/user-guides/block-explorers.mdx index 2fa76a91..49b8c3bd 100644 --- a/pages/user-guides/block-explorers.mdx +++ b/pages/user-guides/block-explorers.mdx @@ -25,11 +25,12 @@ Most block explorers offer tools for viewing, and sometimes even interacting wit ## Sei Explorers - + - [Seistream](https://seistream.app/) - [Seitrace](https://seitrace.com/) + - [Seiscan](https://seiscan.app/) From 61e435a255393f03ed998738cd87511e58e5de6c Mon Sep 17 00:00:00 2001 From: cordt-sei <165932662+cordt-sei@users.noreply.github.com> Date: Mon, 27 May 2024 10:09:16 -0600 Subject: [PATCH 05/13] Fixes broken links from top heading section --- pages/dev-validators/register.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/dev-validators/register.mdx b/pages/dev-validators/register.mdx index fc7bd00c..d3d5e2bd 100644 --- a/pages/dev-validators/register.mdx +++ b/pages/dev-validators/register.mdx @@ -4,8 +4,8 @@ Before you register a validator, ensure that you have completed the following steps: -1. **Install the `seid` CLI**: Follow the [installation guide](https://docs.sei.io/running-validator/install-sei) to set up the `seid` command-line interface. -2. **Set Up a Full Node**: Ensure your full node is fully synced with the network. Refer to the [full node setup guide](https://docs.sei.io/running-validator/setup-full-node). +1. **Install the `seid` CLI**: Follow the [installation guide](../dev-node/intro.mdx) to set up the `seid` command-line interface. +2. **Set Up a Full Node**: Ensure your full node is fully synced with the network. Refer to the [full node setup guide](../dev-node/node-operators.mdx). ## Generate a Validator Key From b249db19e515c9bf4038fb507b65767b613777da Mon Sep 17 00:00:00 2001 From: cordt-sei <165932662+cordt-sei@users.noreply.github.com> Date: Mon, 27 May 2024 10:27:42 -0600 Subject: [PATCH 06/13] Create placeholder --- pages/.stash/placeholder | 1 + 1 file changed, 1 insertion(+) create mode 100644 pages/.stash/placeholder diff --git a/pages/.stash/placeholder b/pages/.stash/placeholder new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/pages/.stash/placeholder @@ -0,0 +1 @@ + From 7f3a505de7cbbcc590a0c055058fe8f43db0ba54 Mon Sep 17 00:00:00 2001 From: cordt-sei Date: Mon, 27 May 2024 10:45:21 -0600 Subject: [PATCH 07/13] stash eco apps page --- pages/.stash/.gitkeep | 1 + pages/{ => .stash}/user-ecosystem-apps.mdx | 0 pages/_meta.json | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 pages/.stash/.gitkeep rename pages/{ => .stash}/user-ecosystem-apps.mdx (100%) diff --git a/pages/.stash/.gitkeep b/pages/.stash/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/pages/.stash/.gitkeep @@ -0,0 +1 @@ + diff --git a/pages/user-ecosystem-apps.mdx b/pages/.stash/user-ecosystem-apps.mdx similarity index 100% rename from pages/user-ecosystem-apps.mdx rename to pages/.stash/user-ecosystem-apps.mdx diff --git a/pages/_meta.json b/pages/_meta.json index d8098c8d..95e9568f 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -16,7 +16,6 @@ "user-quickstart": "Quickstart", "user-guides": "User Guides", "user-FAQ": "FAQ", - "user-ecosystem-apps": "Ecosystem Apps", "-- For Developers": { "type": "separator", "title": "For Developers" From 52154367498a818bdd7eafdcede14e0fbe0d1f02 Mon Sep 17 00:00:00 2001 From: cordt-sei Date: Mon, 27 May 2024 10:47:02 -0600 Subject: [PATCH 08/13] stashes eco-apps page --- pages/.stash/placeholder | 1 - 1 file changed, 1 deletion(-) delete mode 100644 pages/.stash/placeholder diff --git a/pages/.stash/placeholder b/pages/.stash/placeholder deleted file mode 100644 index 8b137891..00000000 --- a/pages/.stash/placeholder +++ /dev/null @@ -1 +0,0 @@ - From 2adbd1c3ce143bf6ef863c5576c15530325857bb Mon Sep 17 00:00:00 2001 From: cordt-sei <165932662+cordt-sei@users.noreply.github.com> Date: Mon, 27 May 2024 14:21:17 -0600 Subject: [PATCH 09/13] Update _meta.json --- pages/_meta.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/_meta.json b/pages/_meta.json index 95e9568f..b35f32ea 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -16,6 +16,10 @@ "user-quickstart": "Quickstart", "user-guides": "User Guides", "user-FAQ": "FAQ", + "user-ecosystem-apps": { + "title": "Ecosystem Apps", + "hidden": true + }, "-- For Developers": { "type": "separator", "title": "For Developers" From 12eebc4114c8c4f1f2275f827647de72177d5f8a Mon Sep 17 00:00:00 2001 From: cordt-sei <165932662+cordt-sei@users.noreply.github.com> Date: Mon, 27 May 2024 15:53:02 -0600 Subject: [PATCH 10/13] Rename pages/.stash/user-ecosystem-apps.mdx to pages/user-ecosystem-apps.mdx --- pages/{.stash => }/user-ecosystem-apps.mdx | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename pages/{.stash => }/user-ecosystem-apps.mdx (100%) diff --git a/pages/.stash/user-ecosystem-apps.mdx b/pages/user-ecosystem-apps.mdx similarity index 100% rename from pages/.stash/user-ecosystem-apps.mdx rename to pages/user-ecosystem-apps.mdx From d799e3f00a9bdeb4ea638314bea75aa3514566f0 Mon Sep 17 00:00:00 2001 From: cordt-sei <165932662+cordt-sei@users.noreply.github.com> Date: Mon, 27 May 2024 15:53:17 -0600 Subject: [PATCH 11/13] Delete pages/.stash directory --- pages/.stash/.gitkeep | 1 - 1 file changed, 1 deletion(-) delete mode 100644 pages/.stash/.gitkeep diff --git a/pages/.stash/.gitkeep b/pages/.stash/.gitkeep deleted file mode 100644 index 8b137891..00000000 --- a/pages/.stash/.gitkeep +++ /dev/null @@ -1 +0,0 @@ - From 1eaab9a4c1a661060fdaea7b473d8d2ba278b40b Mon Sep 17 00:00:00 2001 From: cordt-sei <165932662+cordt-sei@users.noreply.github.com> Date: Mon, 27 May 2024 15:54:44 -0600 Subject: [PATCH 12/13] hides ecosystem-apps page from sidebar remove 'hidden' property after updated --- pages/_meta.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/_meta.json b/pages/_meta.json index b35f32ea..7abfca41 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -16,9 +16,8 @@ "user-quickstart": "Quickstart", "user-guides": "User Guides", "user-FAQ": "FAQ", - "user-ecosystem-apps": { - "title": "Ecosystem Apps", - "hidden": true + "user-ecosystem-apps" : { + "display": "hidden" }, "-- For Developers": { "type": "separator", From 69c0e89f3a15bec0767d7f99105943df236396be Mon Sep 17 00:00:00 2001 From: mj Date: Tue, 28 May 2024 07:14:07 +0800 Subject: [PATCH 13/13] Fix docs links and update block explorers (#69) * Adjusted formatting on various pages in docs, fixed small typos, fixed some broken links * Changed button styles * reorder block explorers * update wallets section * not devnet * tokenfactory details * closing --------- Co-authored-by: Carson <104383295+codebycarson@users.noreply.github.com> --- .../EvmWalletConnect/CustomConnectButton.tsx | 11 +++-- pages/_meta.json | 9 +++- pages/dev-advanced-concepts/_meta.json | 3 +- .../differences-with-ethereum.mdx | 0 pages/dev-chains.mdx | 5 ++ pages/dev-ecosystem-providers/bridges.mdx | 15 ++++-- .../centralized-exchanges.mdx | 13 +++-- .../dev-ecosystem-providers/ecosystem-map.mdx | 2 +- pages/dev-ecosystem-providers/explorers.mdx | 30 ++++++++++-- pages/dev-ecosystem-providers/faucets.mdx | 9 ++-- pages/dev-ecosystem-providers/indexers.mdx | 6 ++- pages/dev-ecosystem-providers/nfts.mdx | 5 +- pages/dev-ecosystem-providers/oracles.mdx | 2 +- .../dev-ecosystem-providers/rpc-providers.mdx | 12 +++-- pages/dev-ecosystem-providers/wallets.mdx | 6 ++- pages/dev-intro.mdx | 2 +- pages/dev-node/join-a-network.mdx | 2 +- pages/dev-resources/_meta.json | 5 -- pages/dev-token-standards.mdx | 2 +- pages/dev-tutorials/evm-cli-tutorial.mdx | 4 +- pages/dev-tutorials/pointer-contracts.mdx | 3 ++ pages/dev-tutorials/tokenfactory-tutorial.mdx | 49 ++++++++++++++++++- pages/general-governance.mdx | 2 +- pages/general-staking.mdx | 2 +- .../resources.mdx => resources-resources.mdx} | 0 ....mdx => resources-tools-and-resources.mdx} | 12 +---- pages/user-guides/block-explorers.mdx | 14 +----- pages/user-guides/wallet-setup.mdx | 7 ++- pages/user-quickstart.mdx | 21 ++++---- styles/custom.module.css | 33 +++++++------ 30 files changed, 184 insertions(+), 102 deletions(-) rename pages/{dev-resources => dev-advanced-concepts}/differences-with-ethereum.mdx (100%) delete mode 100644 pages/dev-resources/_meta.json rename pages/{dev-resources/resources.mdx => resources-resources.mdx} (100%) rename pages/{dev-resources/tools-and-resources.mdx => resources-tools-and-resources.mdx} (86%) diff --git a/components/EvmWalletConnect/CustomConnectButton.tsx b/components/EvmWalletConnect/CustomConnectButton.tsx index e9064b13..9285fcf4 100644 --- a/components/EvmWalletConnect/CustomConnectButton.tsx +++ b/components/EvmWalletConnect/CustomConnectButton.tsx @@ -3,9 +3,9 @@ import { ConnectButton } from "@rainbow-me/rainbowkit"; import styled from 'styled-components'; const CustomButton = styled.button` -background: #001B2A; /* Dark color */ -border: none; -color: #ECDEDE; /* Light color */ +background: black; /* Dark color */ +border: white solid 1px; +color: white; /* Light color */ padding: 0.5rem 1rem; font-size: 1rem; cursor: pointer; @@ -19,8 +19,9 @@ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); font-family: 'Inter', sans-serif; &:hover { -color: #001B2A; /* Dark color */ -background: #ECDEDE; /* Light color */ + color: black; /* Dark color */ + background: white; /* Light color */ + border: black solid 1px; } `; diff --git a/pages/_meta.json b/pages/_meta.json index 7abfca41..37ac8971 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -29,12 +29,17 @@ "dev-gas": "Gas", "dev-smart-contracts": "Smart Contracts", "dev-frontend-dapps": "Frontend dApps", - "dev-ecosystem-providers": "Ecosystem & Providers", "dev-tutorials": "Tutorials", "dev-node": "Nodes", "dev-validators": "Validators", "dev-advanced-concepts": "Advanced Concepts", - "dev-resources": "Resources", + "-- Resources": { + "type": "separator", + "title": "Resources" + }, + "dev-ecosystem-providers": "Ecosystem & Providers", + "resources-resources": "Resources", + "resources-tools-and-resources": "Tools", "landing": { "title": "Back to Sei ↗", "type": "page", diff --git a/pages/dev-advanced-concepts/_meta.json b/pages/dev-advanced-concepts/_meta.json index c167fc37..92a1f16b 100644 --- a/pages/dev-advanced-concepts/_meta.json +++ b/pages/dev-advanced-concepts/_meta.json @@ -8,5 +8,6 @@ "hd-path-coin-types": "HD Path & Coin Types", "proposals": "Proposals", "evm-rpc-endpoints": "EVM RPC Endpoints", - "interoperability": "Interoperability" + "interoperability": "Interoperability", + "differences-with-ethereum": "Differences from Ethereum" } diff --git a/pages/dev-resources/differences-with-ethereum.mdx b/pages/dev-advanced-concepts/differences-with-ethereum.mdx similarity index 100% rename from pages/dev-resources/differences-with-ethereum.mdx rename to pages/dev-advanced-concepts/differences-with-ethereum.mdx diff --git a/pages/dev-chains.mdx b/pages/dev-chains.mdx index 9e96f2f0..ecae8fc3 100644 --- a/pages/dev-chains.mdx +++ b/pages/dev-chains.mdx @@ -8,6 +8,8 @@ The `pacific-1` chain is the mainnet of the Sei blockchain. It is the live, prod - **Purpose**: Production environment for live applications. - **Chain ID**: `pacific-1` +- **EVM Chain ID**: `1329` or `0x531` + - #### **Testnet** @@ -15,6 +17,8 @@ The `atlantic-2` chain is the testnet of the Sei blockchain. It is used for test - **Purpose**: Testing and development environment. - **Chain ID**: `atlantic-2` +- **EVM Chain ID**: `1328` or `0x530` + - #### **Devnet** @@ -22,6 +26,7 @@ The `arctic-1` chain is the devnet of the Sei blockchain. It serves as a develop - **Purpose**: Early-stage development and experimentation. - **Chain ID**: `arctic-1` +- **EVM Chain ID**: `713715` or `0xAE3F3` - #### **Local Chains** diff --git a/pages/dev-ecosystem-providers/bridges.mdx b/pages/dev-ecosystem-providers/bridges.mdx index 6697a2d4..9fd8baf0 100644 --- a/pages/dev-ecosystem-providers/bridges.mdx +++ b/pages/dev-ecosystem-providers/bridges.mdx @@ -2,11 +2,18 @@ Bridges facilitate cross-chain transfers and interoperability between different blockchains. Key bridges for Sei are: -- **Squid**: Enables one-click cross-chain swaps across various EVM blockchains. +## **Squid**: +Enables one-click cross-chain swaps across various EVM blockchains. - [Squid](https://blockworks.co/news/squid-one-click-cross-chain-swaps-cosmos) -- **Wormhole**: A popular bridge for transferring assets across multiple blockchains. + +## **Wormhole**: +A popular bridge for transferring assets across multiple blockchains. - [Wormhole](https://wormholenetwork.com/) -- **Axelar**: Provides secure cross-chain communication for Web3. + +## **Axelar**: +Provides secure cross-chain communication for Web3. - [Axelar](https://axelar.network/) -- **Stargate (coming soon)**: Facilitates seamless cross-chain transactions. + +## **Stargate (coming soon)**: +Facilitates seamless cross-chain transactions. - [Stargate](https://stargate.finance/) diff --git a/pages/dev-ecosystem-providers/centralized-exchanges.mdx b/pages/dev-ecosystem-providers/centralized-exchanges.mdx index f5311f52..6e990e81 100644 --- a/pages/dev-ecosystem-providers/centralized-exchanges.mdx +++ b/pages/dev-ecosystem-providers/centralized-exchanges.mdx @@ -2,7 +2,12 @@ Centralized exchanges enable users to trade Sei tokens with ease. Some major exchanges supporting Sei are: -- **Coinbase**: [Coinbase](https://www.coinbase.com/) -- **Binance**: [Binance](https://www.binance.com/) -- **KuCoin**: [KuCoin](https://www.kucoin.com/) -- And more +## **Coinbase**: +[Coinbase](https://www.coinbase.com/) + +## **Binance**: +[Binance](https://www.binance.com/) + +## **KuCoin**: +[KuCoin](https://www.kucoin.com/) +### And more diff --git a/pages/dev-ecosystem-providers/ecosystem-map.mdx b/pages/dev-ecosystem-providers/ecosystem-map.mdx index 73884961..b226d578 100644 --- a/pages/dev-ecosystem-providers/ecosystem-map.mdx +++ b/pages/dev-ecosystem-providers/ecosystem-map.mdx @@ -2,4 +2,4 @@ For a comprehensive view of the Sei ecosystem and its various providers, refer to the ecosystem map. -- [Ecosystem Map](https://www.sei.io/ecosystem) +## [Sei Ecosystem Map](https://www.sei.io/ecosystem) diff --git a/pages/dev-ecosystem-providers/explorers.mdx b/pages/dev-ecosystem-providers/explorers.mdx index f2d21a3b..c571797a 100644 --- a/pages/dev-ecosystem-providers/explorers.mdx +++ b/pages/dev-ecosystem-providers/explorers.mdx @@ -1,9 +1,29 @@ +import { Tabs } from "nextra/components"; + # Explorers Blockchain explorers allow users to view transactions, blocks, and other network activities. Here are the main explorers for Sei: -- **SeiTrace**: A comprehensive explorer for tracking transactions and activities on the Sei blockchain. -- [SeiTrace](https://seitrace.com/) -- **SeiScan**: Provides detailed views of the Sei mainnet and testnets. -- [Pacific-1 (Mainnet)](https://www.seiscan.app/pacific-1) -- [Atlantic-2 (Testnet)](https://www.seiscan.app/atlantic-2) +## Sei Explorers + + + + - [Seistream](https://devnet.seistream.app/) + - [Seitrace](https://seitrace.com/?chain=arctic-1) + + + + + - [Seistream](https://testnet.seistream.app/) + - [Seitrace](https://seitrace.com/?chain=atlantic-2) + - [Seiscan](https://www.seiscan.app/atlantic-2) + + + + + - [Seistream](https://seistream.app/) + - [Seitrace](https://seitrace.com/?chain=pacific-1) + - [Seiscan](https://www.seiscan.app/pacific-1) + + + diff --git a/pages/dev-ecosystem-providers/faucets.mdx b/pages/dev-ecosystem-providers/faucets.mdx index 98ac422c..fad0c742 100644 --- a/pages/dev-ecosystem-providers/faucets.mdx +++ b/pages/dev-ecosystem-providers/faucets.mdx @@ -1,8 +1,11 @@ # Faucets -Faucets provide free tokens to developers for testing purposes. Sei offers faucets for its testnets: +Faucets provide free tokens to developers for testing purposes. Sei offers faucets for testnet and devnet: -- **Sei App Faucet**: Available for the Atlantic-2 and Arctic-1 testnets. +## **Sei App Faucet**: +Available for the Atlantic-2 and Arctic-1 networks. - [Atlantic-2 Faucet](https://atlantic-2.app.sei.io/faucet) - [Arctic-1 Faucet](https://arctic-1.app.sei.io/faucet) -- Compass wallet: This wallet has integrated a faucet directly into the wallet for a very easy user experience. + +## **Compass wallet**: +This wallet has integrated a faucet directly into the wallet for a very easy user experience. diff --git a/pages/dev-ecosystem-providers/indexers.mdx b/pages/dev-ecosystem-providers/indexers.mdx index d6ca6ef6..b6ec2099 100644 --- a/pages/dev-ecosystem-providers/indexers.mdx +++ b/pages/dev-ecosystem-providers/indexers.mdx @@ -2,8 +2,10 @@ Indexers collect and organize blockchain data, making it easier to query and analyze. Key indexers for Sei include: -- **Flipside**: Provides detailed blockchain analytics and insights. +## **Flipside**: +Provides detailed blockchain analytics and insights. - [Flipside](https://flipsidecrypto.xyz/) -- **The Graph (EVM only)**: Allows for querying blockchain data using GraphQL. +## **The Graph (EVM only)**: +Allows for querying blockchain data using GraphQL. - [The Graph](https://thegraph.com/) diff --git a/pages/dev-ecosystem-providers/nfts.mdx b/pages/dev-ecosystem-providers/nfts.mdx index cc91711f..a236449b 100644 --- a/pages/dev-ecosystem-providers/nfts.mdx +++ b/pages/dev-ecosystem-providers/nfts.mdx @@ -1,6 +1,7 @@ # NFT’s -Lighthouse and Webump help with minting and managing of NFTs. +The following providers provide helpful tools for creating and managing NFT projects on Sei. -- **Lighthouse/Webump** +## **Lighthouse/Webump** +Lighthouse is a helpful tool for creating NFT projects. - [Link](https://webump.xyz/) diff --git a/pages/dev-ecosystem-providers/oracles.mdx b/pages/dev-ecosystem-providers/oracles.mdx index 63b3b37d..2134a0b8 100644 --- a/pages/dev-ecosystem-providers/oracles.mdx +++ b/pages/dev-ecosystem-providers/oracles.mdx @@ -2,5 +2,5 @@ Oracles provide external data to smart contracts, enabling more dynamic and responsive applications. Notable oracles for Sei include: -- **Pyth** +## **Pyth** - [Pyth Documentation](https://docs.pyth.network/home) diff --git a/pages/dev-ecosystem-providers/rpc-providers.mdx b/pages/dev-ecosystem-providers/rpc-providers.mdx index 31e9a9f0..3aa1865e 100644 --- a/pages/dev-ecosystem-providers/rpc-providers.mdx +++ b/pages/dev-ecosystem-providers/rpc-providers.mdx @@ -1,9 +1,15 @@ # RPC Providers -RPC providers offer endpoints for developers to interact with the Sei blockchain. Some notable providers include: +RPC providers offer endpoints for developers to interact with the Sei blockchain, archive nodes, genesis files, and more. Some notable providers include: -- **Rhino**: Provides robust RPC services for seamless blockchain interactions. +## **Rhino**: +Provides robust RPC services for seamless blockchain interactions. - [Rhino](https://rhinostake.com/#) -- **Quicknode**: A a trusted infrastructure partner for the Sei network, providing developers with powerful APIs and dedicated support to streamline their blockchain applications. +## **Quicknode**: +A trusted infrastructure partner for the Sei network, providing developers with powerful APIs and dedicated support to streamline their blockchain applications. - [Quicknode](https://www.quicknode.com/) + +## **Polkachu**: +Offers RPC/REST/gRPC, snapshot, genesis files, and more. + - [Polkachu](https://polkachu.com/networks/sei) diff --git a/pages/dev-ecosystem-providers/wallets.mdx b/pages/dev-ecosystem-providers/wallets.mdx index a5203c67..22d31a74 100644 --- a/pages/dev-ecosystem-providers/wallets.mdx +++ b/pages/dev-ecosystem-providers/wallets.mdx @@ -2,8 +2,10 @@ Wallets are essential for managing assets and interacting with the Sei blockchain. Here are some recommended wallets: -- **Compass**: A Sei native wallet designed for seamless interaction with the Sei blockchain with both Cosmos and EVM support. +## **Compass**: +A Sei native wallet designed for seamless interaction with the Sei blockchain with both Cosmos and EVM support. - [Compass Wallet](https://compasswallet.io/) -- **MetaMask**: A widely-used EVM-compatible wallet that supports custom chain configurations for Sei. +## **MetaMask**: +A widely-used EVM-compatible wallet that supports custom chain configurations for Sei. - [MetaMask](https://metamask.io/) diff --git a/pages/dev-intro.mdx b/pages/dev-intro.mdx index c5efbb8c..4c3ded41 100644 --- a/pages/dev-intro.mdx +++ b/pages/dev-intro.mdx @@ -21,7 +21,7 @@ Sei provides precompile contracts that facilitate many common Cosmos calls via t - **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. -- **Oracles**: Access to native price feeder and the [broad provider ecosystem](/dev-ecosystem-providers/oracles). +- **Oracles**: Access to native price feeder and the [broad provider ecosystem](./dev-ecosystem-providers/oracles.mdx). - **And More** ### Cross-Chain Token Functionality diff --git a/pages/dev-node/join-a-network.mdx b/pages/dev-node/join-a-network.mdx index 43d1c6bf..bb4c55de 100644 --- a/pages/dev-node/join-a-network.mdx +++ b/pages/dev-node/join-a-network.mdx @@ -28,7 +28,7 @@ rm -rf /root/.sei/config/genesis.json Note: This step is not needed for fresh nodes. ``` ### Update Configurations -Set up rpc servers for primary and secondary endpoints. You can use one of the RPC endpoints from the [RPC providers](../dev-ecosystem-providers/rpc-providers.mdx ) page. +Set up rpc servers for primary and secondary endpoints. You can use one of the RPC endpoints from the [RPC providers](../resources-tools-and-resources.mdx) page. Set up trust height and trust hash. Each snapshot is created at a certain block height, and best practice here is to set the trust height to be earlier than the latest snapshot block height to avoid backward verifications. #### Example: set trust height and hash to be the block height 10,000 earlier diff --git a/pages/dev-resources/_meta.json b/pages/dev-resources/_meta.json deleted file mode 100644 index 3437af5e..00000000 --- a/pages/dev-resources/_meta.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "tools-and-resources": "Tools and Resources", - "resources": "Resources", - "differences-with-ethereum": "Differences from Ethereum" -} diff --git a/pages/dev-token-standards.mdx b/pages/dev-token-standards.mdx index 2e484840..3c424c33 100644 --- a/pages/dev-token-standards.mdx +++ b/pages/dev-token-standards.mdx @@ -37,7 +37,7 @@ Fungible tokens are digital assets that are interchangeable with one another and - **ERC20**: The ERC20 standard defines a common set of rules for fungible tokens on EVM-based blockchains. These tokens can be transferred, approved, and queried using standard functions. - **CW20**: The CW20 standard is the Cosmos equivalent of ERC20, providing similar functionalities for tokens on Cosmos-based blockchains. - **Interoperability and Pointer Contracts**: Pointer contracts enable interoperability between ERC20 and CW20 tokens, allowing for seamless interaction between the two standards. - - [Pointer Contracts Documentation](https://v2.docs.sei.io/interoperability/pointer-contracts) + - [Pointer Contracts Documentation](/dev-tutorials/pointer-contracts) - **Pointer Contract Registry**: A registry that keeps track of pointer contracts to facilitate interoperability. ### NFTs diff --git a/pages/dev-tutorials/evm-cli-tutorial.mdx b/pages/dev-tutorials/evm-cli-tutorial.mdx index e01b80a9..af05c21b 100644 --- a/pages/dev-tutorials/evm-cli-tutorial.mdx +++ b/pages/dev-tutorials/evm-cli-tutorial.mdx @@ -2,7 +2,7 @@ You can query or send transactions to Sei easily via CLI once you have the `seid` command installed (see [Installing Seid](./installing-seid)) ## Queries -If the machine you run these commands from are not running a node of the network, you'll need to append `--node http://url-to-sei-cosmos-rpc` to your command. Refer to the [Tools and Resources](../dev-resources/tools-and-resources.mdx) page for a list of RPC endpoints. +If the machine you run these commands from are not running a node of the network, you'll need to append `--node http://url-to-sei-cosmos-rpc` to your command. Refer to the [Tools and Resources](../resources-tools-and-resources.mdx) page for a list of RPC endpoints. - `seid q evm sei-addr [some EVM address]`: Gets the associated Sei address of the queried EVM address, if it exists on-chain. - `seid q evm evm-addr [some Sei address]`: Gets the associated EVM address of the queried Sei address, if it exists on-chain. @@ -14,7 +14,7 @@ For "NATIVE" type, `pointee` would be the native denom name instead. ## Transactions Sending transactions via CLI requires you to have keys added via `seid keys add`. You can then specify the key you want to use by appending `--from=[key name]` to your command. -If the machine you run these commands from are not a node of the network, you'd need to append `--evm-rpc http://url-to-sei-evm-rpc` to your command. Refer to the [Tools and Resources](../dev-resources/tools-and-resources.mdx) page for a list of RPC endpoints. +If the machine you run these commands from are not a node of the network, you'd need to append `--evm-rpc http://url-to-sei-evm-rpc` to your command. Refer to the [Tools and Resources](../resources-tools-and-resources.mdx) page for a list of RPC endpoints. - `seid tx evm associate-address`: Associates the Sei address and EVM address on-chain for the sending key. - `seid tx evm send [to EVM address] [amount in wei]`: Sends native tokens to the target EVM address. diff --git a/pages/dev-tutorials/pointer-contracts.mdx b/pages/dev-tutorials/pointer-contracts.mdx index 0f8c5221..e44a9477 100644 --- a/pages/dev-tutorials/pointer-contracts.mdx +++ b/pages/dev-tutorials/pointer-contracts.mdx @@ -201,3 +201,6 @@ seid tx evm register-evm-pointer CW721 $CW721_TOKEN_ADDRESS --from=$SENDER --cha - `--gas`: Specifies the maximum amount of gas that can be consumed by the transaction. - `--fees`: Indicates the transaction fee. - `--node`: Points to the specific Sei node RPC URL you're connecting to for transaction submission. + +### For TokenFactory Tokens +Refer to the [Tokenfactory tutorial](./tokenfactory-tutorial.mdx) for details on how to create a tokenfactory denom and an associated pointer contract. \ No newline at end of file diff --git a/pages/dev-tutorials/tokenfactory-tutorial.mdx b/pages/dev-tutorials/tokenfactory-tutorial.mdx index 373ae104..e1e8a06b 100644 --- a/pages/dev-tutorials/tokenfactory-tutorial.mdx +++ b/pages/dev-tutorials/tokenfactory-tutorial.mdx @@ -56,6 +56,51 @@ Understanding these arguments will help you execute the commands more confidentl For detailed descriptions of these arguments, use `seid help` in the CLI. +## Updating Token Metadata + +When creating a token, it is important to specify details regarding the denom amounts and aliases so your token can be correctly parsed on wallets and explorers. + +### 1. Create Token Metadata file +Create a token metadata `json` file. The file below is an example metadata file for the Sei token. +```json +{ + "name": "sei", + "description": "The native token of Sei.", + "denom_units": [ + { + "denom": "usei", + "exponent": 0, + "aliases": [ + "microsei" + ], + }, + { + "denom": "msei", + "exponent": 3, + "aliases": [ + "millisei" + ] + }, + { + "denom": "sei", + "exponent": 6, + } + ], + "base": "usei", + "display": "sei", +} +``` + +The `base` field denotes the smallest denom that this token can be represented in. +Note that if you intend to create a [pointer contract](#create-pointer-contract), the `denom_units` with the largest exponent will be used as the display denom. (`sei` in this case). + +### 2. Set token metadata using seid +```sh +seid tx tokenfactory set-denom-metadata $METADATA_FILE --fees 20000usei -b block -y --from $ADDR +``` + +Replace `$METADATA_FILE` with the path to your metadata file created in step 1. and `$ADDR` with the address of the token admin. + ## Minting Tokens ```bash copy @@ -109,7 +154,7 @@ seid tx evm deploy-erc20 $DENOM $NAME $SYMBOL $DECIMAL --from=$ACCOUNT --evm-rpc **Parameters** - `DENOM`: The denomination of the token for which you want to create an ERC20 pointer. This should match the TokenFactory token you created. -- `DENOM`: The name you wish to assign to your ERC20 pointer token. It should match the name of the TokenFactory token. +- `NAME`: The name you wish to assign to your ERC20 pointer token. It should match the name of the TokenFactory token. - `SYMBOL`: The symbol for your ERC20 pointer token. It should correspond with the symbol of the TokenFactory token. - `DECIMAL`: The number of decimals for your ERC20 pointer token. This should align with the decimals of the TokenFactory token (typically 6). @@ -120,6 +165,8 @@ seid tx evm deploy-erc20 $DENOM $NAME $SYMBOL $DECIMAL --from=$ACCOUNT --evm-rpc Executing this command creates an ERC20 token and outputs the contract address. This token is linked to the TokenFactory token, meaning any activities involving this ERC20 token will also reflect on the state of the TokenFactory token and vice versa. +Note that if you wish to specify denoms on your ERC20 tokens, you will need to [set the token metadata](#updating-token-metadata) for the base tokenfactory token. The denom with the largest exponent will be used. + Learn more about EVM interoperability and pointer contracts [here](../interoperability/overview.mdx). diff --git a/pages/general-governance.mdx b/pages/general-governance.mdx index 1afd5633..0bf5c520 100644 --- a/pages/general-governance.mdx +++ b/pages/general-governance.mdx @@ -95,4 +95,4 @@ No, once you cast your vote, it is final and cannot be changed. The minimum deposit required is 3500 Sei, but proposals can have higher thresholds for expedited processing. **How do I view active proposals and vote results?** -Active proposals and vote results can be viewed on the [Sei App](https://app.sei.io/staking) or by querying the blockchain directly. +Active proposals and vote results can be viewed on the [Seiscan](https://www.seiscan.app/pacific-1/proposals) or by querying the blockchain directly using `seid`. diff --git a/pages/general-staking.mdx b/pages/general-staking.mdx index 4ef90f2d..f28a4195 100644 --- a/pages/general-staking.mdx +++ b/pages/general-staking.mdx @@ -10,7 +10,7 @@ The Sei protocol incentivizes validators and delegators with staking rewards fro Staking on Sei can be done through the Sei App, via the `seid` CLI, or even through REST or RPC calls. -- **Sei App**: [Staking](https://app.sei.io/staking) +- **Sei App**: [Staking](https://app.sei.io/stake) - **seid CLI**: `seid tx staking [command] [flags]` - **REST/RPC**: `GET/POST /staking/*` diff --git a/pages/dev-resources/resources.mdx b/pages/resources-resources.mdx similarity index 100% rename from pages/dev-resources/resources.mdx rename to pages/resources-resources.mdx diff --git a/pages/dev-resources/tools-and-resources.mdx b/pages/resources-tools-and-resources.mdx similarity index 86% rename from pages/dev-resources/tools-and-resources.mdx rename to pages/resources-tools-and-resources.mdx index e5d318f3..abdc0480 100644 --- a/pages/dev-resources/tools-and-resources.mdx +++ b/pages/resources-tools-and-resources.mdx @@ -34,17 +34,7 @@ To support your development and testing efforts, we provide a range of public RP node](/running-a-sei-node). - - - -| Sei Native RPC Url | EVM RPC Url | Websocket Url | -| :--------------------------------- | :------------------------------------ | :--------------------------------- | -| https://rpc-arctic-1.sei-apis.com/ | https://evm-rpc-arctic-1.sei-apis.com | wss://evm-ws-arctic-1.sei-apis.com | - - - - -For more endpoint options, please visit our [chain registry](https://github.com/sei-protocol/chain-registry/blob/main/chains.json). +Please visit our [chain registry](https://github.com/sei-protocol/chain-registry/blob/main/chains.json) for an updated list of RPC endpoints. ## Other Important Contracts diff --git a/pages/user-guides/block-explorers.mdx b/pages/user-guides/block-explorers.mdx index 49b8c3bd..5ecaba39 100644 --- a/pages/user-guides/block-explorers.mdx +++ b/pages/user-guides/block-explorers.mdx @@ -1,11 +1,10 @@ -import { Tabs } from "nextra/components"; import { Callout } from "nextra/components"; # Block Explorers ## **What Is a Block Explorer?** -Rather than downloading the entire blochain ledger, using a block explorer is the most common method to look up all kinds of useful on-chain information. +Rather than downloading the entire blockchain ledger, using a block explorer is the most common method to look up all kinds of useful on-chain information. Most block explorers offer tools for viewing, and sometimes even interacting with the network including: @@ -23,14 +22,5 @@ Most block explorers offer tools for viewing, and sometimes even interacting wit Note: In rare cases, some information may be misinterpreted. Off-chain data should be used as a guide only. -## Sei Explorers +Please refer to the [block explorers](../dev-ecosystem-providers/explorers.mdx) page for a list of block explorers. - - - - - [Seistream](https://seistream.app/) - - [Seitrace](https://seitrace.com/) - - [Seiscan](https://seiscan.app/) - - - diff --git a/pages/user-guides/wallet-setup.mdx b/pages/user-guides/wallet-setup.mdx index 481087d2..f636c1aa 100644 --- a/pages/user-guides/wallet-setup.mdx +++ b/pages/user-guides/wallet-setup.mdx @@ -8,10 +8,9 @@ import cosmSigningImage from "../../public/assets/cosm-signing.png"; ### Installing a Wallet app -**For complete functionality, it is recommended to navigate Sei with one of the following wallets:** +**For complete functionality, it is recommended to navigate Sei with one of the wallets listed on the Wallets Page:** -- [Compass](https://seistartguide.addpotion.com) -- [MetaMask](https://metamask.io) +[Wallets Page](../dev-ecosystem-providers/wallets.mdx) For more wallet options, please visit our [registry](https://github.com/sei-protocol/chain-registry/blob/main/wallets.json). @@ -29,7 +28,7 @@ Adding Sei chain to Metamask wallet takes only a few clicks. Connect your wallet #### Import Manually -If you encounter any issues with the automatic connection, you can also add the Sei EVM Devnet manually. Follow the steps outlined [here](https://support.metamask.io/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC#h_01G63GGJ83DGDRCS2ZWXM37CV5), using the chain information provided below: +If you encounter any issues with the automatic connection, you can also add the Sei EVM manually. Follow the steps outlined [here](https://support.metamask.io/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC#h_01G63GGJ83DGDRCS2ZWXM37CV5), using the chain information provided below: - **Network Name**: Sei - **New RPC URL**: https://evm-rpc.sei-apis.com diff --git a/pages/user-quickstart.mdx b/pages/user-quickstart.mdx index 9c93e3df..59696f52 100644 --- a/pages/user-quickstart.mdx +++ b/pages/user-quickstart.mdx @@ -14,22 +14,21 @@ import selectAssetImage from "../public/assets/select-asset.png"; # Getting Started with Sei -Welcome to the newly upgraded Sei V2 blockchain. +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.mdx) guide. +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. +When you connect your wallet to an application on Sei, you should automatically be prompted to join the correct network in your wallet interface. @@ -47,17 +46,17 @@ Sei V2 introduces a significant upgrade: "Ethereum Virtual Machine (EVM)" suppor - **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. +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. +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. + **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. @@ -65,7 +64,7 @@ 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. +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. @@ -92,7 +91,7 @@ Users can simply copy their address starting with “sei…” and paste into th 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 +### 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. @@ -112,7 +111,7 @@ To move assets onto the Sei Blockchain from another network, a variety of bridge 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. +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. @@ -126,7 +125,7 @@ Some recommended bridges, will offer "gas on arrival" features. This can be part ## Viewing Assets in your Wallet -As a source of truth, users should navigate to the new block explorer for Sei v2: [seitrace.com](https://www.seitrace.com) +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. diff --git a/styles/custom.module.css b/styles/custom.module.css index 365cbe8f..65bab442 100644 --- a/styles/custom.module.css +++ b/styles/custom.module.css @@ -19,25 +19,26 @@ font-size: 16px; /* Smaller icon size */ } .downloadButton { -background: #001B2A; /* Dark color */ -border: none; -color: #ECDEDE; /* 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; + 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; } .downloadButton:hover { -color: #001B2A; /* Dark color */ -background: #ECDEDE; /* Light color */ + color: black; /* Dark color */ + background: white; /* Light color */ + border: black solid 1px; } .imageWrapper {