From 78b8945984656abeecba5dc891ee64d8c38a993f Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Mon, 13 Jan 2025 01:48:34 -0500 Subject: [PATCH 01/26] init new structure + various improvements --- package.json | 1 + pages/_app.mdx | 1 - pages/_document.tsx | 21 +- pages/_meta.json | 63 ++---- pages/build/_meta.json | 50 +++++ .../building-a-frontend.mdx | 10 +- .../cosmwasm-general.mdx | 4 +- pages/{ => build}/dev-frontend-dapps.mdx | 0 pages/{ => build}/dev-querying-state.mdx | 0 pages/{ => build}/dev-smart-contracts.mdx | 2 +- pages/{ => build}/dev-token-standards.mdx | 0 .../evm-cli-tutorial.mdx | 0 .../{dev-tutorials => build}/evm-general.mdx | 0 .../{dev-tutorials => build}/ibc-protocol.mdx | 0 pages/build/index.mdx | 99 +++++++++ .../installing-seid.mdx | 12 +- .../ledger-ethers.mdx | 0 .../multi-sig-accounts.mdx | 0 .../nft-contract-tutorial.mdx | 36 ++-- .../pointer-contracts.mdx | 0 pages/{ => build}/resources-resources.mdx | 0 .../resources-tools-and-resources.mdx | 0 .../tokenfactory-allowlist.mdx | 0 .../tokenfactory-tutorial.mdx | 12 +- pages/dev-advanced-concepts/_meta.json | 12 -- pages/dev-advanced-concepts/fee-grants.mdx | 198 ------------------ pages/dev-ecosystem-providers/_meta.json | 12 -- .../oracles/_meta.json | 4 - .../dev-ecosystem-providers/oracles/api3.mdx | 58 ----- .../oracles/oracles.mdx | 8 - pages/dev-interoperability/_meta.json | 4 - pages/dev-intro.mdx | 37 ---- pages/dev-node/_meta.json | 10 - pages/dev-tutorials/_meta.json | 14 -- pages/dev-validators/_meta.json | 8 - pages/endpoints/cosmos/api/[...route].mdx | 7 - pages/index.mdx | 15 -- pages/learn/_meta.json | 84 ++++++++ .../account-structure.mdx | 0 .../block-explorers.mdx | 0 pages/{user-guides => learn}/bridging.mdx | 0 pages/learn/cosmos.mdx | 11 + pages/{ => learn}/dev-chains.mdx | 0 pages/{ => learn}/dev-gas.mdx | 0 pages/{ => learn}/dev-interoperability.mdx | 9 +- pages/{ => learn}/dev-transactions.mdx | 6 +- .../differences-with-ethereum.mdx | 0 pages/learn/evm.mdx | 13 ++ .../execute-multiple.mdx | 2 + pages/learn/fee-grants.mdx | 120 +++++++++++ pages/{ => learn}/general-brand-kit.mdx | 4 +- pages/{ => learn}/general-governance.mdx | 0 pages/{ => learn}/general-overview.mdx | 19 +- pages/{ => learn}/general-staking.mdx | 0 pages/{ => learn}/general-submit-feedback.mdx | 0 .../{user-guides => learn}/getting-tokens.mdx | 0 .../hardware-wallets.mdx | 0 .../hd-path-coin-types.mdx | 0 .../ibc-relayer.mdx | 0 pages/learn/index.mdx | 101 +++++++++ pages/{user-guides => learn}/ledger-setup.mdx | 0 .../linking-addresses.mdx | 0 .../oracles.mdx | 8 +- .../proposals.mdx | 0 pages/{ => learn}/user-FAQ.mdx | 0 pages/learn/user-quickstart.mdx | 133 ++++++++++++ .../wallet-association.mdx | 2 +- pages/{user-guides => learn}/wallet-setup.mdx | 0 pages/{user-guides => learn}/wrapped-sei.mdx | 0 pages/node/_meta.json | 37 ++++ .../configure-general-settings.mdx | 2 +- pages/node/index.mdx | 99 +++++++++ pages/{dev-node => node}/intro.mdx | 0 pages/{dev-node => node}/join-a-network.mdx | 0 .../{dev-node => node}/node-configuration.mdx | 0 pages/{dev-node => node}/node-operators.mdx | 0 .../oracle-price-feeder.mdx | 4 +- pages/{dev-validators => node}/overview.mdx | 0 pages/{dev-node => node}/quickstart.mdx | 2 +- pages/{dev-validators => node}/register.mdx | 0 .../restore-validator.mdx | 0 pages/{dev-node => node}/running-seid.mdx | 0 .../security-practices.mdx | 0 .../swagger-docs-endpoint.mdx | 0 .../validator-faq.mdx | 0 pages/providers/_meta.json | 21 ++ .../bridges.mdx | 1 + .../centralized-exchanges.mdx | 0 .../ecosystem-map.mdx | 2 +- .../explorers.mdx | 0 .../faucets.mdx | 0 .../indexers/_meta.json | 0 .../indexers/goldrush.mdx | 2 +- .../indexers/indexers.mdx | 0 .../indexers/the-graph.mdx | 1 - .../nfts.mdx | 0 .../oracles.mdx | 0 .../rpc-providers.mdx | 0 .../wallets.mdx | 0 pages/reference/_meta.json | 23 ++ pages/reference/api/[...route].mdx | 7 + pages/{endpoints => reference}/cosmos.mdx | 0 pages/{ => reference}/endpoints.mdx | 4 +- pages/{endpoints => reference}/evm.mdx | 0 pages/reference/index.mdx | 107 ++++++++++ pages/reference/overview.mdx | 23 ++ .../pointer-contracts.mdx | 0 .../precompiles/_meta.json | 0 .../precompiles/addr.mdx | 0 .../precompiles/bank.mdx | 4 +- .../precompiles/cosmwasm.mdx | 2 +- .../precompiles/distribution.mdx | 0 .../precompiles/example-usage.mdx | 2 +- .../precompiles/governance.mdx | 0 .../precompiles/ibc.mdx | 0 .../precompiles/json.mdx | 0 .../precompiles/oracle.mdx | 2 +- .../precompiles/pointer.mdx | 0 .../precompiles/pointerview.mdx | 0 .../precompiles/staking.mdx | 0 pages/{ => reference}/seid.mdx | 0 pages/{ => reference}/seid/_meta.json | 0 .../seid/add-genesis-account.md | 0 .../seid/add-wasm-genesis-message.md | 0 .../seid/add-wasm-genesis-message/_meta.json | 0 .../seid/add-wasm-genesis-message/execute.md | 0 .../instantiate-contract.md | 0 .../add-wasm-genesis-message/list-codes.md | 0 .../list-contracts.md | 0 .../seid/add-wasm-genesis-message/store.md | 0 pages/{ => reference}/seid/blocktest.md | 0 pages/{ => reference}/seid/collect-gentxs.md | 0 pages/{ => reference}/seid/compact.md | 0 pages/{ => reference}/seid/config.md | 0 pages/{ => reference}/seid/debug.md | 0 pages/{ => reference}/seid/debug/_meta.json | 0 pages/{ => reference}/seid/debug/addr.md | 0 pages/{ => reference}/seid/debug/dump-iavl.md | 0 pages/{ => reference}/seid/debug/pubkey.md | 0 pages/{ => reference}/seid/debug/raw-bytes.md | 0 pages/{ => reference}/seid/ethreplay.md | 0 pages/{ => reference}/seid/export.md | 0 pages/{ => reference}/seid/gentx.md | 0 pages/{ => reference}/seid/help.md | 0 pages/{ => reference}/seid/init.md | 0 pages/{ => reference}/seid/keys.md | 0 pages/{ => reference}/seid/keys/_meta.json | 0 pages/{ => reference}/seid/keys/add.md | 0 pages/{ => reference}/seid/keys/delete.md | 0 pages/{ => reference}/seid/keys/export.md | 0 pages/{ => reference}/seid/keys/import.md | 0 pages/{ => reference}/seid/keys/list.md | 0 pages/{ => reference}/seid/keys/mnemonic.md | 0 pages/{ => reference}/seid/keys/parse.md | 0 pages/{ => reference}/seid/keys/show.md | 0 pages/{ => reference}/seid/latest_version.md | 0 pages/{ => reference}/seid/migrate.md | 0 pages/{ => reference}/seid/prune.md | 0 pages/{ => reference}/seid/query.md | 0 pages/{ => reference}/seid/query/_meta.json | 0 .../seid/query/accesscontrol.md | 0 .../seid/query/accesscontrol/_meta.json | 0 .../list-resource-dependency-mapping.md | 0 .../list-wasm-dependency-mapping.md | 0 .../seid/query/accesscontrol/params.md | 0 .../resource-dependency-mapping.md | 0 .../accesscontrol/wasm-dependency-mapping.md | 0 pages/{ => reference}/seid/query/account.md | 0 pages/{ => reference}/seid/query/auth.md | 0 .../seid/query/auth/_meta.json | 0 .../seid/query/auth/account.md | 0 .../seid/query/auth/accounts.md | 0 .../seid/query/auth/next-account-number.md | 0 .../{ => reference}/seid/query/auth/params.md | 0 pages/{ => reference}/seid/query/authz.md | 0 .../seid/query/authz/_meta.json | 0 .../seid/query/authz/grants-by-grantee.md | 0 .../seid/query/authz/grants-by-granter.md | 0 .../seid/query/authz/grants.md | 0 pages/{ => reference}/seid/query/bank.md | 0 .../seid/query/bank/_meta.json | 0 .../seid/query/bank/balances.md | 0 .../seid/query/bank/denom-metadata.md | 0 .../{ => reference}/seid/query/bank/total.md | 0 pages/{ => reference}/seid/query/block.md | 0 pages/reference/seid/query/dex.md | 40 ++++ .../{ => reference}/seid/query/dex/_meta.json | 0 .../seid/query/dex/get-asset-list.md | 0 .../seid/query/dex/get-asset-metadata.md | 0 .../seid/query/dex/get-latest-price.md | 0 .../seid/query/dex/get-match-result.md | 0 .../seid/query/dex/get-order-count.md | 21 ++ .../seid/query/dex/get-orders-by-id.md | 0 .../seid/query/dex/get-orders.md | 0 .../seid/query/dex/get-price.md | 0 .../seid/query/dex/get-prices.md | 0 .../seid/query/dex/get-registered-contract.md | 0 .../seid/query/dex/get-registered-pairs.md | 0 .../seid/query/dex/get-twaps.md | 0 .../seid/query/dex/list-long-book.md | 0 .../seid/query/dex/list-short-book.md | 0 .../{ => reference}/seid/query/dex/params.md | 0 .../seid/query/dex/show-long-book.md | 0 .../seid/query/dex/show-short-book.md | 0 .../seid/query/distribution.md | 0 .../seid/query/distribution/_meta.json | 0 .../seid/query/distribution/commission.md | 0 .../seid/query/distribution/community-pool.md | 0 .../seid/query/distribution/params.md | 0 .../seid/query/distribution/rewards.md | 0 .../seid/query/distribution/slashes.md | 0 .../validator-outstanding-rewards.md | 0 pages/{ => reference}/seid/query/epoch.md | 0 .../seid/query/epoch/_meta.json | 0 .../{ => reference}/seid/query/epoch/epoch.md | 0 .../seid/query/epoch/params.md | 0 pages/{ => reference}/seid/query/evidence.md | 0 pages/{ => reference}/seid/query/evm.md | 0 .../{ => reference}/seid/query/evm/_meta.json | 0 .../seid/query/evm/erc20-payload.md | 0 pages/{ => reference}/seid/query/evm/erc20.md | 0 .../seid/query/evm/erc721-payload.md | 0 .../seid/query/evm/evm-addr.md | 0 .../{ => reference}/seid/query/evm/payload.md | 0 .../seid/query/evm/pointer-version.md | 0 .../{ => reference}/seid/query/evm/pointer.md | 0 .../seid/query/evm/sei-addr.md | 0 pages/{ => reference}/seid/query/feegrant.md | 0 .../seid/query/feegrant/_meta.json | 0 .../seid/query/feegrant/grant.md | 0 .../seid/query/feegrant/grants-by-grantee.md | 0 .../seid/query/feegrant/grants-by-granter.md | 0 pages/{ => reference}/seid/query/gov.md | 0 .../{ => reference}/seid/query/gov/_meta.json | 0 .../{ => reference}/seid/query/gov/deposit.md | 0 .../seid/query/gov/deposits.md | 0 pages/{ => reference}/seid/query/gov/param.md | 0 .../{ => reference}/seid/query/gov/params.md | 0 .../seid/query/gov/proposal.md | 0 .../seid/query/gov/proposals.md | 0 .../seid/query/gov/proposer.md | 0 pages/{ => reference}/seid/query/gov/tally.md | 0 pages/{ => reference}/seid/query/gov/vote.md | 0 pages/{ => reference}/seid/query/gov/votes.md | 0 .../seid/query/ibc-transfer.md | 0 .../seid/query/ibc-transfer/_meta.json | 0 .../seid/query/ibc-transfer/denom-hash.md | 0 .../seid/query/ibc-transfer/denom-trace.md | 0 .../seid/query/ibc-transfer/denom-traces.md | 0 .../seid/query/ibc-transfer/escrow-address.md | 0 .../seid/query/ibc-transfer/params.md | 0 pages/{ => reference}/seid/query/ibc.md | 0 .../{ => reference}/seid/query/ibc/_meta.json | 0 .../{ => reference}/seid/query/ibc/channel.md | 0 .../seid/query/ibc/channel/_meta.json | 0 .../seid/query/ibc/channel/channels.md | 0 .../seid/query/ibc/channel/client-state.md | 0 .../seid/query/ibc/channel/connections.md | 0 .../seid/query/ibc/channel/end.md | 0 .../ibc/channel/next-sequence-receive.md | 0 .../seid/query/ibc/channel/packet-ack.md | 0 .../query/ibc/channel/packet-commitment.md | 0 .../query/ibc/channel/packet-commitments.md | 0 .../seid/query/ibc/channel/packet-receipt.md | 0 .../seid/query/ibc/channel/unreceived-acks.md | 0 .../query/ibc/channel/unreceived-packets.md | 0 .../{ => reference}/seid/query/ibc/client.md | 0 .../seid/query/ibc/client/_meta.json | 0 .../ibc/client/consensus-state-heights.md | 0 .../seid/query/ibc/client/consensus-state.md | 0 .../seid/query/ibc/client/consensus-states.md | 0 .../seid/query/ibc/client/header.md | 0 .../seid/query/ibc/client/params.md | 0 .../query/ibc/client/self-consensus-state.md | 0 .../seid/query/ibc/client/state.md | 0 .../seid/query/ibc/client/states.md | 0 .../seid/query/ibc/client/status.md | 0 .../seid/query/ibc/connection.md | 0 .../seid/query/ibc/connection/_meta.json | 0 .../seid/query/ibc/connection/connections.md | 0 .../seid/query/ibc/connection/end.md | 0 .../seid/query/ibc/connection/path.md | 0 pages/{ => reference}/seid/query/mint.md | 0 .../seid/query/mint/_meta.json | 0 .../{ => reference}/seid/query/mint/minter.md | 0 .../{ => reference}/seid/query/mint/params.md | 0 pages/{ => reference}/seid/query/oracle.md | 0 .../seid/query/oracle/_meta.json | 0 .../seid/query/oracle/actives.md | 0 .../seid/query/oracle/exchange-rates.md | 0 .../seid/query/oracle/feeder.md | 0 .../seid/query/oracle/params.md | 0 .../query/oracle/price-snapshot-history.md | 0 .../seid/query/oracle/twaps.md | 0 .../seid/query/oracle/vote-penalty-counter.md | 0 .../seid/query/oracle/vote-targets.md | 0 pages/{ => reference}/seid/query/params.md | 0 .../seid/query/params/_meta.json | 0 .../seid/query/params/blockparams.md | 0 .../seid/query/params/cosmosgasparams.md | 0 .../seid/query/params/feesparams.md | 0 .../seid/query/params/subspace.md | 0 pages/{ => reference}/seid/query/slashing.md | 0 .../seid/query/slashing/_meta.json | 0 .../seid/query/slashing/params.md | 0 .../seid/query/slashing/signing-info.md | 0 .../seid/query/slashing/signing-infos.md | 0 pages/{ => reference}/seid/query/staking.md | 4 +- .../seid/query/staking/_meta.json | 0 .../seid/query/staking/delegation.md | 0 .../seid/query/staking/delegations-to.md | 0 .../seid/query/staking/delegations.md | 0 .../seid/query/staking/hex-address.md | 0 .../seid/query/staking/historical-info.md | 0 .../seid/query/staking/params.md | 0 .../seid/query/staking/pool.md | 0 .../seid/query/staking/redelegation.md | 0 .../seid/query/staking/redelegations-from.md | 0 .../seid/query/staking/redelegations.md | 0 .../query/staking/unbonding-delegation.md | 0 .../staking/unbonding-delegations-from.md | 0 .../query/staking/unbonding-delegations.md | 0 .../seid/query/staking/validator.md | 0 .../seid/query/staking/validators.md | 0 .../seid/query/tendermint-validator-set.md | 0 .../seid/query/tokenfactory.md | 0 .../seid/query/tokenfactory/_meta.json | 0 .../tokenfactory/denom-authority-metadata.md | 0 .../query/tokenfactory/denoms-from-creator.md | 0 .../seid/query/tokenfactory/params.md | 0 pages/{ => reference}/seid/query/tx.md | 0 pages/{ => reference}/seid/query/txs.md | 0 pages/{ => reference}/seid/query/upgrade.md | 0 .../seid/query/upgrade/_meta.json | 0 .../seid/query/upgrade/applied.md | 0 .../seid/query/upgrade/module_versions.md | 0 .../seid/query/upgrade/plan.md | 0 pages/{ => reference}/seid/query/wasm.md | 0 .../seid/query/wasm/_meta.json | 0 .../seid/query/wasm/code-info.md | 0 pages/{ => reference}/seid/query/wasm/code.md | 0 .../seid/query/wasm/contract-history.md | 0 .../seid/query/wasm/contract-state.md | 0 .../seid/query/wasm/contract-state/_meta.json | 0 .../seid/query/wasm/contract-state/all.md | 0 .../seid/query/wasm/contract-state/raw.md | 0 .../seid/query/wasm/contract-state/smart.md | 0 .../seid/query/wasm/contract.md | 0 .../seid/query/wasm/libwasmvm-version.md | 0 .../seid/query/wasm/list-code.md | 0 .../seid/query/wasm/list-contract-by-code.md | 0 .../{ => reference}/seid/query/wasm/pinned.md | 0 pages/{ => reference}/seid/rollback.md | 0 pages/{ => reference}/seid/start.md | 0 pages/{ => reference}/seid/status.md | 0 pages/{ => reference}/seid/tendermint.md | 0 .../seid/tendermint/_meta.json | 0 .../{ => reference}/seid/tendermint/debug.md | 0 .../seid/tendermint/debug/_meta.json | 0 .../seid/tendermint/debug/dump.md | 0 .../seid/tendermint/debug/kill.md | 0 .../seid/tendermint/gen-node-key.md | 0 .../seid/tendermint/gen-validator.md | 0 .../seid/tendermint/inspect.md | 0 .../seid/tendermint/key-migrate.md | 0 .../{ => reference}/seid/tendermint/light.md | 0 .../seid/tendermint/reindex-event.md | 0 .../seid/tendermint/replay-console.md | 0 .../{ => reference}/seid/tendermint/replay.md | 0 .../{ => reference}/seid/tendermint/reset.md | 0 .../seid/tendermint/reset/_meta.json | 0 .../seid/tendermint/reset/blockchain.md | 0 .../seid/tendermint/reset/peers.md | 0 .../seid/tendermint/reset/unsafe-all.md | 0 .../seid/tendermint/reset/unsafe-signer.md | 0 .../seid/tendermint/show-address.md | 0 .../seid/tendermint/show-node-id.md | 0 .../seid/tendermint/show-validator.md | 0 .../seid/tendermint/snapshot.md | 0 .../seid/tendermint/unsafe-reset-all.md | 0 .../seid/tendermint/version.md | 0 pages/{ => reference}/seid/tools.md | 0 pages/{ => reference}/seid/tools/_meta.json | 0 pages/{ => reference}/seid/tools/scan-tx.md | 0 pages/{ => reference}/seid/tx.md | 0 pages/{ => reference}/seid/tx/_meta.json | 0 .../{ => reference}/seid/tx/accesscontrol.md | 0 .../seid/tx/accesscontrol/_meta.json | 0 .../register-wasm-dependency-mapping.md | 0 .../update-resource-dependency-mapping.md | 0 pages/{ => reference}/seid/tx/authz.md | 0 .../{ => reference}/seid/tx/authz/_meta.json | 0 pages/{ => reference}/seid/tx/authz/exec.md | 0 pages/{ => reference}/seid/tx/authz/grant.md | 0 pages/{ => reference}/seid/tx/authz/revoke.md | 0 pages/{ => reference}/seid/tx/bank.md | 0 pages/{ => reference}/seid/tx/bank/_meta.json | 0 pages/{ => reference}/seid/tx/bank/send.md | 0 pages/{ => reference}/seid/tx/broadcast.md | 0 pages/{ => reference}/seid/tx/crisis.md | 0 .../{ => reference}/seid/tx/crisis/_meta.json | 0 .../seid/tx/crisis/invariant-broken.md | 0 pages/{ => reference}/seid/tx/decode.md | 0 pages/{ => reference}/seid/tx/dex.md | 0 pages/{ => reference}/seid/tx/dex/_meta.json | 0 .../seid/tx/dex/add-asset-proposal.md | 0 .../seid/tx/dex/cancel-orders.md | 0 .../seid/tx/dex/contract-deposit-rent.md | 0 .../seid/tx/dex/register-contract.md | 0 .../seid/tx/dex/register-pairs.md | 0 .../seid/tx/dex/unregister-contract.md | 0 .../seid/tx/dex/unsuspend-contract.md | 0 .../seid/tx/dex/update-price-tick-size.md | 0 .../seid/tx/dex/update-quantity-tick-size.md | 0 pages/{ => reference}/seid/tx/distribution.md | 0 .../seid/tx/distribution/_meta.json | 0 .../tx/distribution/fund-community-pool.md | 0 .../seid/tx/distribution/set-withdraw-addr.md | 0 .../tx/distribution/withdraw-all-rewards.md | 0 .../seid/tx/distribution/withdraw-rewards.md | 0 pages/{ => reference}/seid/tx/encode.md | 0 pages/{ => reference}/seid/tx/epoch.md | 0 pages/{ => reference}/seid/tx/evidence.md | 0 pages/{ => reference}/seid/tx/evm.md | 0 pages/{ => reference}/seid/tx/evm/_meta.json | 0 .../seid/tx/evm/add-erc-cw20-pointer.md | 0 .../seid/tx/evm/add-erc-cw721-pointer.md | 0 .../seid/tx/evm/add-erc-native-pointer.md | 0 .../seid/tx/evm/associate-address.md | 0 .../seid/tx/evm/associate-contract-address.md | 0 .../seid/tx/evm/call-contract.md | 2 +- .../seid/tx/evm/call-precompile.md | 2 +- .../seid/tx/evm/deploy-wsei.md | 2 +- pages/{ => reference}/seid/tx/evm/deploy.md | 0 .../{ => reference}/seid/tx/evm/erc20-send.md | 2 +- .../seid/tx/evm/native-send.md | 0 .../seid/tx/evm/register-cw-pointer.md | 0 .../seid/tx/evm/register-evm-pointer.md | 0 pages/{ => reference}/seid/tx/evm/send.md | 0 pages/{ => reference}/seid/tx/feegrant.md | 0 .../seid/tx/feegrant/_meta.json | 0 .../{ => reference}/seid/tx/feegrant/grant.md | 0 .../seid/tx/feegrant/revoke.md | 0 pages/{ => reference}/seid/tx/gov.md | 0 pages/{ => reference}/seid/tx/gov/_meta.json | 0 pages/{ => reference}/seid/tx/gov/deposit.md | 0 .../seid/tx/gov/submit-proposal.md | 0 .../seid/tx/gov/submit-proposal/_meta.json | 0 .../cancel-software-upgrade.md | 0 .../submit-proposal/clear-contract-admin.md | 0 .../submit-proposal/community-pool-spend.md | 0 .../gov/submit-proposal/execute-contract.md | 0 .../tx/gov/submit-proposal/ibc-upgrade.md | 0 .../submit-proposal/instantiate-contract.md | 0 .../gov/submit-proposal/migrate-contract.md | 0 .../tx/gov/submit-proposal/param-change.md | 0 .../seid/tx/gov/submit-proposal/pin-codes.md | 0 .../gov/submit-proposal/set-contract-admin.md | 0 .../gov/submit-proposal/software-upgrade.md | 0 .../tx/gov/submit-proposal/sudo-contract.md | 0 .../tx/gov/submit-proposal/unpin-codes.md | 0 .../tx/gov/submit-proposal/update-client.md | 0 .../update-instantiate-config.md | 0 .../tx/gov/submit-proposal/update-minter.md | 0 .../update-resource-dependency-mapping.md | 0 .../seid/tx/gov/submit-proposal/wasm-store.md | 0 pages/{ => reference}/seid/tx/gov/vote.md | 0 .../seid/tx/gov/weighted-vote.md | 0 pages/{ => reference}/seid/tx/ibc-transfer.md | 0 .../seid/tx/ibc-transfer/_meta.json | 0 .../seid/tx/ibc-transfer/transfer.md | 0 pages/{ => reference}/seid/tx/ibc.md | 0 pages/{ => reference}/seid/tx/ibc/_meta.json | 0 pages/{ => reference}/seid/tx/ibc/channel.md | 0 pages/{ => reference}/seid/tx/ibc/client.md | 0 .../seid/tx/ibc/client/_meta.json | 0 .../seid/tx/ibc/client/create.md | 0 .../seid/tx/ibc/client/misbehaviour.md | 0 .../seid/tx/ibc/client/update.md | 0 .../seid/tx/ibc/client/upgrade.md | 0 pages/{ => reference}/seid/tx/multisign.md | 0 pages/{ => reference}/seid/tx/oracle.md | 0 .../{ => reference}/seid/tx/oracle/_meta.json | 0 .../seid/tx/oracle/aggregate-vote.md | 0 .../seid/tx/oracle/set-feeder.md | 0 pages/{ => reference}/seid/tx/sign-batch.md | 0 pages/{ => reference}/seid/tx/sign.md | 2 +- pages/{ => reference}/seid/tx/slashing.md | 0 .../seid/tx/slashing/_meta.json | 0 .../seid/tx/slashing/unjail.md | 0 pages/{ => reference}/seid/tx/staking.md | 0 .../seid/tx/staking/_meta.json | 0 .../seid/tx/staking/create-validator.md | 0 .../seid/tx/staking/delegate.md | 0 .../seid/tx/staking/edit-validator.md | 0 .../seid/tx/staking/redelegate.md | 0 .../{ => reference}/seid/tx/staking/unbond.md | 0 pages/{ => reference}/seid/tx/tokenfactory.md | 0 .../seid/tx/tokenfactory/_meta.json | 0 .../seid/tx/tokenfactory/burn.md | 0 .../seid/tx/tokenfactory/change-admin.md | 0 .../seid/tx/tokenfactory/create-denom.md | 0 .../seid/tx/tokenfactory/mint.md | 0 .../tx/tokenfactory/set-denom-metadata.md | 0 .../seid/tx/validate-signatures.md | 0 pages/{ => reference}/seid/tx/vesting.md | 0 .../seid/tx/vesting/_meta.json | 0 .../seid/tx/vesting/create-vesting-account.md | 2 +- pages/{ => reference}/seid/tx/wasm.md | 0 pages/{ => reference}/seid/tx/wasm/_meta.json | 0 .../seid/tx/wasm/clear-contract-admin.md | 0 pages/{ => reference}/seid/tx/wasm/execute.md | 0 .../seid/tx/wasm/instantiate.md | 0 pages/{ => reference}/seid/tx/wasm/migrate.md | 0 .../seid/tx/wasm/set-contract-admin.md | 0 pages/{ => reference}/seid/tx/wasm/store.md | 0 .../{ => reference}/seid/validate-genesis.md | 0 pages/{ => reference}/seid/version.md | 0 pages/user-guides/_meta.json | 9 - pages/user-quickstart.mdx | 135 ------------ public/assets/sei-icon.png | Bin 0 -> 12615 bytes yarn.lock | 32 ++- 522 files changed, 1116 insertions(+), 692 deletions(-) create mode 100644 pages/build/_meta.json rename pages/{dev-tutorials => build}/building-a-frontend.mdx (99%) rename pages/{dev-tutorials => build}/cosmwasm-general.mdx (99%) rename pages/{ => build}/dev-frontend-dapps.mdx (100%) rename pages/{ => build}/dev-querying-state.mdx (100%) rename pages/{ => build}/dev-smart-contracts.mdx (99%) rename pages/{ => build}/dev-token-standards.mdx (100%) rename pages/{dev-tutorials => build}/evm-cli-tutorial.mdx (100%) rename pages/{dev-tutorials => build}/evm-general.mdx (100%) rename pages/{dev-tutorials => build}/ibc-protocol.mdx (100%) create mode 100644 pages/build/index.mdx rename pages/{dev-tutorials => build}/installing-seid.mdx (98%) rename pages/{dev-tutorials => build}/ledger-ethers.mdx (100%) rename pages/{dev-tutorials => build}/multi-sig-accounts.mdx (100%) rename pages/{dev-tutorials => build}/nft-contract-tutorial.mdx (97%) rename pages/{dev-tutorials => build}/pointer-contracts.mdx (100%) rename pages/{ => build}/resources-resources.mdx (100%) rename pages/{ => build}/resources-tools-and-resources.mdx (100%) rename pages/{dev-tutorials => build}/tokenfactory-allowlist.mdx (100%) rename pages/{dev-tutorials => build}/tokenfactory-tutorial.mdx (99%) delete mode 100644 pages/dev-advanced-concepts/_meta.json delete mode 100644 pages/dev-advanced-concepts/fee-grants.mdx delete mode 100644 pages/dev-ecosystem-providers/_meta.json delete mode 100644 pages/dev-ecosystem-providers/oracles/_meta.json delete mode 100644 pages/dev-ecosystem-providers/oracles/api3.mdx delete mode 100644 pages/dev-ecosystem-providers/oracles/oracles.mdx delete mode 100644 pages/dev-interoperability/_meta.json delete mode 100644 pages/dev-intro.mdx delete mode 100644 pages/dev-node/_meta.json delete mode 100644 pages/dev-tutorials/_meta.json delete mode 100644 pages/dev-validators/_meta.json delete mode 100644 pages/endpoints/cosmos/api/[...route].mdx delete mode 100644 pages/index.mdx create mode 100644 pages/learn/_meta.json rename pages/{dev-advanced-concepts => learn}/account-structure.mdx (100%) rename pages/{user-guides => learn}/block-explorers.mdx (100%) rename pages/{user-guides => learn}/bridging.mdx (100%) create mode 100644 pages/learn/cosmos.mdx rename pages/{ => learn}/dev-chains.mdx (100%) rename pages/{ => learn}/dev-gas.mdx (100%) rename pages/{ => learn}/dev-interoperability.mdx (77%) rename pages/{ => learn}/dev-transactions.mdx (92%) rename pages/{dev-advanced-concepts => learn}/differences-with-ethereum.mdx (100%) create mode 100644 pages/learn/evm.mdx rename pages/{dev-advanced-concepts => learn}/execute-multiple.mdx (99%) create mode 100644 pages/learn/fee-grants.mdx rename pages/{ => learn}/general-brand-kit.mdx (96%) rename pages/{ => learn}/general-governance.mdx (100%) rename pages/{ => learn}/general-overview.mdx (62%) rename pages/{ => learn}/general-staking.mdx (100%) rename pages/{ => learn}/general-submit-feedback.mdx (100%) rename pages/{user-guides => learn}/getting-tokens.mdx (100%) rename pages/{dev-advanced-concepts => learn}/hardware-wallets.mdx (100%) rename pages/{dev-advanced-concepts => learn}/hd-path-coin-types.mdx (100%) rename pages/{dev-advanced-concepts => learn}/ibc-relayer.mdx (100%) create mode 100644 pages/learn/index.mdx rename pages/{user-guides => learn}/ledger-setup.mdx (100%) rename pages/{user-guides => learn}/linking-addresses.mdx (100%) rename pages/{dev-advanced-concepts => learn}/oracles.mdx (96%) rename pages/{dev-advanced-concepts => learn}/proposals.mdx (100%) rename pages/{ => learn}/user-FAQ.mdx (100%) create mode 100644 pages/learn/user-quickstart.mdx rename pages/{dev-advanced-concepts => learn}/wallet-association.mdx (98%) rename pages/{user-guides => learn}/wallet-setup.mdx (100%) rename pages/{user-guides => learn}/wrapped-sei.mdx (100%) create mode 100644 pages/node/_meta.json rename pages/{dev-node => node}/configure-general-settings.mdx (96%) create mode 100644 pages/node/index.mdx rename pages/{dev-node => node}/intro.mdx (100%) rename pages/{dev-node => node}/join-a-network.mdx (100%) rename pages/{dev-node => node}/node-configuration.mdx (100%) rename pages/{dev-node => node}/node-operators.mdx (100%) rename pages/{dev-validators => node}/oracle-price-feeder.mdx (99%) rename pages/{dev-validators => node}/overview.mdx (100%) rename pages/{dev-node => node}/quickstart.mdx (99%) rename pages/{dev-validators => node}/register.mdx (100%) rename pages/{dev-validators => node}/restore-validator.mdx (100%) rename pages/{dev-node => node}/running-seid.mdx (100%) rename pages/{dev-validators => node}/security-practices.mdx (100%) rename pages/{dev-node => node}/swagger-docs-endpoint.mdx (100%) rename pages/{dev-validators => node}/validator-faq.mdx (100%) create mode 100644 pages/providers/_meta.json rename pages/{dev-ecosystem-providers => providers}/bridges.mdx (90%) rename pages/{dev-ecosystem-providers => providers}/centralized-exchanges.mdx (100%) rename pages/{dev-ecosystem-providers => providers}/ecosystem-map.mdx (98%) rename pages/{dev-ecosystem-providers => providers}/explorers.mdx (100%) rename pages/{dev-ecosystem-providers => providers}/faucets.mdx (100%) rename pages/{dev-ecosystem-providers => providers}/indexers/_meta.json (100%) rename pages/{dev-ecosystem-providers => providers}/indexers/goldrush.mdx (96%) rename pages/{dev-ecosystem-providers => providers}/indexers/indexers.mdx (100%) rename pages/{dev-ecosystem-providers => providers}/indexers/the-graph.mdx (99%) rename pages/{dev-ecosystem-providers => providers}/nfts.mdx (100%) rename pages/{dev-ecosystem-providers => providers}/oracles.mdx (100%) rename pages/{dev-ecosystem-providers => providers}/rpc-providers.mdx (100%) rename pages/{dev-ecosystem-providers => providers}/wallets.mdx (100%) create mode 100644 pages/reference/_meta.json create mode 100644 pages/reference/api/[...route].mdx rename pages/{endpoints => reference}/cosmos.mdx (100%) rename pages/{ => reference}/endpoints.mdx (59%) rename pages/{endpoints => reference}/evm.mdx (100%) create mode 100644 pages/reference/index.mdx create mode 100644 pages/reference/overview.mdx rename pages/{dev-interoperability => reference}/pointer-contracts.mdx (100%) rename pages/{dev-interoperability => reference}/precompiles/_meta.json (100%) rename pages/{dev-interoperability => reference}/precompiles/addr.mdx (100%) rename pages/{dev-interoperability => reference}/precompiles/bank.mdx (96%) rename pages/{dev-interoperability => reference}/precompiles/cosmwasm.mdx (97%) rename pages/{dev-interoperability => reference}/precompiles/distribution.mdx (100%) rename pages/{dev-interoperability => reference}/precompiles/example-usage.mdx (99%) rename pages/{dev-interoperability => reference}/precompiles/governance.mdx (100%) rename pages/{dev-interoperability => reference}/precompiles/ibc.mdx (100%) rename pages/{dev-interoperability => reference}/precompiles/json.mdx (100%) rename pages/{dev-interoperability => reference}/precompiles/oracle.mdx (98%) rename pages/{dev-interoperability => reference}/precompiles/pointer.mdx (100%) rename pages/{dev-interoperability => reference}/precompiles/pointerview.mdx (100%) rename pages/{dev-interoperability => reference}/precompiles/staking.mdx (100%) rename pages/{ => reference}/seid.mdx (100%) rename pages/{ => reference}/seid/_meta.json (100%) rename pages/{ => reference}/seid/add-genesis-account.md (100%) rename pages/{ => reference}/seid/add-wasm-genesis-message.md (100%) rename pages/{ => reference}/seid/add-wasm-genesis-message/_meta.json (100%) rename pages/{ => reference}/seid/add-wasm-genesis-message/execute.md (100%) rename pages/{ => reference}/seid/add-wasm-genesis-message/instantiate-contract.md (100%) rename pages/{ => reference}/seid/add-wasm-genesis-message/list-codes.md (100%) rename pages/{ => reference}/seid/add-wasm-genesis-message/list-contracts.md (100%) rename pages/{ => reference}/seid/add-wasm-genesis-message/store.md (100%) rename pages/{ => reference}/seid/blocktest.md (100%) rename pages/{ => reference}/seid/collect-gentxs.md (100%) rename pages/{ => reference}/seid/compact.md (100%) rename pages/{ => reference}/seid/config.md (100%) rename pages/{ => reference}/seid/debug.md (100%) rename pages/{ => reference}/seid/debug/_meta.json (100%) rename pages/{ => reference}/seid/debug/addr.md (100%) rename pages/{ => reference}/seid/debug/dump-iavl.md (100%) rename pages/{ => reference}/seid/debug/pubkey.md (100%) rename pages/{ => reference}/seid/debug/raw-bytes.md (100%) rename pages/{ => reference}/seid/ethreplay.md (100%) rename pages/{ => reference}/seid/export.md (100%) rename pages/{ => reference}/seid/gentx.md (100%) rename pages/{ => reference}/seid/help.md (100%) rename pages/{ => reference}/seid/init.md (100%) rename pages/{ => reference}/seid/keys.md (100%) rename pages/{ => reference}/seid/keys/_meta.json (100%) rename pages/{ => reference}/seid/keys/add.md (100%) rename pages/{ => reference}/seid/keys/delete.md (100%) rename pages/{ => reference}/seid/keys/export.md (100%) rename pages/{ => reference}/seid/keys/import.md (100%) rename pages/{ => reference}/seid/keys/list.md (100%) rename pages/{ => reference}/seid/keys/mnemonic.md (100%) rename pages/{ => reference}/seid/keys/parse.md (100%) rename pages/{ => reference}/seid/keys/show.md (100%) rename pages/{ => reference}/seid/latest_version.md (100%) rename pages/{ => reference}/seid/migrate.md (100%) rename pages/{ => reference}/seid/prune.md (100%) rename pages/{ => reference}/seid/query.md (100%) rename pages/{ => reference}/seid/query/_meta.json (100%) rename pages/{ => reference}/seid/query/accesscontrol.md (100%) rename pages/{ => reference}/seid/query/accesscontrol/_meta.json (100%) rename pages/{ => reference}/seid/query/accesscontrol/list-resource-dependency-mapping.md (100%) rename pages/{ => reference}/seid/query/accesscontrol/list-wasm-dependency-mapping.md (100%) rename pages/{ => reference}/seid/query/accesscontrol/params.md (100%) rename pages/{ => reference}/seid/query/accesscontrol/resource-dependency-mapping.md (100%) rename pages/{ => reference}/seid/query/accesscontrol/wasm-dependency-mapping.md (100%) rename pages/{ => reference}/seid/query/account.md (100%) rename pages/{ => reference}/seid/query/auth.md (100%) rename pages/{ => reference}/seid/query/auth/_meta.json (100%) rename pages/{ => reference}/seid/query/auth/account.md (100%) rename pages/{ => reference}/seid/query/auth/accounts.md (100%) rename pages/{ => reference}/seid/query/auth/next-account-number.md (100%) rename pages/{ => reference}/seid/query/auth/params.md (100%) rename pages/{ => reference}/seid/query/authz.md (100%) rename pages/{ => reference}/seid/query/authz/_meta.json (100%) rename pages/{ => reference}/seid/query/authz/grants-by-grantee.md (100%) rename pages/{ => reference}/seid/query/authz/grants-by-granter.md (100%) rename pages/{ => reference}/seid/query/authz/grants.md (100%) rename pages/{ => reference}/seid/query/bank.md (100%) rename pages/{ => reference}/seid/query/bank/_meta.json (100%) rename pages/{ => reference}/seid/query/bank/balances.md (100%) rename pages/{ => reference}/seid/query/bank/denom-metadata.md (100%) rename pages/{ => reference}/seid/query/bank/total.md (100%) rename pages/{ => reference}/seid/query/block.md (100%) create mode 100644 pages/reference/seid/query/dex.md rename pages/{ => reference}/seid/query/dex/_meta.json (100%) rename pages/{ => reference}/seid/query/dex/get-asset-list.md (100%) rename pages/{ => reference}/seid/query/dex/get-asset-metadata.md (100%) rename pages/{ => reference}/seid/query/dex/get-latest-price.md (100%) rename pages/{ => reference}/seid/query/dex/get-match-result.md (100%) create mode 100644 pages/reference/seid/query/dex/get-order-count.md rename pages/{ => reference}/seid/query/dex/get-orders-by-id.md (100%) rename pages/{ => reference}/seid/query/dex/get-orders.md (100%) rename pages/{ => reference}/seid/query/dex/get-price.md (100%) rename pages/{ => reference}/seid/query/dex/get-prices.md (100%) rename pages/{ => reference}/seid/query/dex/get-registered-contract.md (100%) rename pages/{ => reference}/seid/query/dex/get-registered-pairs.md (100%) rename pages/{ => reference}/seid/query/dex/get-twaps.md (100%) rename pages/{ => reference}/seid/query/dex/list-long-book.md (100%) rename pages/{ => reference}/seid/query/dex/list-short-book.md (100%) rename pages/{ => reference}/seid/query/dex/params.md (100%) rename pages/{ => reference}/seid/query/dex/show-long-book.md (100%) rename pages/{ => reference}/seid/query/dex/show-short-book.md (100%) rename pages/{ => reference}/seid/query/distribution.md (100%) rename pages/{ => reference}/seid/query/distribution/_meta.json (100%) rename pages/{ => reference}/seid/query/distribution/commission.md (100%) rename pages/{ => reference}/seid/query/distribution/community-pool.md (100%) rename pages/{ => reference}/seid/query/distribution/params.md (100%) rename pages/{ => reference}/seid/query/distribution/rewards.md (100%) rename pages/{ => reference}/seid/query/distribution/slashes.md (100%) rename pages/{ => reference}/seid/query/distribution/validator-outstanding-rewards.md (100%) rename pages/{ => reference}/seid/query/epoch.md (100%) rename pages/{ => reference}/seid/query/epoch/_meta.json (100%) rename pages/{ => reference}/seid/query/epoch/epoch.md (100%) rename pages/{ => reference}/seid/query/epoch/params.md (100%) rename pages/{ => reference}/seid/query/evidence.md (100%) rename pages/{ => reference}/seid/query/evm.md (100%) rename pages/{ => reference}/seid/query/evm/_meta.json (100%) rename pages/{ => reference}/seid/query/evm/erc20-payload.md (100%) rename pages/{ => reference}/seid/query/evm/erc20.md (100%) rename pages/{ => reference}/seid/query/evm/erc721-payload.md (100%) rename pages/{ => reference}/seid/query/evm/evm-addr.md (100%) rename pages/{ => reference}/seid/query/evm/payload.md (100%) rename pages/{ => reference}/seid/query/evm/pointer-version.md (100%) rename pages/{ => reference}/seid/query/evm/pointer.md (100%) rename pages/{ => reference}/seid/query/evm/sei-addr.md (100%) rename pages/{ => reference}/seid/query/feegrant.md (100%) rename pages/{ => reference}/seid/query/feegrant/_meta.json (100%) rename pages/{ => reference}/seid/query/feegrant/grant.md (100%) rename pages/{ => reference}/seid/query/feegrant/grants-by-grantee.md (100%) rename pages/{ => reference}/seid/query/feegrant/grants-by-granter.md (100%) rename pages/{ => reference}/seid/query/gov.md (100%) rename pages/{ => reference}/seid/query/gov/_meta.json (100%) rename pages/{ => reference}/seid/query/gov/deposit.md (100%) rename pages/{ => reference}/seid/query/gov/deposits.md (100%) rename pages/{ => reference}/seid/query/gov/param.md (100%) rename pages/{ => reference}/seid/query/gov/params.md (100%) rename pages/{ => reference}/seid/query/gov/proposal.md (100%) rename pages/{ => reference}/seid/query/gov/proposals.md (100%) rename pages/{ => reference}/seid/query/gov/proposer.md (100%) rename pages/{ => reference}/seid/query/gov/tally.md (100%) rename pages/{ => reference}/seid/query/gov/vote.md (100%) rename pages/{ => reference}/seid/query/gov/votes.md (100%) rename pages/{ => reference}/seid/query/ibc-transfer.md (100%) rename pages/{ => reference}/seid/query/ibc-transfer/_meta.json (100%) rename pages/{ => reference}/seid/query/ibc-transfer/denom-hash.md (100%) rename pages/{ => reference}/seid/query/ibc-transfer/denom-trace.md (100%) rename pages/{ => reference}/seid/query/ibc-transfer/denom-traces.md (100%) rename pages/{ => reference}/seid/query/ibc-transfer/escrow-address.md (100%) rename pages/{ => reference}/seid/query/ibc-transfer/params.md (100%) rename pages/{ => reference}/seid/query/ibc.md (100%) rename pages/{ => reference}/seid/query/ibc/_meta.json (100%) rename pages/{ => reference}/seid/query/ibc/channel.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/_meta.json (100%) rename pages/{ => reference}/seid/query/ibc/channel/channels.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/client-state.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/connections.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/end.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/next-sequence-receive.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/packet-ack.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/packet-commitment.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/packet-commitments.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/packet-receipt.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/unreceived-acks.md (100%) rename pages/{ => reference}/seid/query/ibc/channel/unreceived-packets.md (100%) rename pages/{ => reference}/seid/query/ibc/client.md (100%) rename pages/{ => reference}/seid/query/ibc/client/_meta.json (100%) rename pages/{ => reference}/seid/query/ibc/client/consensus-state-heights.md (100%) rename pages/{ => reference}/seid/query/ibc/client/consensus-state.md (100%) rename pages/{ => reference}/seid/query/ibc/client/consensus-states.md (100%) rename pages/{ => reference}/seid/query/ibc/client/header.md (100%) rename pages/{ => reference}/seid/query/ibc/client/params.md (100%) rename pages/{ => reference}/seid/query/ibc/client/self-consensus-state.md (100%) rename pages/{ => reference}/seid/query/ibc/client/state.md (100%) rename pages/{ => reference}/seid/query/ibc/client/states.md (100%) rename pages/{ => reference}/seid/query/ibc/client/status.md (100%) rename pages/{ => reference}/seid/query/ibc/connection.md (100%) rename pages/{ => reference}/seid/query/ibc/connection/_meta.json (100%) rename pages/{ => reference}/seid/query/ibc/connection/connections.md (100%) rename pages/{ => reference}/seid/query/ibc/connection/end.md (100%) rename pages/{ => reference}/seid/query/ibc/connection/path.md (100%) rename pages/{ => reference}/seid/query/mint.md (100%) rename pages/{ => reference}/seid/query/mint/_meta.json (100%) rename pages/{ => reference}/seid/query/mint/minter.md (100%) rename pages/{ => reference}/seid/query/mint/params.md (100%) rename pages/{ => reference}/seid/query/oracle.md (100%) rename pages/{ => reference}/seid/query/oracle/_meta.json (100%) rename pages/{ => reference}/seid/query/oracle/actives.md (100%) rename pages/{ => reference}/seid/query/oracle/exchange-rates.md (100%) rename pages/{ => reference}/seid/query/oracle/feeder.md (100%) rename pages/{ => reference}/seid/query/oracle/params.md (100%) rename pages/{ => reference}/seid/query/oracle/price-snapshot-history.md (100%) rename pages/{ => reference}/seid/query/oracle/twaps.md (100%) rename pages/{ => reference}/seid/query/oracle/vote-penalty-counter.md (100%) rename pages/{ => reference}/seid/query/oracle/vote-targets.md (100%) rename pages/{ => reference}/seid/query/params.md (100%) rename pages/{ => reference}/seid/query/params/_meta.json (100%) rename pages/{ => reference}/seid/query/params/blockparams.md (100%) rename pages/{ => reference}/seid/query/params/cosmosgasparams.md (100%) rename pages/{ => reference}/seid/query/params/feesparams.md (100%) rename pages/{ => reference}/seid/query/params/subspace.md (100%) rename pages/{ => reference}/seid/query/slashing.md (100%) rename pages/{ => reference}/seid/query/slashing/_meta.json (100%) rename pages/{ => reference}/seid/query/slashing/params.md (100%) rename pages/{ => reference}/seid/query/slashing/signing-info.md (100%) rename pages/{ => reference}/seid/query/slashing/signing-infos.md (100%) rename pages/{ => reference}/seid/query/staking.md (91%) rename pages/{ => reference}/seid/query/staking/_meta.json (100%) rename pages/{ => reference}/seid/query/staking/delegation.md (100%) rename pages/{ => reference}/seid/query/staking/delegations-to.md (100%) rename pages/{ => reference}/seid/query/staking/delegations.md (100%) rename pages/{ => reference}/seid/query/staking/hex-address.md (100%) rename pages/{ => reference}/seid/query/staking/historical-info.md (100%) rename pages/{ => reference}/seid/query/staking/params.md (100%) rename pages/{ => reference}/seid/query/staking/pool.md (100%) rename pages/{ => reference}/seid/query/staking/redelegation.md (100%) rename pages/{ => reference}/seid/query/staking/redelegations-from.md (100%) rename pages/{ => reference}/seid/query/staking/redelegations.md (100%) rename pages/{ => reference}/seid/query/staking/unbonding-delegation.md (100%) rename pages/{ => reference}/seid/query/staking/unbonding-delegations-from.md (100%) rename pages/{ => reference}/seid/query/staking/unbonding-delegations.md (100%) rename pages/{ => reference}/seid/query/staking/validator.md (100%) rename pages/{ => reference}/seid/query/staking/validators.md (100%) rename pages/{ => reference}/seid/query/tendermint-validator-set.md (100%) rename pages/{ => reference}/seid/query/tokenfactory.md (100%) rename pages/{ => reference}/seid/query/tokenfactory/_meta.json (100%) rename pages/{ => reference}/seid/query/tokenfactory/denom-authority-metadata.md (100%) rename pages/{ => reference}/seid/query/tokenfactory/denoms-from-creator.md (100%) rename pages/{ => reference}/seid/query/tokenfactory/params.md (100%) rename pages/{ => reference}/seid/query/tx.md (100%) rename pages/{ => reference}/seid/query/txs.md (100%) rename pages/{ => reference}/seid/query/upgrade.md (100%) rename pages/{ => reference}/seid/query/upgrade/_meta.json (100%) rename pages/{ => reference}/seid/query/upgrade/applied.md (100%) rename pages/{ => reference}/seid/query/upgrade/module_versions.md (100%) rename pages/{ => reference}/seid/query/upgrade/plan.md (100%) rename pages/{ => reference}/seid/query/wasm.md (100%) rename pages/{ => reference}/seid/query/wasm/_meta.json (100%) rename pages/{ => reference}/seid/query/wasm/code-info.md (100%) rename pages/{ => reference}/seid/query/wasm/code.md (100%) rename pages/{ => reference}/seid/query/wasm/contract-history.md (100%) rename pages/{ => reference}/seid/query/wasm/contract-state.md (100%) rename pages/{ => reference}/seid/query/wasm/contract-state/_meta.json (100%) rename pages/{ => reference}/seid/query/wasm/contract-state/all.md (100%) rename pages/{ => reference}/seid/query/wasm/contract-state/raw.md (100%) rename pages/{ => reference}/seid/query/wasm/contract-state/smart.md (100%) rename pages/{ => reference}/seid/query/wasm/contract.md (100%) rename pages/{ => reference}/seid/query/wasm/libwasmvm-version.md (100%) rename pages/{ => reference}/seid/query/wasm/list-code.md (100%) rename pages/{ => reference}/seid/query/wasm/list-contract-by-code.md (100%) rename pages/{ => reference}/seid/query/wasm/pinned.md (100%) rename pages/{ => reference}/seid/rollback.md (100%) rename pages/{ => reference}/seid/start.md (100%) rename pages/{ => reference}/seid/status.md (100%) rename pages/{ => reference}/seid/tendermint.md (100%) rename pages/{ => reference}/seid/tendermint/_meta.json (100%) rename pages/{ => reference}/seid/tendermint/debug.md (100%) rename pages/{ => reference}/seid/tendermint/debug/_meta.json (100%) rename pages/{ => reference}/seid/tendermint/debug/dump.md (100%) rename pages/{ => reference}/seid/tendermint/debug/kill.md (100%) rename pages/{ => reference}/seid/tendermint/gen-node-key.md (100%) rename pages/{ => reference}/seid/tendermint/gen-validator.md (100%) rename pages/{ => reference}/seid/tendermint/inspect.md (100%) rename pages/{ => reference}/seid/tendermint/key-migrate.md (100%) rename pages/{ => reference}/seid/tendermint/light.md (100%) rename pages/{ => reference}/seid/tendermint/reindex-event.md (100%) rename pages/{ => reference}/seid/tendermint/replay-console.md (100%) rename pages/{ => reference}/seid/tendermint/replay.md (100%) rename pages/{ => reference}/seid/tendermint/reset.md (100%) rename pages/{ => reference}/seid/tendermint/reset/_meta.json (100%) rename pages/{ => reference}/seid/tendermint/reset/blockchain.md (100%) rename pages/{ => reference}/seid/tendermint/reset/peers.md (100%) rename pages/{ => reference}/seid/tendermint/reset/unsafe-all.md (100%) rename pages/{ => reference}/seid/tendermint/reset/unsafe-signer.md (100%) rename pages/{ => reference}/seid/tendermint/show-address.md (100%) rename pages/{ => reference}/seid/tendermint/show-node-id.md (100%) rename pages/{ => reference}/seid/tendermint/show-validator.md (100%) rename pages/{ => reference}/seid/tendermint/snapshot.md (100%) rename pages/{ => reference}/seid/tendermint/unsafe-reset-all.md (100%) rename pages/{ => reference}/seid/tendermint/version.md (100%) rename pages/{ => reference}/seid/tools.md (100%) rename pages/{ => reference}/seid/tools/_meta.json (100%) rename pages/{ => reference}/seid/tools/scan-tx.md (100%) rename pages/{ => reference}/seid/tx.md (100%) rename pages/{ => reference}/seid/tx/_meta.json (100%) rename pages/{ => reference}/seid/tx/accesscontrol.md (100%) rename pages/{ => reference}/seid/tx/accesscontrol/_meta.json (100%) rename pages/{ => reference}/seid/tx/accesscontrol/register-wasm-dependency-mapping.md (100%) rename pages/{ => reference}/seid/tx/accesscontrol/update-resource-dependency-mapping.md (100%) rename pages/{ => reference}/seid/tx/authz.md (100%) rename pages/{ => reference}/seid/tx/authz/_meta.json (100%) rename pages/{ => reference}/seid/tx/authz/exec.md (100%) rename pages/{ => reference}/seid/tx/authz/grant.md (100%) rename pages/{ => reference}/seid/tx/authz/revoke.md (100%) rename pages/{ => reference}/seid/tx/bank.md (100%) rename pages/{ => reference}/seid/tx/bank/_meta.json (100%) rename pages/{ => reference}/seid/tx/bank/send.md (100%) rename pages/{ => reference}/seid/tx/broadcast.md (100%) rename pages/{ => reference}/seid/tx/crisis.md (100%) rename pages/{ => reference}/seid/tx/crisis/_meta.json (100%) rename pages/{ => reference}/seid/tx/crisis/invariant-broken.md (100%) rename pages/{ => reference}/seid/tx/decode.md (100%) rename pages/{ => reference}/seid/tx/dex.md (100%) rename pages/{ => reference}/seid/tx/dex/_meta.json (100%) rename pages/{ => reference}/seid/tx/dex/add-asset-proposal.md (100%) rename pages/{ => reference}/seid/tx/dex/cancel-orders.md (100%) rename pages/{ => reference}/seid/tx/dex/contract-deposit-rent.md (100%) rename pages/{ => reference}/seid/tx/dex/register-contract.md (100%) rename pages/{ => reference}/seid/tx/dex/register-pairs.md (100%) rename pages/{ => reference}/seid/tx/dex/unregister-contract.md (100%) rename pages/{ => reference}/seid/tx/dex/unsuspend-contract.md (100%) rename pages/{ => reference}/seid/tx/dex/update-price-tick-size.md (100%) rename pages/{ => reference}/seid/tx/dex/update-quantity-tick-size.md (100%) rename pages/{ => reference}/seid/tx/distribution.md (100%) rename pages/{ => reference}/seid/tx/distribution/_meta.json (100%) rename pages/{ => reference}/seid/tx/distribution/fund-community-pool.md (100%) rename pages/{ => reference}/seid/tx/distribution/set-withdraw-addr.md (100%) rename pages/{ => reference}/seid/tx/distribution/withdraw-all-rewards.md (100%) rename pages/{ => reference}/seid/tx/distribution/withdraw-rewards.md (100%) rename pages/{ => reference}/seid/tx/encode.md (100%) rename pages/{ => reference}/seid/tx/epoch.md (100%) rename pages/{ => reference}/seid/tx/evidence.md (100%) rename pages/{ => reference}/seid/tx/evm.md (100%) rename pages/{ => reference}/seid/tx/evm/_meta.json (100%) rename pages/{ => reference}/seid/tx/evm/add-erc-cw20-pointer.md (100%) rename pages/{ => reference}/seid/tx/evm/add-erc-cw721-pointer.md (100%) rename pages/{ => reference}/seid/tx/evm/add-erc-native-pointer.md (100%) rename pages/{ => reference}/seid/tx/evm/associate-address.md (100%) rename pages/{ => reference}/seid/tx/evm/associate-contract-address.md (100%) rename pages/{ => reference}/seid/tx/evm/call-contract.md (97%) rename pages/{ => reference}/seid/tx/evm/call-precompile.md (98%) rename pages/{ => reference}/seid/tx/evm/deploy-wsei.md (98%) rename pages/{ => reference}/seid/tx/evm/deploy.md (100%) rename pages/{ => reference}/seid/tx/evm/erc20-send.md (97%) rename pages/{ => reference}/seid/tx/evm/native-send.md (100%) rename pages/{ => reference}/seid/tx/evm/register-cw-pointer.md (100%) rename pages/{ => reference}/seid/tx/evm/register-evm-pointer.md (100%) rename pages/{ => reference}/seid/tx/evm/send.md (100%) rename pages/{ => reference}/seid/tx/feegrant.md (100%) rename pages/{ => reference}/seid/tx/feegrant/_meta.json (100%) rename pages/{ => reference}/seid/tx/feegrant/grant.md (100%) rename pages/{ => reference}/seid/tx/feegrant/revoke.md (100%) rename pages/{ => reference}/seid/tx/gov.md (100%) rename pages/{ => reference}/seid/tx/gov/_meta.json (100%) rename pages/{ => reference}/seid/tx/gov/deposit.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/_meta.json (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/cancel-software-upgrade.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/clear-contract-admin.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/community-pool-spend.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/execute-contract.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/ibc-upgrade.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/instantiate-contract.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/migrate-contract.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/param-change.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/pin-codes.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/set-contract-admin.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/software-upgrade.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/sudo-contract.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/unpin-codes.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/update-client.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/update-instantiate-config.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/update-minter.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/update-resource-dependency-mapping.md (100%) rename pages/{ => reference}/seid/tx/gov/submit-proposal/wasm-store.md (100%) rename pages/{ => reference}/seid/tx/gov/vote.md (100%) rename pages/{ => reference}/seid/tx/gov/weighted-vote.md (100%) rename pages/{ => reference}/seid/tx/ibc-transfer.md (100%) rename pages/{ => reference}/seid/tx/ibc-transfer/_meta.json (100%) rename pages/{ => reference}/seid/tx/ibc-transfer/transfer.md (100%) rename pages/{ => reference}/seid/tx/ibc.md (100%) rename pages/{ => reference}/seid/tx/ibc/_meta.json (100%) rename pages/{ => reference}/seid/tx/ibc/channel.md (100%) rename pages/{ => reference}/seid/tx/ibc/client.md (100%) rename pages/{ => reference}/seid/tx/ibc/client/_meta.json (100%) rename pages/{ => reference}/seid/tx/ibc/client/create.md (100%) rename pages/{ => reference}/seid/tx/ibc/client/misbehaviour.md (100%) rename pages/{ => reference}/seid/tx/ibc/client/update.md (100%) rename pages/{ => reference}/seid/tx/ibc/client/upgrade.md (100%) rename pages/{ => reference}/seid/tx/multisign.md (100%) rename pages/{ => reference}/seid/tx/oracle.md (100%) rename pages/{ => reference}/seid/tx/oracle/_meta.json (100%) rename pages/{ => reference}/seid/tx/oracle/aggregate-vote.md (100%) rename pages/{ => reference}/seid/tx/oracle/set-feeder.md (100%) rename pages/{ => reference}/seid/tx/sign-batch.md (100%) rename pages/{ => reference}/seid/tx/sign.md (98%) rename pages/{ => reference}/seid/tx/slashing.md (100%) rename pages/{ => reference}/seid/tx/slashing/_meta.json (100%) rename pages/{ => reference}/seid/tx/slashing/unjail.md (100%) rename pages/{ => reference}/seid/tx/staking.md (100%) rename pages/{ => reference}/seid/tx/staking/_meta.json (100%) rename pages/{ => reference}/seid/tx/staking/create-validator.md (100%) rename pages/{ => reference}/seid/tx/staking/delegate.md (100%) rename pages/{ => reference}/seid/tx/staking/edit-validator.md (100%) rename pages/{ => reference}/seid/tx/staking/redelegate.md (100%) rename pages/{ => reference}/seid/tx/staking/unbond.md (100%) rename pages/{ => reference}/seid/tx/tokenfactory.md (100%) rename pages/{ => reference}/seid/tx/tokenfactory/_meta.json (100%) rename pages/{ => reference}/seid/tx/tokenfactory/burn.md (100%) rename pages/{ => reference}/seid/tx/tokenfactory/change-admin.md (100%) rename pages/{ => reference}/seid/tx/tokenfactory/create-denom.md (100%) rename pages/{ => reference}/seid/tx/tokenfactory/mint.md (100%) rename pages/{ => reference}/seid/tx/tokenfactory/set-denom-metadata.md (100%) rename pages/{ => reference}/seid/tx/validate-signatures.md (100%) rename pages/{ => reference}/seid/tx/vesting.md (100%) rename pages/{ => reference}/seid/tx/vesting/_meta.json (100%) rename pages/{ => reference}/seid/tx/vesting/create-vesting-account.md (97%) rename pages/{ => reference}/seid/tx/wasm.md (100%) rename pages/{ => reference}/seid/tx/wasm/_meta.json (100%) rename pages/{ => reference}/seid/tx/wasm/clear-contract-admin.md (100%) rename pages/{ => reference}/seid/tx/wasm/execute.md (100%) rename pages/{ => reference}/seid/tx/wasm/instantiate.md (100%) rename pages/{ => reference}/seid/tx/wasm/migrate.md (100%) rename pages/{ => reference}/seid/tx/wasm/set-contract-admin.md (100%) rename pages/{ => reference}/seid/tx/wasm/store.md (100%) rename pages/{ => reference}/seid/validate-genesis.md (100%) rename pages/{ => reference}/seid/version.md (100%) delete mode 100644 pages/user-guides/_meta.json delete mode 100644 pages/user-quickstart.mdx create mode 100644 public/assets/sei-icon.png diff --git a/package.json b/package.json index a4ae7621..836328c0 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@mantine/hooks": "^7.10.1", "@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..01cbdecb 100644 --- a/pages/_app.mdx +++ b/pages/_app.mdx @@ -1,5 +1,4 @@ import '@rainbow-me/rainbowkit/styles.css'; -import '@mantine/core/styles.css'; import '@mantine/code-highlight/styles.css'; import '../styles/globals.css'; import '../styles/custom.css'; 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..27af7ca2 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -1,55 +1,22 @@ { - "-- General": { - "type": "separator", - "title": "General" + "learn": { + "title": "Learn", + "type": "page" }, - "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" + "build": { + "title": "Build", + "type": "page" }, - "user-quickstart": "Quickstart", - "user-guides": "User Guides", - "user-FAQ": "FAQ", - "user-ecosystem-apps": { - "display": "hidden" + "node": { + "title": "Operate", + "type": "page" }, - "-- For Developers": { - "type": "separator", - "title": "For Developers" + "reference": { + "title": "Reference", + "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" - }, - "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..c57400e0 --- /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 99% rename from pages/dev-tutorials/building-a-frontend.mdx rename to pages/build/building-a-frontend.mdx index 28ab6f6d..b19ab6dc 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 ``` @@ -228,7 +228,7 @@ Before starting, ensure you have: If you're starting a project from scratch, we recommend 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 99% rename from pages/dev-tutorials/cosmwasm-general.mdx rename to pages/build/cosmwasm-general.mdx index fff8f50e..e4801f6d 100644 --- a/pages/dev-tutorials/cosmwasm-general.mdx +++ b/pages/build/cosmwasm-general.mdx @@ -17,7 +17,7 @@ CosmWasm architecture prevents almost all the known risk vectors of Ethereum. CosmWasm runs the Web Assembly, Wasm virtual machine guarantees high performance. -**Interoperable** +**Interoprable** CosmWasm was built for multi-chain, cross-chain world, deeply integrated with IBC (Inter-blockchain communication). @@ -46,7 +46,7 @@ use cosmwasm_std::{ entry_point, to_binary, Binary, Deps, DepsMut, Empty, Env, MessageInfo, Response, StdResult, }; -// serde is a serialization/deserialization library +// serde is a serialization/deserilization library use serde::{Deserialize, Serialize}; // Query response data structure 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..6320dcec --- /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'; + +# 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 97% rename from pages/dev-tutorials/nft-contract-tutorial.mdx rename to pages/build/nft-contract-tutorial.mdx index 70f61f3c..a1db80ad 100644 --- a/pages/dev-tutorials/nft-contract-tutorial.mdx +++ b/pages/build/nft-contract-tutorial.mdx @@ -14,7 +14,7 @@ This tutorial guides you through the creation and deployment of an NFT contract -In this section, we'll use Foundry to deploy an ERC-721 contract to the Ethereum network. ERC-721 is a standard for NFT contracts on Ethereum. Learn more about ERC-721 [here](https://erc721.org/). +In this section, we'll use Foundry to deploy an ERC-721 contract to the Ethereum network. ERC-721 is a standard for NFT contracts on Ethereum. Learm more about ERC-721 [here](https://erc721.org/). ## Requirements @@ -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-advanced-concepts/fee-grants.mdx b/pages/dev-advanced-concepts/fee-grants.mdx deleted file mode 100644 index d38a7c0d..00000000 --- a/pages/dev-advanced-concepts/fee-grants.mdx +++ /dev/null @@ -1,198 +0,0 @@ -# Fee Grants - -Fee grants allow an account to pay for the transaction fees of another account, which is especially useful for onboarding new users who might not have enough tokens to cover transaction fees. Fee grants use the [Cosmos Fee Grant](https://docs.cosmos.network/v0.46/modules/feegrant/01_concepts.html#) module and can be set up so that one account (the granter) can pay for the transaction fees of another account (the grantee). The granter specifies conditions under which the fees will be paid as well as limits. - -## Fee Allowance types -- [BasicAllowance](https://docs.cosmos.network/v0.46/modules/feegrant/01_concepts.html#basicallowance) -`BasicAllowance` implements Allowance with a one-time grant of tokens that optionally expires. The grantee can use up to SpendLimit to cover fees. - -- [PeriodicAllowance](https://docs.cosmos.network/v0.46/modules/feegrant/01_concepts.html#periodicallowance) - `PeriodicAllowance` extends Allowance to allow for both a maximum cap, and a limit per time period. - -- [AllowedMsgAllowance](https://docs.cosmos.network/v0.46/modules/feegrant/01_concepts.html#allowedmsgallowance) - `AllowedMsgAllowance` creates allowance only for specified message types. - -## Granting - -### seid - -`seid tx feegrant grant [granter_key_or_address] [grantee] [flags]` - -#### Flags -``` -Flags: - -a, --account-number uint The account number of the signing account (offline mode only) - --allowed-messages strings Set of allowed messages for fee allowance - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "sync") - --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) - --expiration string The RFC 3339 timestamp after which the grant expires for the user - --fee-account string Fee account pays fees for the transaction instead of deducting from the signer - --fees string Fees to pay along with transaction; eg: 10uatom - --from string Name or address of private key with which to sign - --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) - --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) - --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) - --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) - -h, --help help for grant - --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "os") - --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used - --ledger Use a connected Ledger device - --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") - --note string Note to add a description to the transaction (previously --memo) - --offline Offline mode (does not allow any online functionality - -o, --output string Output format (text|json) (default "json") - --period int period specifies the time duration in which period_spend_limit coins can be spent before that allowance is reset - --period-limit string period limit specifies the maximum number of coins that can be spent in the period - -s, --sequence uint The sequence number of the signing account (offline mode only) - --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature - --spend-limit string Spend limit specifies the max limit can be used, if not mentioned there is no limit - --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height - -y, --yes Skip tx broadcasting prompt confirmation -``` - -### cosmjs - -```jsx -const { SigningStargateClient, GasPrice } = require("@cosmjs/stargate"); -const { DirectSecp256k1HdWallet } = require("@cosmjs/proto-signing"); - -async function grantFeeGrant(rpcEndpoint, granterMnemonic, granteeAddress) { - const granterWallet = await DirectSecp256k1HdWallet.fromMnemonic(granterMnemonic, { prefix: "sei" }); - const [granterAccount] = await granterWallet.getAccounts(); - - const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, granterWallet, { - gasPrice: GasPrice.fromString("0.025usei"), - }); - - const msg = { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value: { - granter: granterAccount.address, - grantee: granteeAddress, - allowance: { - typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance", - value: { - spendLimit: [{ denom: "usei", amount: "1000000" }], - expiration: null, - }, - }, - }, - }; - - const fee = { - amount: [{ denom: "usei", amount: "5000" }], - gas: "200000", - }; - - const result = await client.signAndBroadcast(granterAccount.address, [msg], fee); - console.log(result); -} - -const rpcEndpoint = "https://rpc-endpoint"; -const granterMnemonic = "your-granter-mnemonic"; -const granteeAddress = "sei1granteeaddress"; - -grantFeeGrant(rpcEndpoint, granterMnemonic, granteeAddress); -``` - -## Revoking - -### seid - -`seid tx feegrant revoke [granter] [grantee] [flags]` - -#### Flags -``` -Flags: - -a, --account-number uint The account number of the signing account (offline mode only) - -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "sync") - --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) - --fee-account string Fee account pays fees for the transaction instead of deducting from the signer - --fees string Fees to pay along with transaction; eg: 10uatom - --from string Name or address of private key with which to sign - --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) - --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) - --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) - --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) - -h, --help help for revoke - --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "os") - --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used - --ledger Use a connected Ledger device - --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") - --note string Note to add a description to the transaction (previously --memo) - --offline Offline mode (does not allow any online functionality - -o, --output string Output format (text|json) (default "json") - -s, --sequence uint The sequence number of the signing account (offline mode only) - --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature - --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height - -y, --yes Skip tx broadcasting prompt confirmation -``` - -### cosmjs - -```jsx -const { SigningStargateClient, GasPrice } = require("@cosmjs/stargate"); -const { DirectSecp256k1HdWallet } = require("@cosmjs/proto-signing"); - -async function revokeFeeGrant(rpcEndpoint, granterMnemonic, granteeAddress) { - const granterWallet = await DirectSecp256k1HdWallet.fromMnemonic(granterMnemonic, { prefix: "sei" }); - const [granterAccount] = await granterWallet.getAccounts(); - - const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, granterWallet, { - gasPrice: GasPrice.fromString("0.025usei"), - }); - - const msg = { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value: { - granter: granterAccount.address, - grantee: granteeAddress, - }, - }; - - const fee = { - amount: [{ denom: "usei", amount: "5000" }], - gas: "200000", - }; - - const result = await client.signAndBroadcast(granterAccount.address, [msg], fee); - console.log(result); -} - -const rpcEndpoint = "https://rpc-endpoint"; -const granterMnemonic = "your-granter-mnemonic"; -const granteeAddress = "sei1granteeaddress"; - -revokeFeeGrant(rpcEndpoint, granterMnemonic, granteeAddress); -``` - -## Usage -### seid -Execute any transaction as normal, but add the `--fee-granter` flag to specify the granter account. - -### cosmjs - -[CosmJS Stargate StdFee](https://cosmos.github.io/cosmjs/latest/stargate/interfaces/StdFee.html) object has a `granter` field that can be used to specify the fee granter address. - -```jsx -const { DirectSecp256k1HdWallet } = require("@cosmjs/proto-signing"); -const { SigningStargateClient } = require("@cosmjs/stargate"); - -const wallet = await DirectSecp256k1HdWallet.fromMnemonic(YOUR_MNEMONIC, { prefix: "cosmos" }); - const client = await SigningStargateClient.connectWithSigner(RPC_URL, wallet); - - const amount = { denom: "usei", amount: "1000000" }; - - const fee = { - amount: [amount], - gas: "200000", // gas limit - granter: FEE_GRANTER_ADDRESS, - }; - - const txResult = await client.sendTokens(SENDER_ADDRESS, RECIPIENT_ADDRESS, [amount], fee, "Sending with fee granter"); - -``` - -## Usage with EVM precompiles - -This feature is coming soon. 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/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-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 deleted file mode 100644 index 43c251cb..00000000 --- a/pages/index.mdx +++ /dev/null @@ -1,15 +0,0 @@ -import { Cards, Card } from 'nextra/components'; -import { GanttChartSquare, Wallet, Wrench } from 'lucide-react'; -import { DeveloperSurveyCallout } from '../components'; - - - -# Introducing Sei - -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. - - - } /> - } /> - } /> - diff --git a/pages/learn/_meta.json b/pages/learn/_meta.json new file mode 100644 index 00000000..4c0d61a5 --- /dev/null +++ b/pages/learn/_meta.json @@ -0,0 +1,84 @@ +{ + "-- Getting Started": { + "type": "separator", + "title": "Getting Started" + }, + "index": "Home", + "general-overview": "About Sei", + "user-quickstart": "Quickstart", + "differences-with-ethereum": "Differences from Ethereum", + "dev-chains": "Chain Setup", + + "-- Onboarding Essentials": { + "type": "separator", + "title": "Onboarding Essentials" + }, + "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", + "bridging": "Bridging Assets to Sei", + "hardware-wallets": "Using Hardware Wallets", + + "-- 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 100% rename from pages/user-guides/bridging.mdx rename to pages/learn/bridging.mdx 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 77% rename from pages/dev-interoperability.mdx rename to pages/learn/dev-interoperability.mdx index 523bf15a..fbebd4e7 100644 --- a/pages/dev-interoperability.mdx +++ b/pages/learn/dev-interoperability.mdx @@ -1,12 +1,12 @@ -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 EVM and CosmWasm based smart contracts co-exist on Sei, but live in different execution environments. This creates a challenge for users, who use wallets that typically only support a single execution environment. -Likewise for developers, existing tooling and libraries can only interact with either EVM or Wasm (Think EthersJS vs CosmJS). +Likewise for devlelopers, existing tooling and libraries can only interact with either EVM or Wasm (Think EthersJS vs CosmJS). To bridge the gap between EVM and Wasm, Sei has introduced two interoperability features, allowing for smooth and easy interactions between both environments. Precompiled EVM contracts and Pointer Contracts enable all contracts to be accessible from both VM environments. @@ -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 100% rename from pages/dev-advanced-concepts/differences-with-ethereum.mdx rename to pages/learn/differences-with-ethereum.mdx 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/learn/fee-grants.mdx b/pages/learn/fee-grants.mdx new file mode 100644 index 00000000..40d68763 --- /dev/null +++ b/pages/learn/fee-grants.mdx @@ -0,0 +1,120 @@ +import { CodeBlock } from '../../components/CodeBlock'; + +# Fee Grants + +Fee grants allow an account to pay for the transaction fees of another account, which is especially useful for onboarding new users who might not have enough tokens to cover transaction fees. + +## Fee Allowance Types + +Fee grants use the Cosmos Fee Grant module and can be set up so that one account (the granter) can pay for the transaction fees of another account (the grantee). The granter specifies conditions under which the fees will be paid as well as limits. + +- **BasicAllowance**: Implements Allowance with a one-time grant of tokens that optionally expires. The grantee can use up to SpendLimit to cover fees. +- **PeriodicAllowance**: Extends Allowance to allow for both a maximum cap, and a limit per time period. +- **AllowedMsgAllowance**: Creates allowance only for specified message types. + +## Granting + +### Using CLI + + + +### Using CosmJS + + 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..8bcac519 --- /dev/null +++ b/pages/learn/index.mdx @@ -0,0 +1,101 @@ +import { IconBolt, IconClipboardText, IconCoins, IconLayoutDashboard, IconLock, IconServer } from '@tabler/icons-react'; +import { LinkCard } from '../../components'; + +Sei Icon + +# Sei Network Documentation + +Discover Sei Features, Integrations and Usage. + +
+ } + title='Differences with 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='Exploring Token Standards' + link='/build/dev-token-standards' + description={`Learn Sei's token standards for effective development.`} + preview={{ + content: "Explore Sei's token standards designed for interoperability and security.", + highlights: [ + "Standardized fungible and non-fungible tokens", + "Compatibility with EVM ecosystems", + "Focus on performance and scalability", + "Security measures to prevent misuse", + ], + }} + /> + } + 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='Developing Smart Contracts' + link='/build/dev-smart-contracts' + description={`Create and deploy smart contracts on Sei.`} + preview={{ + content: "Learn how to create and deploy secure, efficient smart contracts on Sei.", + highlights: [ + "Sei's smart contract architecture", + "Common patterns and best practices", + "Testing and deploying contracts", + "Integration with dApps and other tools", + ], + }} + /> + } + title='Building a Frontend Interface' + link='/build/building-a-frontend' + description={`Craft user-friendly dApp frontends on Sei.`} + preview={{ + content: "Craft intuitive and performant frontend interfaces for your Sei-based applications.", + highlights: [ + "Frontend frameworks and tools", + "Connecting the frontend with Sei's backend", + "Performance optimization techniques", + "UI/UX design best practices", + ], + }} + /> + } + title='Running a Validator Node' + link='/node/overview' + description={`Set up and manage a validator node on Sei.`} + preview={{ + content: "Learn how to set up and manage a validator node on Sei to participate in network consensus.", + highlights: [ + "Requirements for running a validator node", + "Node setup and configuration", + "Monitoring and maintaining uptime", + "Validator incentives and penalties", + ], + }} + /> +
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..2ace96f9 --- /dev/null +++ b/pages/learn/user-quickstart.mdx @@ -0,0 +1,133 @@ +--- +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: + + + +## 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. + +We recommend [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 98% rename from pages/dev-advanced-concepts/wallet-association.mdx rename to pages/learn/wallet-association.mdx index 1154070e..f610172d 100644 --- a/pages/dev-advanced-concepts/wallet-association.mdx +++ b/pages/learn/wallet-association.mdx @@ -7,7 +7,7 @@ next: true Wallet association on the Sei network ensures the public key becomes known to the chain. Without this step, the chain cannot determine the Bech32 (`sei...`) address or the EVM-compatible (`0x...`) address from one another. -Below are **4 distinct methods** for associating a wallet along with relevant definitions. Each method differs in terms of security considerations and required actions. +Below are **4 distinct methods** for associating a wallet along with relevant defitnitions. Each method differs in terms of security considerations and required actions. --- 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..d7a72d18 --- /dev/null +++ b/pages/node/_meta.json @@ -0,0 +1,37 @@ +{ + "index": "Home", + "-- Introduction": { + "type": "separator", + "title": "Introduction" + }, + "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" + } + \ No newline at end of file diff --git a/pages/dev-node/configure-general-settings.mdx b/pages/node/configure-general-settings.mdx similarity index 96% rename from pages/dev-node/configure-general-settings.mdx rename to pages/node/configure-general-settings.mdx index 4d8b4cd5..242fd9cf 100644 --- a/pages/dev-node/configure-general-settings.mdx +++ b/pages/node/configure-general-settings.mdx @@ -8,7 +8,7 @@ Structure of ~/.sei/config │-- app.toml # seid configuration file │-- client.toml # configurations for the cli wallet (ex seid) │-- config.toml # Tendermint configuration file -│-- genesis.json # genesis transactions +│-- genesis.json # gensesis transactions │-- node_key.json # private key used for node authentication in the p2p protocol (its corresponding public key is the nodeid) └-- priv_validator_key.json # key used by the validator on the node to sign blocks ``` diff --git a/pages/node/index.mdx b/pages/node/index.mdx new file mode 100644 index 00000000..0723ea1a --- /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'; + +# 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 99% rename from pages/dev-node/quickstart.mdx rename to pages/node/quickstart.mdx index 5bfe917d..2cef6020 100644 --- a/pages/dev-node/quickstart.mdx +++ b/pages/node/quickstart.mdx @@ -116,7 +116,7 @@ Before running the script, take a moment to understand the configurable paramete - The script will download the specified version, extract it, and install it using `make install`. - If `enable_unsafe_reset` is `True`, it will reset the Tendermint state and any existing configs + keys. - The script will initialize the node with the given moniker and chain ID. - - For non-local environments, it will fetch state sync parameters, persistent peers, and appropriate genesis file. + - For non-local environments, it will fetch state sync parameters, persistent peers, and apropriate genesis file. 5. **Configuration Files**: 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..92b0b725 --- /dev/null +++ b/pages/providers/_meta.json @@ -0,0 +1,21 @@ +{ + "ecosystem-map": "Ecosystem Map", + "-- 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/dev-ecosystem-providers/ecosystem-map.mdx b/pages/providers/ecosystem-map.mdx similarity index 98% rename from pages/dev-ecosystem-providers/ecosystem-map.mdx rename to pages/providers/ecosystem-map.mdx index b22deb31..5e1ba2bc 100644 --- a/pages/dev-ecosystem-providers/ecosystem-map.mdx +++ b/pages/providers/ecosystem-map.mdx @@ -15,7 +15,7 @@ Sei Ecosystem is the epicenter of technological advancement, bringing together c -## Infrastructure +## Infastructure 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 96% rename from pages/dev-ecosystem-providers/indexers/goldrush.mdx rename to pages/providers/indexers/goldrush.mdx index c526738f..58c115fa 100644 --- a/pages/dev-ecosystem-providers/indexers/goldrush.mdx +++ b/pages/providers/indexers/goldrush.mdx @@ -45,7 +45,7 @@ on each for an address. There are 4 primary developer tools for using the APIs: -1. [GoldRush APIs](https://goldrush.dev/docs/api) - enterprise-grade REST APIs to use with any programming language. Switch blockchains with one path parameter. +1. [GoldRush APIs](https://goldrush.dev/docs/api) - enteprise-grade REST APIs to use with any programming language. Switch blockchains with one path parameter. ```sh curl -X GET https://api.covalenthq.com/v1/sei-mainnet/address/0x6d68A318D0632f7B9Ce9d6757Dea0e9dE19D7CCA/balances_v2/ \ 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..46f83a99 --- /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' + +# 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/dev-interoperability/precompiles/_meta.json b/pages/reference/precompiles/_meta.json similarity index 100% rename from pages/dev-interoperability/precompiles/_meta.json rename to pages/reference/precompiles/_meta.json 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 96% rename from pages/dev-interoperability/precompiles/bank.mdx rename to pages/reference/precompiles/bank.mdx index cea73712..70d52938 100644 --- a/pages/dev-interoperability/precompiles/bank.mdx +++ b/pages/reference/precompiles/bank.mdx @@ -37,7 +37,7 @@ This precompile enables EVM clients to interact with the bank module. ``` ### Queries -- `balance`: Queries the balance of the given account for specified denom. +- `balance`: Queries the balance of the given acount for specified denom. ```solidity /// Queries the balance of the given account for the specified denom. /// @param acc The Sei address of the account to query. @@ -48,7 +48,7 @@ This precompile enables EVM clients to interact with the bank module. string memory denom ) external view returns (uint256 amount); ``` -- `all_balances`: Queries all balances of the given account. +- `all_balances`: Queries all balances of the given acount. ```solidity /// Queries the balance of the given account for all balances. /// @param acc The Sei address of the account to query. diff --git a/pages/dev-interoperability/precompiles/cosmwasm.mdx b/pages/reference/precompiles/cosmwasm.mdx similarity index 97% rename from pages/dev-interoperability/precompiles/cosmwasm.mdx rename to pages/reference/precompiles/cosmwasm.mdx index 1e2dd104..9ceb041b 100644 --- a/pages/dev-interoperability/precompiles/cosmwasm.mdx +++ b/pages/reference/precompiles/cosmwasm.mdx @@ -70,7 +70,7 @@ This precompile serves as an interface to the CosmWasm module, enabling EVM base ```solidity /// Queries a CosmWasm contract. /// @param contractAddress The Sei address of the contract to query. - /// @param req The query request object. The format is specified by the contract code. + /// @param req The query requeest object. The format is specified by the contract code. /// @return The response from the CosmWasm contract. function query( string memory contractAddress, 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 98% rename from pages/dev-interoperability/precompiles/oracle.mdx rename to pages/reference/precompiles/oracle.mdx index 687e4d24..67025bc2 100644 --- a/pages/dev-interoperability/precompiles/oracle.mdx +++ b/pages/reference/precompiles/oracle.mdx @@ -1,6 +1,6 @@ import { Callout } from "nextra/components"; -# Oracle Precompile +# Orcale Precompile **Address**: `0x0000000000000000000000000000000000001008` diff --git a/pages/dev-interoperability/precompiles/pointer.mdx b/pages/reference/precompiles/pointer.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/pointer.mdx rename to pages/reference/precompiles/pointer.mdx diff --git a/pages/dev-interoperability/precompiles/pointerview.mdx b/pages/reference/precompiles/pointerview.mdx similarity index 100% rename from pages/dev-interoperability/precompiles/pointerview.mdx rename to pages/reference/precompiles/pointerview.mdx 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/reference/seid/query/dex.md b/pages/reference/seid/query/dex.md new file mode 100644 index 00000000..2ddbd9a4 --- /dev/null +++ b/pages/reference/seid/query/dex.md @@ -0,0 +1,40 @@ +### `seid query dex` +```ansi +Querying commands for the dex module + +Usage: + seid query dex [flags] + seid query dex [command] + +Available Commands: + get-asset-list Query Asset List + get-asset-metadata Query Asset Metadata + get-latest-price Query getLatestPrice + get-match-result Query get match result by contract + get-order-count get number of orders at a price leve + get-orders Query get orders for account + get-orders-by-id Query get order by ID + get-price Query getPrice + get-prices Query getPrices + get-registered-contract Query Registered Contract + get-registered-pairs Query Registered Pairs + get-twaps Query getPrice + list-long-book list all longBook + list-short-book list all shortBook + params shows the parameters of the module + show-long-book shows a longBook + show-short-book shows a shortBook + +Flags: + -h, --help help for dex + +Global Flags: + --chain-id string The network chain ID + --home string directory for config and data (default "~/.sei") + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --trace print out full stack trace on errors + +Use "seid query dex [command] --help" for more information about a command. + +``` \ No newline at end of file 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/reference/seid/query/dex/get-order-count.md b/pages/reference/seid/query/dex/get-order-count.md new file mode 100644 index 00000000..fd1cf0af --- /dev/null +++ b/pages/reference/seid/query/dex/get-order-count.md @@ -0,0 +1,21 @@ +### `seid query dex get-order-count` +```ansi +get number of orders at a price leve + +Usage: + seid query dex get-order-count [contract] [price denom] [asset denom] [LONG|SHORT] [price] [flags] + +Flags: + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for get-order-count + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + -o, --output string Output format (text|json) (default "text") + +Global Flags: + --chain-id string The network chain ID + --home string directory for config and data (default "~/.sei") + --log_format string The logging format (json|plain) + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) + --trace print out full stack trace on errors + +``` \ No newline at end of file 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/sei-icon.png b/public/assets/sei-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4004a2d4fbbe744f73993a53348608bffed5f7a1 GIT binary patch literal 12615 zcmXYYbzGD0_x^wZqsHhOu+d$jbPlAXLsCFc5EMrDgwY_sqv)jv5&;BQXE~Ak$D+F#rH?BLBNU1lSP^mTVOE zg9xc^<^cfEa{hPWXc%xDU8254FEhdcY~YEDnuj zwYP@>8T4ZODo(0Q*AmlC;g#!?+gBD}j`lJ4)lcrM^@3EJ-|mrY&k2{MyxU`{LTz?e z)My;<|E_t_ecz6f(Kf_&6j23ayGz{H2)1I9Mahqtr}4lidFi;0<~LO|0%h}_d%1daC^w(Dd>=8=@P9lXY5H)!>~Orbo~#HZ z8)pzVFR%PnuFTprv)Tp}!Rf>45(NP(W@*bqA%}mOi|nRPsFZU!JY>2ssf$ zQ*0B_noO8V102fO7mh~RrmnCB6DX;RQ}y+Ffbc>1%K2sxaCToNZWuBA8!3oz5=IT9 z1rc?_p|aB&CO%ch0U-P+^-*$VLYeJFe%u-uR2IgcUe)P4!up(DHj0LJ#*YA_SMa)i zu^en7jwe|^!Wu8pBsy!P5QZQVsR4+vY_RV{B1=u>!)D=`L!=@^5$R50$Wl;50$?LF zuh`!aJ>4qAaZAw)5Rvg)F|9!D-87z|bHz%bnqf{jxyUkuGtu&>qda$>Xxa5#a{!Me znlGQR6iUoBhil#8O5{un7>(e|SHX^mf3$!B@f2zFR8v5y2po~m06iHa3Vg(RZLUsz zb4V+G@RA12;h|Uk)w^6sDRkqHiBwKEvLX|whtAZ>iZrYrdZe*=9%lR%(Dlof>$Wiq zwL>wE->>a;Kiqzf33Zvn4id2Tb{Hy-cTwNaaGd zmpM*z@*D(6|Hnd}dh_GU>K$R{_3iyz7(Ge9CgM-zVMpVr z3k3ie=^8jxnD%2&e2czAPkw%5CX?>6#?2q0}n~h)_w6zs2q=&zl zdv<+tEU(0Mg+wxIc*p082tl^8ir4$ObS_@B|9#2CTdr+H4`EA zil&(ybo7V4bEl#9r=w9FwjWM@@7J}9H|fJ%5X(D_RIG5)H_BmcdQZJ*mlOFeCh4I- zLeS%R7fSJLaRhxADv0%{Qp*zq>$TZy{aYGS($iYjWxSy{)A>|X-j=MK$T{`(P8vj9 z-I829Hi{2g8)0k9`_$rEX8QvIO=@ju0V28|spY;u&#eZxa>Z~#kp%t95MnAAM_?GA zEros<9@_Sq8#(L5Z?B{N?0U@&4oY=5CUr`-FW+gxJXH`KoyPnE)D*o{b1XQ+vf zQ*#C&q*P`Bg|lKh-Q}MG?=LqGrrw+p*x8pfjZAT)^URfuz~8OBr017zvkX1iF9}wj z^yg8PJ&PkJ%p4M7&h%WD01gN`rj%M0{O5Aq>)Sq$zp;P11K$>dRl($9D96{5NRih_ zkq%CJgmluZU8S|-`xco`$j+<6M9iAB+=*Hv?)yP1zboEnjuXF|S8Dg!+q)W~9ma(( z3fxvSp9%(pB1Dhq7}0sre>S;vrxw#@+_vEKH#4Q9aO<%i8a)60p&lwz*z;1DrP}n7 zVPn})Q~OTZ#X^fFFw$5g2EGCl{E0u_M#myG>4H2Z00~YFZM2UT2|4eE^{4T zT#KtLoitUx^Z79;f8K*v`Pmky@3?Cd@atc(o~b!SaUNx61Q*{=us+B22Qf6P+g$hn z5f?vC?=P*HR`17%?q^?QeEibMVqXFAsk%G62X$5HU`9 zAvf6`J-`#k#WP$`1pSEYfcKSOtZR!xy9=xJ$WCCpFcT>oefrRk(Y)l!e@95lv?=ls zvXeFGYL5BKq8qfe@a`XcpFfqw0W~7aiPby|--qMyfHXXd&z8kc zuTh|k3{|JF7Squ*9OF!cCq&VrT-)tP2jW#q=pc^NIr^Q}#C0VY>-t-x^HKA1ME-Cy zRE3V8%Q@PZKYgp~nkJ*=oNq#&{aPkc(>fV5`N3ahwTNCQCQaijIPs zPYQ>^A(x7^#Z6ecqXD_^6YXs8b-~tCi|Y@rX$A$`Dh?9$-3GFAxZ{&K$d>M_pGm?i zwDM8Tt^q`Nh)t%YX?B#km9S$&Yl`qewthOdhHx8*BzW780xbD$k4ZmsFd;57qo%#^ zuRjerfu9}}#*@qAqO&PnjTAOtIylH2<+CvB{TlwaR3CymVCSE!9$zhtC|u%1Rb^!B zF1*;o1UJvQ0=pZWxG%4z7h~zXOkx5ttjXrmjwRh*L^hhCA~27`Fkv>o(pUN+M+>MA zvU&lM9j)Dby$O)0+|b@gJ$kk#&HerVD!UDc4rG0~)YP6vyL*!ij{ClzRo{ASz3?_a$YL_rL0( zkKm~QYh(n4sdRMEpPktFmNg@Lkkdu5$>&H1q+Us$n&tCSUS+c)8{?s5;?HN8B6IH- zsTdAr5qk@lNLo?@LHmm3hW<~C0cURcmD`@E(P~4`^4!A;)T!gvgAt#iYVGyZP$r#e zR)oBG5FbwVU;;VKXmn7xH*!{E$(pwZu7I=$jVzHYro!Rmb5b2fLF+arBtV3(gXnM? z=_T>G4O&UPBLAkn9!?1QV%&tpoL7^Y%$dj;nM>L17mE0pc=g(>60%(B3p{zJG}F9O z<~%bo+J|G|7Rf;Bn#3w`$$G|@cv#E2_n)Dbe6-_72<@_ooRpRJ zdV;p{5bwB60-gEnX22%Rz!E{o!t%heId@bRJzsX_v;3qN$y3z7X&LI*n{UtePR2y> zffm`8Z9}g2y9!kWbYu5Hx#BCT=|q-mhCg4k%|yfoSmanLw|Ar z5d|-j{oDij(YEG`c;B3#iXy^~oKN3y#8IX;Hm4a#seEr^v=^~Y_6vzyG#UILcWJkF zeW(6HU-N@>pq0)#WXJ~@(xDf_2uxE z270zEe!kRtr<$NEznokVzb2T(P${d;s3rZ=K*<3yKZbv4KR^-g2U7+9KXnucoBkC! z{qyWSru(<0v&Q86ImrF&qo$stq>AA~>=vaX8R3b#to|y=^Ea)&Jo5P_l5WOIF zFph`kDW3fbS5x!xuXwkU*Mf|)tA>}ZNV3bs_BxoUJGN~-Zz0MPi5J^oAts6(mQF!~ zqAD8bd)Rp=H9YOIk`;Lbinn(1J|d%B1HvB*`}Y(0-~FcB5ba)ySKfDVUs1F6u{x*V z`>slDB_{v{Q?UM-84gwy5!ZR9T^gzv@nD4@+`3h>w!M@xX7Ic)C$^271_IV!ea%P% z0Y!ZIox2vJyjxI=A5IdcAkiZ2YcKdFSCc2YD0FY8L3utHJ7c{nU~uJGTHD@(n`fMH zHXt1neflc-3+Y5b4^V`V`O-9%5h#`S_0W8HAKW@+I&b(;qE3y)wID?Bb3wwWmm{^C zseqfYTglV))8SO5K7^{E*cnAP%skDAWKK!W_v72QnU>O!vQ@5jCT7eyPKulmG*D7^t6$_(=X? zvhL(=;jmzD)K&OAg7@8>skq=O=I?L@X!YVL^0zBXg=fIG!PH~d9NTfOUb3SwA%vvS z10dd$$!b%nLdO9nbl#^%tD8I7r|S^6>m8#V*)4pgEu3IePyOY#g$2ys-B zjKu*IKiV8PnZ+b94}`ewsa73`OkJzuDnFV+hyZ#>CF$=zUS>ZCS`ViArkWV+D>I2X z`ff%8*myoSZk22pi8udW^4+J9}MDY*{Ns&|W6G{|@+3+O4BTSNet3Xc$ecc*|4Tx<*tWjJPDpF_^Cje_PKvqn-(c%H9 zUDNW4qWd)^iKziF=nPmet_oUvKn8#bMBHUM$;2J@YnomV03g(=FAtGDeG-7+9#enu z33N*$CSm_R83F)=*_U^wJ&p*4H|PKWkjz)jhx2wQ9KlKe0B(@HzmKpmJ61KlhXDYf zB!ja}?<-E`(_MDH$nIJI2>@o3taAos1g8lhp*#S^9`Q25-*1EHD_AJ7=*gJ5jK%ue zm9=0*Dge;eEcS2smunve-BnG6z3IA~gnzq7SIfr;fD!!OVD8HD=n2FFC{ll!kXbg} z3_c|T0Nfaweqz2(=+<@N4XMe4?eZiY04X+N-a8vU3@PA}1?WZ`c^1mJR`3E4SfpCi0$ z{Gl^xP_7|!JD{X;Gd5RmXMF|RImt$-5vFw2) zN?e?FxoEiRd#}l&*}OHkBmMCGx7|&*(OP;aHn!mJR>q*QNH~6MsOZ(%kleejcC=!t;w+q-|ephSvZ}`g? zL>6r>wtn&(5jTu&+M>Q74O?7lQo4S3`F=CEe{o`?lmNeu0^j+~#Au z>OUUfihXWv$%lSkr7h+sb}!0&l_4Sw%1M6V4NrkZ$=GVYr`5MxzU}{m+ku=g#~yRA zakn&Ns}>s3Mh{Y=sO~U#lsLpG9;q*;mEPoIV{$^j-0_eMRJh$*>dcZ$ro zDf{sKeSu$!!Hx7)=EIxPz|UVeng#J5GyHuP?cEtsYq`D?F!|hi0i4R75>viw$Re~ak>|365-`1C;_zmN^s{xymTsT@6ZBThq z_Gm+v`U?l2Cu>c+Ob526uO46KsqYiLa6c7bew~vo$L=UFj_?&;k(atQlUH09VfQ0W za%G7~FHdPIYo;Kb;5Kdv*b6R6>Lo0N(k6I4GP|9p1iK3B??fclmI`wCHK;}Q$b>e5 zv3FssJ!d1Ek-n6C(T!zCrVr6@+3H2am0Y|9xm{*wpkaNF~DwDr7BDI2E)(l+0Wof#flIG@gRPnw%mC!>YWyN<%n!*2C3b=8^N;__Ykvt5z&m}*# zsAcfILyxvUrd`oYZC$n?U}j)&-s^g@T%b+!r8m@APJm(qTAs23np+vRI5SdkHk7-q zR|6O-RyYenz{at%Fn_Tp!H}5KH@JNVe9O0?P zH(vF)O~*Dd?s6zpT2!pMBda0QV9XkkPoBdMI&Nyf=k8f|nR%B&ouhLvu?>nc0nmJz z$_?&6H&agy;ZA34JIBi=>02QSB8<1Elirp?)h`!*iSeQ5t$<*`TX2}5#p(p#I$uht zGV_2z9UL~=>k+of4wX%2MYHukA$k~PSwni<9D;6Yn^-_4DJ$im?U6(=ZCI0Y(H%?k^@9tW24 zdLh)^_F`vq^;!gD5eKaC5`LyuEIbx3o`?#7b zAG#7z&3PzEihs-qyXLD(V!A;D+El&Kx2=~;@c$3|n~n1tiw!Oh*GE^gO^t|moA>or zk=`zeU5-xm_EO4L3+cYVG644uL1N9WjaOF5n!Ew+GyOu@1+BFgq1`p3g3U?$HJl9Z z%^6MyDhS%G_;wD-4pb7?%WcXc=UQA`dgc5gx`$(iw$7JIazdBWaB)O)ru%zWYVVd| zb}R>EQ916$_1|OTavU!SUZ(uwHeZQ*^KCM}p4)bG@^5&e@76#3r_TeZDHvWlVY9vj zkT>V$T_k``W(~_b7Mw^fS^x0c%+xb(djGlOT&VjC35o!res%qyD)n>oqw-{@7@Vvp zGyLMv9oNI(xwW28mj3=8p??{UiPTb>M8IIh4M<7SW>PF9e<}WG?7mc}tSE?7rdRwY zhl0yd<^uogU*5c1+Egn-z$;GF&jLYeu(spA2b^Lx4J^|6RkuQTrJpPiu~>y|Bq{Jg zRn>Nh3rZzp-p9>g0kT2B{u{nC7q zH(40HFcNP8{N_O}xg&?R6+`X)^+K7GxW8lBG>n%pUY{CpvZXenaP#QT3rpU9IUo^Z zXMoB6cDPZ}gy@nI_iexVHH-|r{`2>6V6?aMWBOCUcVeY%_Tz~##_A)hT^Ria`(EdK z_FHIWD$&H*_NHK_ZqUpy5_B^-U>CPh@OnxWA}i4xc&E=o3ZhMHA*>L=`)^B*3{D_) zyt4X9PDV&XfD-K_za8X|k%*AaCVt;oW?rE{$;BMYhI1%7J8FTe%zJ7yudQF`3*KNo zy30V)%f2{_)F*8Zlf}@=yvl_+gTGBaYe`Mu-}k<{H03=`AP9(8{Q}7vzGlKeoSo@# z*#z8~eg4&S4PAx1hg9ajR=MN9PpnyzlNbizv(D8B6q#HT8oX^y%@48(7IYzKVDdb{%MD>PqA$kE5 zqK%{AEr>Y5lF=@As`*q^_4Z+=_Sj zfw0S!Q0l!?s;+#GcAf%JxZ>BDuRo0Ha=)?qRqUE4I6QAj=IwuEia&WjFZrXXIK}2+ zQ_j)MQoiJuh7glK4pd7wSxo4XsmRQkUc#j$X*fM$MVVaEgs^&sll_qIBYkx;7MBaL zn+Jn)r$`tnzxLp%XHD0DtV+-_LBb~Mx8fxzys_=^+(u1x#DwoxCA;<|UX3x94fqbl z5PcnX~F3^x8bu>l?R){ z2#pVe=x1!9qqblJq3+i1D}F59(&D6KN6!n5b2=DKXUYG89<-z-VT}AK05n!1`m^C? zESSs0DA7ZBDYLzn2J!XC|4O z)#Q6=HV2BP;GkaaKqrB=b#6r_uQ+5dXJlk#_aY>oDQcO1K2gG2~l13h-fE)ucA$xoLHjlViQaGjr{%~ zXhc*SRgZlnkx-MLBw#dl8UH=3s*w_-704K)m=z=^_E+=#yn8)GMX20I(-%v8+u{Q9^zhu=5dd$zq8m)A7*U%we=y{0d8b6`Fn@H)C*IS3}!+4i(?>?Q=>P^}@i zR#HtChLaL!jrSiDr7FkMnr1A;LA>xU*toef870+m*Hj@z_(W3zIBA@a+Ox%=&7Gd+ zi@U8eDx8@@oOGUf{NpJYH$xqAkYE?f9|{!aDJ9Z1`Y{wM4^?ftJtK9|ee7V}en-Sr zlp&~4%I=j@`u_-M)^i8(Z?}K(oT-w6T-B>!fF45$a}D=u`}r z%76QU|C57UvxLQ%;-6EUS})Azkaa|m)#?op0|4B444vtGer27xDfUG7)g1GgSJ1KH z;+TbMof91({Z0CD*@`)VfIE}xMTqO_6XgR5L$H|{Hz1f`c&T&l==YDR>S^ycRhQ}_ zI-|+o6v(gfgRV(rg(N(0hyXomE;C)n@e2}r9)cAFyUkpBP8SJDEyokCTmi2&_9y|0 z9{>5B@CGNOiF8KPUjE%xlguhgV}toC5g^yL-sCAtxL*s4cKE9>Rp|A1Mfni|g4g0Q zT_OJ8>B!0wi?E^u@zs_~g1pGL-#m!`0Od26WnnNG;b(E?U1n_S{Njs{|9k;TiMKM1 z005dD*t=JY2>qnz4ge@3%+e)mD%I}Ma$ML3{rxnyVRu>XuS`9(AUn24d=Njw>0V`>XW$5@HwE zH}azcNWCp{TmT52g+a+>ki7Q4o;&F*?U`!!Ppqhzosf+MtOcDz6Vi>1&G-~hx^Kl%Oi-Ld5i z`HjE=fh^)y|8oXH9GKrHa% z`^*05fRd-AW_PAl2gzT8MirWABUNx_Usp$Og~*5#njPl~biy1-vr~2s+gVnJ-(mo3 z@%yJQ%`_EMq_-tJlUOY%X(LJp?=#{njRj?m07iB{qqoKsbUn5>h!hx5w=}|@Z%39P zguR5Q^nF?gFx)M~t=DxYx`|^>RT-csS@d`E_^X8d+w6@KF0&xjG;bo=L^6sIzF{Bt zkCDQ*BGF;t|7G!;=RCx@^ouGdBa3$CJ(10^y#C=o)#4nOxA`( z-4>gE@2r6MJvYAU+plD9JEkJaJR(DTVz&KT;Ozd~yE^Fx@NrE(;%tt$kLTstNab+G zpXXtNZRIMg`5x3|Tt#IBtK_py^1jmGn)>|5u9~O0MKhHkDhyyFQ1RC?_NR+QsXN5= zU(L~g__M}!{h*5R5G;eGTt!*TiTHGL>l@-kV^e5UwjQav%)em@^hq`*E*VHwR_^`B z?{&VJbu#wsZ!fIyxl@Tld}@7sodN5b#dMeXZ0B>#D9)QIRYZ|URR?cAqSUgWMioTbPh~B6le(1Or z?=Tt;6i)(%r0R5#OSfNUJewoe)P6Q+Z9kWA8)O7AB0okV)Wu2^^+0}N;|r@Cz-$i^ ziDN;l_d!)3YiOO4!Uo&oZS_5|)>;2qH@H!iH^;#X-8*zp-w`wz)=x|cS;|d6G~2Yu zQYO3-e;&Oe)A?qMIP))B)>I8B!)cp;aDkSefJ0AupQg{ z6soSc)^I0V)>`S7OS~>R=zx2tbp_9(GUXRWWQ(g>_=r=HOs2=?sF<@^{|+6K;}Iv> zmK2hz?*?^@227)J2^>cG_2m(N_lwba{ugOY-fuUllfQcPix~PX_s2_{dNzEXN?Cbn zWrB@h#R%7k{HXvr`(B|nn5ZM+wAJD^Z78~K*BR&NOH2@H>iegU)lkcRKJ7lf#G^ka`?3rJdoCpiX4aU9 z2&N}Ms2isrF$(-i`TQ#7QKcv6O}(6!JC=E|joRiaqfHSbry!k6bk^hg^lJI+H_fwx zqNm_r+V$S1r{%p)x$L~+r7+Nsc3+$CUOXAp%`*)pMv26Hgc`Z+ll2c0`jbYJY0z+i zMR4n*r5UmYAsHaz_K5G7=t?QuUypJcHpyw z993@)p|b4pS0+K-W%j18a7mcAb-m<#S*-qZSKMlA$cx%va&#b|1J=IFV z(Dm|v+!q~-S0Yspy6>3e>hRH{(NK!=DyaIGy0r83hf;#f8dvZ~ld&H%phnZ2Nd|!G z4Z5i(I0eSin<5GO{L}Dz+jx!^>VfywAFYFV=P1GXIQ%6=?AxN?&5$3K%wHUiC#g%QP`|w*1ks4=r89X&>JtJ=8vkdR5uK{`q{NbKf z87Bs#B zi|iZT3Jwm+@+eQ(;r%}u?XgG@K9BMq2Ij=_ET)>hEcqs@f9)61{fWeDGr}CI)yfq4 zY0qzQO+U0EG6g;f-aV7$>5@*Pb^d{XDVlYF2z&drTrcq(m1x`}KME+sVZu|JY#BRW z(a2S_X)*x^b*{D(*w!O<{=eb|@2(m-D9|f=>5yk16h1mn;70$wL%N?4pXY-bCZWs@+xb&+3QvyP#;bbxih8WFq6%LP>7(IvZLM-+lvm|dOr^klV99p7oe?b= zh!FE-Ztt2`C?QuS=_q>hb9S{A4+$I19v@9K$nB+#@0(7ND0}i>17PyT-*@y`qm^eI5uvCPTKYsT$#UKPr$J_K!iYC& za3rwz)znhvmU6y62G+HhOU|tEEy18W2wRG#e8mFo_rl)+Ic5dEg{k26W1P^8%o>ME zisBZ{BQSDuiJ+eX5yrQ1B!r2qrS1Aa<+TT%l(tN`<_-2L78V~xFTQ`sy zN~rZn=5|#acjJMT%{;4EEEJ~lGg173gvOhk{E0bh3ago3FD?Jp&j#--)hN-nv?eB_ zN9W_rX?R^2sRpvoAup*HJSmr&qL2r{o*b>JC{TpdAK_8fpxyX*^Pf)+9~BG9+?}(8 z8%f!imc86k=L74mDGY79pArY5Y&pOYdo#io)Q~Vl+*G2G?2B#V>yy7yO6zRd4|d<= zWXcuxz@SdS?+d4G6^diAsl2cJ1MEW3=f611EdrPhx0;cI> z(U|MMoLzr)KufO*>XKHKGy(>2%n@%I(hVDvYznhw3&%eHPKnXO@#OHs^PnJ!@pZ9< zr8|Q#dSad&mxKuIhA}Xvj!u}(H9u+xgNxCl#2N}uAlOR7wN%Gw>CBHQ7u*7kx%={f zTk1|JujQ3zRO#SuoIeQqw&)VQ;Vbio6#p>cNFI9WBu0`{pzVcYl+A+Z6EuhQ{XIs@_N1w4jk6sic!&+*FHJ1#^TG{d)4_hQr82c*EDZUUn@fX2j!} zy3uBY{0Ec?C{ikyo#?S4R(GhD<}X`z8=`&;naz5}fY29HQ8`Hs?cqwF#Y6pl<3`T` z3N<^Nd{QO>(L?8sBMfjt{!B;NcEz(BdKNC(F z=Nn+8qBb^;t#}%V5kdgj5Vj_5KjO+R$tU`f6wUXk)?I5GCpX$2)vGPbPG1}@70K}5 zVam{?69#Yuj|-3EV;!t?12__!bt~?9UojZpLq#gZ*?F}@$AN2dsI2rzP{d`PyD1>z z6F@f1won-cr45ry19ZSA*k#|H6lv9pkn#%-dp!_T`14T?1}F_DJs#bK^y)#4!1%xT zo{zQJ7KZ_Ham!s(S5`IZN~;{PZ}vt1lfv`iC2ic`>6XsKdfUR3TqGzmDK`edLsA~j z2g52{`EYYhOR@4|WGSE=6s&5iWHC2YWrTwol}gbe<_#wTytLa^ENfR_r!Nm5&3o=* z6^0sn8W;<(fiA|aNi7-fh9FC^idw+q-mnI82>4+VUmxU+EeSX{lN7$aE(cvPQwR$s zoSFmHjkPD7iH7|l4+~Y3Ekn>dp?z%>ICQa6->^#%h;@S|FcNt{uZ-Kro@WCV zUkM2J!^i4?83AydiAX(1#xO)Ej3d_%LaZH*bcBTgFUa$zJh2EgLOu8`gg8%85~!$* zew&gpKP`#JR_m&gDWnWSSqlQN-1Fo5Ne)L z9yEPel`}LV6D!%;iu(D=Tz()>`2wq_R(yzatRG}>rk*JGWlG-?0;a&?-AuAN0&@cd zIHZY_oKT7tna8OR?l8naVfvcSF1j4pG$ED6JZCF zok{klPXCB92-U~@Lz zNt2)h& z5~vvjCqO$G8T@6ey*TN{(5&aP@*>mf`vwsTv#4cKN|~2^mb_hwKX!EwZ(mcj{f%E- v6>PO$Slmy{=+cxLxVY_<&%T2L@5$=-H!XVUZFsT&djM#t>ZnvJ+o1msRpn9h literal 0 HcmV?d00001 diff --git a/yarn.lock b/yarn.lock index 7952f09d..67b7b206 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1906,6 +1906,18 @@ dependencies: tslib "^2.4.0" +"@tabler/icons-react@^3.28.1": + version "3.28.1" + resolved "https://registry.yarnpkg.com/@tabler/icons-react/-/icons-react-3.28.1.tgz#6bcd85f3fb924ceeb3caf2ce5be7523e41008266" + integrity sha512-KNBpA2kbxr3/2YK5swt7b/kd/xpDP1FHYZCxDFIw54tX8slELRFEf95VMxsccQHZeIcUbdoojmUUuYSbt/sM5Q== + dependencies: + "@tabler/icons" "3.28.1" + +"@tabler/icons@3.28.1": + version "3.28.1" + resolved "https://registry.yarnpkg.com/@tabler/icons/-/icons-3.28.1.tgz#271e6d4107525dbb8622a36a9414487e734606aa" + integrity sha512-h7nqKEvFooLtFxhMOC1/2eiV+KRXhBUuDUUJrJlt6Ft6tuMw2eU/9GLQgrTk41DNmIEzp/LI83K9J9UUU8YBYQ== + "@tailwindcss/line-clamp@^0.4.4": version "0.4.4" resolved "https://registry.yarnpkg.com/@tailwindcss/line-clamp/-/line-clamp-0.4.4.tgz#767cf8e5d528a5d90c9740ca66eb079f5e87d423" @@ -7607,16 +7619,7 @@ strict-uri-encode@^2.0.0: resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string-width@^4.1.0, string-width@^4.2.0: +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -7656,14 +7659,7 @@ stringify-entities@^4.0.0: character-entities-html4 "^2.0.0" character-entities-legacy "^3.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== From 061ad29c99c27f66353688d6b26101a3fea23222 Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Mon, 13 Jan 2025 01:49:51 -0500 Subject: [PATCH 02/26] add address search --- components/AddressSearch/SeiTraceSearch.tsx | 55 +++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 components/AddressSearch/SeiTraceSearch.tsx 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; From 9babd843e5f3af9bafe676a17aaaf184f96b6b3e Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Mon, 13 Jan 2025 01:54:04 -0500 Subject: [PATCH 03/26] add linkcard --- components/LinkCard/LinkCard.tsx | 125 +++++++++++++++++++++++++++++++ components/LinkCard/index.ts | 1 + styles/SeiTraceSearch.module.css | 61 +++++++++++++++ 3 files changed, 187 insertions(+) create mode 100644 components/LinkCard/LinkCard.tsx create mode 100644 components/LinkCard/index.ts create mode 100644 styles/SeiTraceSearch.module.css diff --git a/components/LinkCard/LinkCard.tsx b/components/LinkCard/LinkCard.tsx new file mode 100644 index 00000000..62e8c184 --- /dev/null +++ b/components/LinkCard/LinkCard.tsx @@ -0,0 +1,125 @@ +import Link from "next/link"; +import { useState } from "react"; +import type { ReactNode } from "react"; +import { IconChevronDown } from '@tabler/icons-react'; + +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 ( +
+ +
+
+ {icon && ( +
+ {icon} +
+ )} + {preview && ( + + )} +
+ +
+

+ {title} +

+ {description && ( +

+ {description} +

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

+ {preview.content} +

+ {preview.highlights && ( +
    + {preview.highlights.map((highlight, idx) => ( +
  • + + {highlight} +
  • + ))} +
+ )} +
+
+
+
+ )} + + +
+ ); +}; + +export default LinkCard; \ No newline at end of file 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/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 From 325375362d4bd9dc52b5c13924cce9fd69211b0d Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Mon, 13 Jan 2025 02:00:52 -0500 Subject: [PATCH 04/26] update config --- next.config.js | 7 +++- theme.config.tsx | 93 +++++++++++++++++++++++++++++------------------- 2 files changed, 62 insertions(+), 38 deletions(-) diff --git a/next.config.js b/next.config.js index 1bad3cc1..50399259 100644 --- a/next.config.js +++ b/next.config.js @@ -19,5 +19,10 @@ module.exports = withNextra({ pathname: '/65cb43fecf24523357feada9/**' } ] - } + }, + async rewrites() { + return [ + { source: '/', destination: '/learn' } + ] + } }); diff --git a/theme.config.tsx b/theme.config.tsx index 3b13efd5..6bbbd31e 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -1,70 +1,89 @@ -import React from 'react'; -import { DocsThemeConfig } from 'nextra-theme-docs'; -import { Logo } from './components/Logo'; +import React from "react"; +import type { DocsThemeConfig } from "nextra-theme-docs"; +import { Logo } from "./components/Logo"; const config: DocsThemeConfig = { logo: , + navigation: true, + primaryHue: { + dark: 0, + light: 0, + }, + search: { + placeholder: "Search documentation...", + }, project: { - link: 'https://github.com/sei-protocol' + link: "https://github.com/sei-protocol", }, chat: { - link: 'https://discord.gg/sei' + link: "https://discord.gg/sei", + }, + navbar: { + extraContent: null, + }, + feedback: { + content: "Question? Give us feedback →", + useLink: () => "https://github.com/sei-protocol/sei-docs/issues/new", + }, + editLink: { + text: "Edit this page", }, - docsRepositoryBase: 'https://github.com/sei-protocol/sei-docs/tree/main', footer: { - text: 'Sei Docs © 2024' + text: "Sei Docs © 2024", }, - head: <>, sidebar: { - defaultMenuCollapseLevel: 1 + defaultMenuCollapseLevel: 1, + toggleButton: true, }, + darkMode: true, useNextSeoProps() { return { - titleTemplate: '%s - Sei Docs', - description: 'Documentation for Sei Network', + titleTemplate: "%s - Sei Docs", + description: "Documentation for Sei Network", openGraph: { - type: 'website', - locale: 'en_US', - siteName: 'Sei Docs', - description: 'Documentation for Sei Network', + type: "website", + locale: "en_US", + siteName: "Sei Docs", + description: "Documentation for Sei Network", images: [ { - url: 'https://www.docs.sei.io/assets/sei-v2-banner.jpg', + url: "https://www.docs.sei.io/assets/sei-v2-banner.jpg", width: 1600, height: 900, - alt: 'Sei V2 Overview', - type: 'image/jpg' - } - ] + alt: "Sei V2 Overview", + type: "image/jpg", + }, + ], }, twitter: { - site: '@SeiNetwork' + site: "@SeiNetwork", }, additionalLinkTags: [ { - rel: 'icon', - href: '/favicon.ico' + rel: "icon", + href: "/favicon.ico", }, { - href: '/favicon-16x16.png', - rel: 'icon', - sizes: '16x16', - type: 'image/png' + href: "/favicon-16x16.png", + rel: "icon", + sizes: "16x16", + type: "image/png", }, { - href: '/favicon-32x32.png', - rel: 'icon', - sizes: '32x32', - type: 'image/png' + href: "/favicon-32x32.png", + rel: "icon", + sizes: "32x32", + type: "image/png", }, { - href: '/apple-touch-icon.png', - rel: 'apple-touch-icon', - sizes: '180x180' - } - ] + href: "/apple-touch-icon.png", + rel: "apple-touch-icon", + sizes: "180x180", + }, + ], }; - } + }, + head: <>, }; export default config; From 2290915dfb33d4b19c40df02449ea1125bd8c741 Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Mon, 13 Jan 2025 02:01:16 -0500 Subject: [PATCH 05/26] clean up --- pages/build/index.mdx | 2 +- pages/learn/fee-grants.mdx | 218 +++++++++++++++++++++++++------------ pages/learn/index.mdx | 2 +- pages/node/index.mdx | 2 +- pages/reference/index.mdx | 2 +- 5 files changed, 152 insertions(+), 74 deletions(-) diff --git a/pages/build/index.mdx b/pages/build/index.mdx index 6320dcec..68a219c4 100644 --- a/pages/build/index.mdx +++ b/pages/build/index.mdx @@ -1,5 +1,5 @@ import { IconArrowsExchange, IconBrain, IconCoins, IconCode, IconLayoutDashboard, IconTools, IconSettingsAutomation } from '@tabler/icons-react'; -import { LinkCard } from '../../components'; +import { LinkCard } from '../../components/LinkCard'; # Start Building on Sei diff --git a/pages/learn/fee-grants.mdx b/pages/learn/fee-grants.mdx index 40d68763..d38a7c0d 100644 --- a/pages/learn/fee-grants.mdx +++ b/pages/learn/fee-grants.mdx @@ -1,53 +1,68 @@ -import { CodeBlock } from '../../components/CodeBlock'; - # Fee Grants -Fee grants allow an account to pay for the transaction fees of another account, which is especially useful for onboarding new users who might not have enough tokens to cover transaction fees. +Fee grants allow an account to pay for the transaction fees of another account, which is especially useful for onboarding new users who might not have enough tokens to cover transaction fees. Fee grants use the [Cosmos Fee Grant](https://docs.cosmos.network/v0.46/modules/feegrant/01_concepts.html#) module and can be set up so that one account (the granter) can pay for the transaction fees of another account (the grantee). The granter specifies conditions under which the fees will be paid as well as limits. -## Fee Allowance Types +## Fee Allowance types +- [BasicAllowance](https://docs.cosmos.network/v0.46/modules/feegrant/01_concepts.html#basicallowance) +`BasicAllowance` implements Allowance with a one-time grant of tokens that optionally expires. The grantee can use up to SpendLimit to cover fees. -Fee grants use the Cosmos Fee Grant module and can be set up so that one account (the granter) can pay for the transaction fees of another account (the grantee). The granter specifies conditions under which the fees will be paid as well as limits. +- [PeriodicAllowance](https://docs.cosmos.network/v0.46/modules/feegrant/01_concepts.html#periodicallowance) + `PeriodicAllowance` extends Allowance to allow for both a maximum cap, and a limit per time period. -- **BasicAllowance**: Implements Allowance with a one-time grant of tokens that optionally expires. The grantee can use up to SpendLimit to cover fees. -- **PeriodicAllowance**: Extends Allowance to allow for both a maximum cap, and a limit per time period. -- **AllowedMsgAllowance**: Creates allowance only for specified message types. +- [AllowedMsgAllowance](https://docs.cosmos.network/v0.46/modules/feegrant/01_concepts.html#allowedmsgallowance) + `AllowedMsgAllowance` creates allowance only for specified message types. ## Granting -### Using CLI - - - -### Using CosmJS - -: to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + --period int period specifies the time duration in which period_spend_limit coins can be spent before that allowance is reset + --period-limit string period limit specifies the maximum number of coins that can be spent in the period + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --spend-limit string Spend limit specifies the max limit can be used, if not mentioned there is no limit + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### cosmjs + +```jsx +const { SigningStargateClient, GasPrice } = require("@cosmjs/stargate"); const { DirectSecp256k1HdWallet } = require("@cosmjs/proto-signing"); async function grantFeeGrant(rpcEndpoint, granterMnemonic, granteeAddress) { - const granterWallet = await DirectSecp256k1HdWallet.fromMnemonic(granterMnemonic, { - prefix: "sei" - }); + const granterWallet = await DirectSecp256k1HdWallet.fromMnemonic(granterMnemonic, { prefix: "sei" }); const [granterAccount] = await granterWallet.getAccounts(); - - const client = await SigningStargateClient.connectWithSigner( - rpcEndpoint, - granterWallet, - { gasPrice: GasPrice.fromString("0.025usei") } - ); + + const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, granterWallet, { + gasPrice: GasPrice.fromString("0.025usei"), + }); const msg = { typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", @@ -58,34 +73,69 @@ async function grantFeeGrant(rpcEndpoint, granterMnemonic, granteeAddress) { typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance", value: { spendLimit: [{ denom: "usei", amount: "1000000" }], - expiration: null - } - } - } + expiration: null, + }, + }, + }, }; const fee = { amount: [{ denom: "usei", amount: "5000" }], - gas: "200000" + gas: "200000", }; const result = await client.signAndBroadcast(granterAccount.address, [msg], fee); console.log(result); -}`} - variations={[ - { - name: 'TypeScript', - code: `import { SigningStargateClient, GasPrice } from "@cosmjs/stargate"; -import { DirectSecp256k1HdWallet } from "@cosmjs/proto-signing"; - -async function grantFeeGrant( - rpcEndpoint: string, - granterMnemonic: string, - granteeAddress: string -) { - const granterWallet = await DirectSecp256k1HdWallet.fromMnemonic(granterMnemonic, { - prefix: "sei", - }); +} + +const rpcEndpoint = "https://rpc-endpoint"; +const granterMnemonic = "your-granter-mnemonic"; +const granteeAddress = "sei1granteeaddress"; + +grantFeeGrant(rpcEndpoint, granterMnemonic, granteeAddress); +``` + +## Revoking + +### seid + +`seid tx feegrant revoke [granter] [grantee] [flags]` + +#### Flags +``` +Flags: + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "sync") + --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) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase only accessed when providing a key name) + -h, --help help for revoke + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "os") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation +``` + +### cosmjs + +```jsx +const { SigningStargateClient, GasPrice } = require("@cosmjs/stargate"); +const { DirectSecp256k1HdWallet } = require("@cosmjs/proto-signing"); + +async function revokeFeeGrant(rpcEndpoint, granterMnemonic, granteeAddress) { + const granterWallet = await DirectSecp256k1HdWallet.fromMnemonic(granterMnemonic, { prefix: "sei" }); const [granterAccount] = await granterWallet.getAccounts(); const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, granterWallet, { @@ -93,17 +143,10 @@ async function grantFeeGrant( }); const msg = { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", + typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", value: { granter: granterAccount.address, grantee: granteeAddress, - allowance: { - typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance", - value: { - spendLimit: [{ denom: "usei", amount: "1000000" }], - expiration: null, - }, - }, }, }; @@ -114,7 +157,42 @@ async function grantFeeGrant( const result = await client.signAndBroadcast(granterAccount.address, [msg], fee); console.log(result); -}` - }, - ]} -/> +} + +const rpcEndpoint = "https://rpc-endpoint"; +const granterMnemonic = "your-granter-mnemonic"; +const granteeAddress = "sei1granteeaddress"; + +revokeFeeGrant(rpcEndpoint, granterMnemonic, granteeAddress); +``` + +## Usage +### seid +Execute any transaction as normal, but add the `--fee-granter` flag to specify the granter account. + +### cosmjs + +[CosmJS Stargate StdFee](https://cosmos.github.io/cosmjs/latest/stargate/interfaces/StdFee.html) object has a `granter` field that can be used to specify the fee granter address. + +```jsx +const { DirectSecp256k1HdWallet } = require("@cosmjs/proto-signing"); +const { SigningStargateClient } = require("@cosmjs/stargate"); + +const wallet = await DirectSecp256k1HdWallet.fromMnemonic(YOUR_MNEMONIC, { prefix: "cosmos" }); + const client = await SigningStargateClient.connectWithSigner(RPC_URL, wallet); + + const amount = { denom: "usei", amount: "1000000" }; + + const fee = { + amount: [amount], + gas: "200000", // gas limit + granter: FEE_GRANTER_ADDRESS, + }; + + const txResult = await client.sendTokens(SENDER_ADDRESS, RECIPIENT_ADDRESS, [amount], fee, "Sending with fee granter"); + +``` + +## Usage with EVM precompiles + +This feature is coming soon. diff --git a/pages/learn/index.mdx b/pages/learn/index.mdx index 8bcac519..44a91f2a 100644 --- a/pages/learn/index.mdx +++ b/pages/learn/index.mdx @@ -1,5 +1,5 @@ import { IconBolt, IconClipboardText, IconCoins, IconLayoutDashboard, IconLock, IconServer } from '@tabler/icons-react'; -import { LinkCard } from '../../components'; +import { LinkCard } from '../../components/LinkCard'; Sei Icon diff --git a/pages/node/index.mdx b/pages/node/index.mdx index 0723ea1a..f9a581f8 100644 --- a/pages/node/index.mdx +++ b/pages/node/index.mdx @@ -1,5 +1,5 @@ import { IconServer, IconSettings, IconShieldCheck, IconPlug, IconAdjustmentsHorizontal, IconRotateClockwise } from '@tabler/icons-react'; -import { LinkCard } from '../../components'; +import { LinkCard } from '../../components/LinkCard'; # Node Operations diff --git a/pages/reference/index.mdx b/pages/reference/index.mdx index 46f83a99..3fd3f5d4 100644 --- a/pages/reference/index.mdx +++ b/pages/reference/index.mdx @@ -7,7 +7,7 @@ import { IconPointer, IconTerminal, } from '@tabler/icons-react' -import { LinkCard } from '../../components' +import { LinkCard } from '../../components/LinkCard' # Reference From 4193ce0f993c96333b33058f8df11935504e1c60 Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Mon, 13 Jan 2025 11:23:00 -0500 Subject: [PATCH 06/26] spelling --- pages/build/cosmwasm-general.mdx | 4 ++-- pages/build/nft-contract-tutorial.mdx | 2 +- pages/learn/dev-interoperability.mdx | 2 +- pages/learn/wallet-association.mdx | 2 +- pages/node/configure-general-settings.mdx | 2 +- pages/node/quickstart.mdx | 2 +- pages/providers/ecosystem-map.mdx | 2 +- pages/providers/indexers/goldrush.mdx | 2 +- pages/reference/precompiles/bank.mdx | 4 ++-- pages/reference/precompiles/cosmwasm.mdx | 2 +- pages/reference/precompiles/oracle.mdx | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pages/build/cosmwasm-general.mdx b/pages/build/cosmwasm-general.mdx index e4801f6d..fff8f50e 100644 --- a/pages/build/cosmwasm-general.mdx +++ b/pages/build/cosmwasm-general.mdx @@ -17,7 +17,7 @@ CosmWasm architecture prevents almost all the known risk vectors of Ethereum. CosmWasm runs the Web Assembly, Wasm virtual machine guarantees high performance. -**Interoprable** +**Interoperable** CosmWasm was built for multi-chain, cross-chain world, deeply integrated with IBC (Inter-blockchain communication). @@ -46,7 +46,7 @@ use cosmwasm_std::{ entry_point, to_binary, Binary, Deps, DepsMut, Empty, Env, MessageInfo, Response, StdResult, }; -// serde is a serialization/deserilization library +// serde is a serialization/deserialization library use serde::{Deserialize, Serialize}; // Query response data structure diff --git a/pages/build/nft-contract-tutorial.mdx b/pages/build/nft-contract-tutorial.mdx index a1db80ad..9df2fd7e 100644 --- a/pages/build/nft-contract-tutorial.mdx +++ b/pages/build/nft-contract-tutorial.mdx @@ -14,7 +14,7 @@ This tutorial guides you through the creation and deployment of an NFT contract -In this section, we'll use Foundry to deploy an ERC-721 contract to the Ethereum network. ERC-721 is a standard for NFT contracts on Ethereum. Learm more about ERC-721 [here](https://erc721.org/). +In this section, we'll use Foundry to deploy an ERC-721 contract to the Ethereum network. ERC-721 is a standard for NFT contracts on Ethereum. Learn more about ERC-721 [here](https://erc721.org/). ## Requirements diff --git a/pages/learn/dev-interoperability.mdx b/pages/learn/dev-interoperability.mdx index fbebd4e7..5a6e7736 100644 --- a/pages/learn/dev-interoperability.mdx +++ b/pages/learn/dev-interoperability.mdx @@ -6,7 +6,7 @@ import interoperability from '../../public/assets/interoperability.png'; EVM and CosmWasm based smart contracts co-exist on Sei, but live in different execution environments. This creates a challenge for users, who use wallets that typically only support a single execution environment. -Likewise for devlelopers, existing tooling and libraries can only interact with either EVM or Wasm (Think EthersJS vs CosmJS). +Likewise for developers, existing tooling and libraries can only interact with either EVM or Wasm (Think EthersJS vs CosmJS). To bridge the gap between EVM and Wasm, Sei has introduced two interoperability features, allowing for smooth and easy interactions between both environments. Precompiled EVM contracts and Pointer Contracts enable all contracts to be accessible from both VM environments. diff --git a/pages/learn/wallet-association.mdx b/pages/learn/wallet-association.mdx index f610172d..1154070e 100644 --- a/pages/learn/wallet-association.mdx +++ b/pages/learn/wallet-association.mdx @@ -7,7 +7,7 @@ next: true Wallet association on the Sei network ensures the public key becomes known to the chain. Without this step, the chain cannot determine the Bech32 (`sei...`) address or the EVM-compatible (`0x...`) address from one another. -Below are **4 distinct methods** for associating a wallet along with relevant defitnitions. Each method differs in terms of security considerations and required actions. +Below are **4 distinct methods** for associating a wallet along with relevant definitions. Each method differs in terms of security considerations and required actions. --- diff --git a/pages/node/configure-general-settings.mdx b/pages/node/configure-general-settings.mdx index 242fd9cf..4d8b4cd5 100644 --- a/pages/node/configure-general-settings.mdx +++ b/pages/node/configure-general-settings.mdx @@ -8,7 +8,7 @@ Structure of ~/.sei/config │-- app.toml # seid configuration file │-- client.toml # configurations for the cli wallet (ex seid) │-- config.toml # Tendermint configuration file -│-- genesis.json # gensesis transactions +│-- genesis.json # genesis transactions │-- node_key.json # private key used for node authentication in the p2p protocol (its corresponding public key is the nodeid) └-- priv_validator_key.json # key used by the validator on the node to sign blocks ``` diff --git a/pages/node/quickstart.mdx b/pages/node/quickstart.mdx index 2cef6020..5bfe917d 100644 --- a/pages/node/quickstart.mdx +++ b/pages/node/quickstart.mdx @@ -116,7 +116,7 @@ Before running the script, take a moment to understand the configurable paramete - The script will download the specified version, extract it, and install it using `make install`. - If `enable_unsafe_reset` is `True`, it will reset the Tendermint state and any existing configs + keys. - The script will initialize the node with the given moniker and chain ID. - - For non-local environments, it will fetch state sync parameters, persistent peers, and apropriate genesis file. + - For non-local environments, it will fetch state sync parameters, persistent peers, and appropriate genesis file. 5. **Configuration Files**: diff --git a/pages/providers/ecosystem-map.mdx b/pages/providers/ecosystem-map.mdx index 5e1ba2bc..b22deb31 100644 --- a/pages/providers/ecosystem-map.mdx +++ b/pages/providers/ecosystem-map.mdx @@ -15,7 +15,7 @@ Sei Ecosystem is the epicenter of technological advancement, bringing together c -## Infastructure +## Infrastructure diff --git a/pages/providers/indexers/goldrush.mdx b/pages/providers/indexers/goldrush.mdx index 58c115fa..c526738f 100644 --- a/pages/providers/indexers/goldrush.mdx +++ b/pages/providers/indexers/goldrush.mdx @@ -45,7 +45,7 @@ on each for an address. There are 4 primary developer tools for using the APIs: -1. [GoldRush APIs](https://goldrush.dev/docs/api) - enteprise-grade REST APIs to use with any programming language. Switch blockchains with one path parameter. +1. [GoldRush APIs](https://goldrush.dev/docs/api) - enterprise-grade REST APIs to use with any programming language. Switch blockchains with one path parameter. ```sh curl -X GET https://api.covalenthq.com/v1/sei-mainnet/address/0x6d68A318D0632f7B9Ce9d6757Dea0e9dE19D7CCA/balances_v2/ \ diff --git a/pages/reference/precompiles/bank.mdx b/pages/reference/precompiles/bank.mdx index 70d52938..cea73712 100644 --- a/pages/reference/precompiles/bank.mdx +++ b/pages/reference/precompiles/bank.mdx @@ -37,7 +37,7 @@ This precompile enables EVM clients to interact with the bank module. ``` ### Queries -- `balance`: Queries the balance of the given acount for specified denom. +- `balance`: Queries the balance of the given account for specified denom. ```solidity /// Queries the balance of the given account for the specified denom. /// @param acc The Sei address of the account to query. @@ -48,7 +48,7 @@ This precompile enables EVM clients to interact with the bank module. string memory denom ) external view returns (uint256 amount); ``` -- `all_balances`: Queries all balances of the given acount. +- `all_balances`: Queries all balances of the given account. ```solidity /// Queries the balance of the given account for all balances. /// @param acc The Sei address of the account to query. diff --git a/pages/reference/precompiles/cosmwasm.mdx b/pages/reference/precompiles/cosmwasm.mdx index 9ceb041b..1e2dd104 100644 --- a/pages/reference/precompiles/cosmwasm.mdx +++ b/pages/reference/precompiles/cosmwasm.mdx @@ -70,7 +70,7 @@ This precompile serves as an interface to the CosmWasm module, enabling EVM base ```solidity /// Queries a CosmWasm contract. /// @param contractAddress The Sei address of the contract to query. - /// @param req The query requeest object. The format is specified by the contract code. + /// @param req The query request object. The format is specified by the contract code. /// @return The response from the CosmWasm contract. function query( string memory contractAddress, diff --git a/pages/reference/precompiles/oracle.mdx b/pages/reference/precompiles/oracle.mdx index 67025bc2..687e4d24 100644 --- a/pages/reference/precompiles/oracle.mdx +++ b/pages/reference/precompiles/oracle.mdx @@ -1,6 +1,6 @@ import { Callout } from "nextra/components"; -# Orcale Precompile +# Oracle Precompile **Address**: `0x0000000000000000000000000000000000001008` From 52abc628e31d741486ba8d19273ca245e593e46e Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Mon, 13 Jan 2025 11:24:28 -0500 Subject: [PATCH 07/26] rmv old modules --- pages/reference/seid/query/dex.md | 40 ------------------- .../seid/query/dex/get-order-count.md | 21 ---------- 2 files changed, 61 deletions(-) delete mode 100644 pages/reference/seid/query/dex.md delete mode 100644 pages/reference/seid/query/dex/get-order-count.md diff --git a/pages/reference/seid/query/dex.md b/pages/reference/seid/query/dex.md deleted file mode 100644 index 2ddbd9a4..00000000 --- a/pages/reference/seid/query/dex.md +++ /dev/null @@ -1,40 +0,0 @@ -### `seid query dex` -```ansi -Querying commands for the dex module - -Usage: - seid query dex [flags] - seid query dex [command] - -Available Commands: - get-asset-list Query Asset List - get-asset-metadata Query Asset Metadata - get-latest-price Query getLatestPrice - get-match-result Query get match result by contract - get-order-count get number of orders at a price leve - get-orders Query get orders for account - get-orders-by-id Query get order by ID - get-price Query getPrice - get-prices Query getPrices - get-registered-contract Query Registered Contract - get-registered-pairs Query Registered Pairs - get-twaps Query getPrice - list-long-book list all longBook - list-short-book list all shortBook - params shows the parameters of the module - show-long-book shows a longBook - show-short-book shows a shortBook - -Flags: - -h, --help help for dex - -Global Flags: - --chain-id string The network chain ID - --home string directory for config and data (default "~/.sei") - --log_format string The logging format (json|plain) - --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) - --trace print out full stack trace on errors - -Use "seid query dex [command] --help" for more information about a command. - -``` \ No newline at end of file diff --git a/pages/reference/seid/query/dex/get-order-count.md b/pages/reference/seid/query/dex/get-order-count.md deleted file mode 100644 index fd1cf0af..00000000 --- a/pages/reference/seid/query/dex/get-order-count.md +++ /dev/null @@ -1,21 +0,0 @@ -### `seid query dex get-order-count` -```ansi -get number of orders at a price leve - -Usage: - seid query dex get-order-count [contract] [price denom] [asset denom] [LONG|SHORT] [price] [flags] - -Flags: - --height int Use a specific height to query state at (this can error if the node is pruning state) - -h, --help help for get-order-count - --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") - -o, --output string Output format (text|json) (default "text") - -Global Flags: - --chain-id string The network chain ID - --home string directory for config and data (default "~/.sei") - --log_format string The logging format (json|plain) - --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) - --trace print out full stack trace on errors - -``` \ No newline at end of file From 02a5b852c32c82fa2071ac5d26e54c22614e96ab Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Mon, 13 Jan 2025 15:36:31 -0500 Subject: [PATCH 08/26] use divergence instead of diff --- pages/learn/differences-with-ethereum.mdx | 4 ++-- pages/learn/index.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/learn/differences-with-ethereum.mdx b/pages/learn/differences-with-ethereum.mdx index be43fa62..3d8b6a84 100644 --- a/pages/learn/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/index.mdx b/pages/learn/index.mdx index 44a91f2a..a34fc580 100644 --- a/pages/learn/index.mdx +++ b/pages/learn/index.mdx @@ -10,7 +10,7 @@ Discover Sei Features, Integrations and Usage.
} - title='Differences with Ethereum' + title='Divergence from Ethereum' link='/learn/differences-with-ethereum' description={`See how Sei's architecture advances the EVM.`} preview={{ From ed4aff58d7cd5178b26cf25a974fff23fd85dfab Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Mon, 13 Jan 2025 15:43:37 -0500 Subject: [PATCH 09/26] use consider over we recommend --- pages/build/building-a-frontend.mdx | 2 +- pages/learn/bridging.mdx | 2 +- pages/learn/user-quickstart.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/build/building-a-frontend.mdx b/pages/build/building-a-frontend.mdx index b19ab6dc..3d815ce9 100644 --- a/pages/build/building-a-frontend.mdx +++ b/pages/build/building-a-frontend.mdx @@ -226,7 +226,7 @@ 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 npm create vite@latest my-counter-frontend -- --template react-ts diff --git a/pages/learn/bridging.mdx b/pages/learn/bridging.mdx index 46896e4e..5231a928 100644 --- a/pages/learn/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/user-quickstart.mdx b/pages/learn/user-quickstart.mdx index 2ace96f9..b6960826 100644 --- a/pages/learn/user-quickstart.mdx +++ b/pages/learn/user-quickstart.mdx @@ -114,7 +114,7 @@ To move assets to Sei from another network, find recommended bridge paths via th 4. The app will recommend a bridge based on the asset and origin chain. -We recommend [Squid](https://www.squidrouter.com/) for initial bridging. New bridges will be added over time. +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 From 0c160f591e550be2cf0d5cf734ff68e05c419f16 Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Wed, 15 Jan 2025 11:58:22 -0500 Subject: [PATCH 10/26] add landing page --- components/Homepage/SeiIntro.tsx | 99 +++++++++++++++++++++++++++++ next.config.js | 7 +-- package.json | 4 +- pages/index.mdx | 88 ++++++++++++++++++++++++++ pages/learn/_meta.json | 2 +- pages/learn/index.mdx | 4 +- pages/learn/user-quickstart.mdx | 2 + theme.config.tsx | 105 ++++++++++++------------------- yarn.lock | 94 ++++++++++++++++++--------- 9 files changed, 299 insertions(+), 106 deletions(-) create mode 100644 components/Homepage/SeiIntro.tsx create mode 100644 pages/index.mdx diff --git a/components/Homepage/SeiIntro.tsx b/components/Homepage/SeiIntro.tsx new file mode 100644 index 00000000..b342595b --- /dev/null +++ b/components/Homepage/SeiIntro.tsx @@ -0,0 +1,99 @@ +import React from 'react'; +import { Title, Text, Button, useMantineTheme } from '@mantine/core'; +import { IconArrowRight } from '@tabler/icons-react'; +import Link from 'next/link'; +import Image from 'next/image'; +import SeiIcon from '../../public/assets/sei-icon.png'; + +const SeiIntro: React.FC = () => { + const theme = useMantineTheme(); + + const heroStyles: React.CSSProperties = { + minHeight: '25vh', + display: 'flex', + flexDirection: 'column', + alignItems: 'center', + justifyContent: 'center', + textAlign: 'center', + padding: '2rem 1rem 3rem', + color: theme.white, + borderBottom: '1px solid rgba(255,255,255,0.1)', + marginBottom: '2rem' + }; + + const titleStyles: React.CSSProperties = { + marginBottom: '0.5rem', + fontWeight: 600, + fontSize: 'clamp(1.7rem, 3vw, 2.5rem)', + lineHeight: 1.2 + }; + + const subtitleStyles: React.CSSProperties = { + marginBottom: '1.5rem', + fontSize: '1rem', + color: 'rgba(236, 237, 238, 0.9)' + }; + + const ctaWrapper: React.CSSProperties = { + display: 'flex', + gap: '2rem', + justifyContent: 'center', + alignItems: 'center', + marginTop: '1rem' + }; + + const buttonBaseStyles = { + fontFamily: 'Satoshi, sans-serif', + fontWeight: 500, + display: 'flex', + alignItems: 'center', + gap: '0.4rem' + }; + + const gradientButtonRoot = { + ...buttonBaseStyles, + '&:hover': { + background: 'linear-gradient(90deg, #780000, #9E1F19)' + } + }; + + const outlineButtonRoot = { + ...buttonBaseStyles, + borderColor: '#ECEDEE', + color: '#ECEDEE', + '&:hover': { + backgroundColor: 'rgba(236, 237, 238, 0.12)' + } + }; + + return ( +
+
+ Sei Icon +
+ Sei Network Documentation + The first parallelized EVM blockchain delivering unmatched scalability. + +
+ + + + + + +
+
+ ); +}; + +export default SeiIntro; diff --git a/next.config.js b/next.config.js index 50399259..1bad3cc1 100644 --- a/next.config.js +++ b/next.config.js @@ -19,10 +19,5 @@ module.exports = withNextra({ pathname: '/65cb43fecf24523357feada9/**' } ] - }, - async rewrites() { - return [ - { source: '/', destination: '/learn' } - ] - } + } }); diff --git a/package.json b/package.json index 836328c0..95fc59a4 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "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", diff --git a/pages/index.mdx b/pages/index.mdx new file mode 100644 index 00000000..6adba167 --- /dev/null +++ b/pages/index.mdx @@ -0,0 +1,88 @@ +--- +layout: raw +--- + +import React from 'react'; +import SeiIntro from '../components/Homepage/SeiIntro'; +import { LinkCard } from '../components/LinkCard'; +import { IconBolt, IconCoins, IconClipboardText, IconLock } from '@tabler/icons-react'; + +export default function HomePage() { + return ( +
+
+ + +
+ } + 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 index 4c0d61a5..3e827d1a 100644 --- a/pages/learn/_meta.json +++ b/pages/learn/_meta.json @@ -6,7 +6,7 @@ "index": "Home", "general-overview": "About Sei", "user-quickstart": "Quickstart", - "differences-with-ethereum": "Differences from Ethereum", + "differences-with-ethereum": "Divergence from Ethereum", "dev-chains": "Chain Setup", "-- Onboarding Essentials": { diff --git a/pages/learn/index.mdx b/pages/learn/index.mdx index a34fc580..3d43c454 100644 --- a/pages/learn/index.mdx +++ b/pages/learn/index.mdx @@ -1,9 +1,7 @@ import { IconBolt, IconClipboardText, IconCoins, IconLayoutDashboard, IconLock, IconServer } from '@tabler/icons-react'; import { LinkCard } from '../../components/LinkCard'; -Sei Icon - -# Sei Network Documentation +# Start Learning About Sei Discover Sei Features, Integrations and Usage. diff --git a/pages/learn/user-quickstart.mdx b/pages/learn/user-quickstart.mdx index b6960826..8509ad03 100644 --- a/pages/learn/user-quickstart.mdx +++ b/pages/learn/user-quickstart.mdx @@ -79,6 +79,8 @@ 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. diff --git a/theme.config.tsx b/theme.config.tsx index 6bbbd31e..4e41f306 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -1,89 +1,66 @@ -import React from "react"; -import type { DocsThemeConfig } from "nextra-theme-docs"; -import { Logo } from "./components/Logo"; +import React from 'react'; +import type { DocsThemeConfig, Layout, PageOpts } from 'nextra-theme-docs'; +import { Logo } from './components/Logo'; const config: DocsThemeConfig = { logo: , 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, - }, + 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", - }, - editLink: { - text: "Edit this page", - }, - footer: { - text: "Sei Docs © 2024", + content: 'Question? Give us feedback →', + useLink: () => 'https://github.com/sei-protocol/sei-docs/issues/new' }, + editLink: { text: 'Edit this page' }, + footer: { text: 'Sei Docs © 2024' }, sidebar: { defaultMenuCollapseLevel: 1, - toggleButton: true, + toggleButton: true }, darkMode: true, useNextSeoProps() { return { - titleTemplate: "%s - Sei Docs", - description: "Documentation for Sei Network", + titleTemplate: '%s - Sei Docs', + description: 'Documentation for Sei Network', openGraph: { - type: "website", - locale: "en_US", - siteName: "Sei Docs", - description: "Documentation for Sei Network", + type: 'website', + locale: 'en_US', + siteName: 'Sei Docs', + description: 'Documentation for Sei Network', images: [ { - url: "https://www.docs.sei.io/assets/sei-v2-banner.jpg", + url: 'https://www.docs.sei.io/assets/sei-v2-banner.jpg', width: 1600, height: 900, - alt: "Sei V2 Overview", - type: "image/jpg", - }, - ], - }, - twitter: { - site: "@SeiNetwork", + alt: 'Sei V2 Overview', + type: 'image/jpg' + } + ] }, + twitter: { site: '@SeiNetwork' }, additionalLinkTags: [ - { - rel: "icon", - href: "/favicon.ico", - }, - { - href: "/favicon-16x16.png", - rel: "icon", - sizes: "16x16", - type: "image/png", - }, - { - href: "/favicon-32x32.png", - rel: "icon", - sizes: "32x32", - type: "image/png", - }, - { - href: "/apple-touch-icon.png", - rel: "apple-touch-icon", - sizes: "180x180", - }, - ], + { rel: 'icon', href: '/favicon.ico' }, + { rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' }, + { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png' }, + { rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' } + ] }; }, head: <>, + getLayout(page) { + const { route } = page.props as PageOpts; + if (route === '/') { + return ( + + {page} + + ); + } + return page; + } }; export default config; diff --git a/yarn.lock b/yarn.lock index 67b7b206..c7ffcb46 100644 --- a/yarn.lock +++ b/yarn.lock @@ -252,10 +252,10 @@ dependencies: "@floating-ui/dom" "^1.0.0" -"@floating-ui/react@^0.26.9": - version "0.26.24" - resolved "https://registry.yarnpkg.com/@floating-ui/react/-/react-0.26.24.tgz#072b9dfeca4e79ef4e3000ef1c28e0ffc86f4ed4" - integrity sha512-2ly0pCkZIGEQUq5H8bBK0XJmc1xIK/RM3tvVzY3GBER7IOD1UgmC2Y2tjj4AuS+TC+vTE1KJv2053290jua0Sw== +"@floating-ui/react@^0.26.28": + version "0.26.28" + resolved "https://registry.yarnpkg.com/@floating-ui/react/-/react-0.26.28.tgz#93f44ebaeb02409312e9df9507e83aab4a8c0dc7" + integrity sha512-yORQuuAtVpiRjpMhdc0wJj06b9JFjrYF4qp96j++v2NBpbi6SEGF7donUJ3TMieerQ6qVkAv1tgr7L4r5roTqw== dependencies: "@floating-ui/react-dom" "^2.1.2" "@floating-ui/utils" "^0.2.8" @@ -426,22 +426,22 @@ clsx "^2.1.1" highlight.js "^11.9.0" -"@mantine/core@^7.10.1": - version "7.12.2" - resolved "https://registry.yarnpkg.com/@mantine/core/-/core-7.12.2.tgz#d8fb7969a62dd5367331b141e053c4b2989c677a" - integrity sha512-FrMHOKq4s3CiPIxqZ9xnVX7H4PEGNmbtHMvWO/0YlfPgoV0Er/N/DNJOFW1ys4WSnidPTayYeB41riyxxGOpRQ== +"@mantine/core@^7.16.0": + version "7.16.0" + resolved "https://registry.yarnpkg.com/@mantine/core/-/core-7.16.0.tgz#b21714c0d63443aea837137a81a64b6bb00c592d" + integrity sha512-lYYwa4Itz77uC8zQzdiKiKdz9Q01NBOYPZsotIKsP/Zqij0qhpsVxoJ8MK3P8IqFyLfThTMmR4sT1qlGfLTA9Q== dependencies: - "@floating-ui/react" "^0.26.9" + "@floating-ui/react" "^0.26.28" clsx "^2.1.1" - react-number-format "^5.3.1" - react-remove-scroll "^2.5.7" - react-textarea-autosize "8.5.3" - type-fest "^4.12.0" + react-number-format "^5.4.3" + react-remove-scroll "^2.6.2" + react-textarea-autosize "8.5.6" + type-fest "^4.27.0" -"@mantine/hooks@^7.10.1": - version "7.12.2" - resolved "https://registry.yarnpkg.com/@mantine/hooks/-/hooks-7.12.2.tgz#f8e6a8345bb0892d8d1f5d1dc544a568572b79f4" - integrity sha512-dVMw8jpM0hAzc8e7/GNvzkk9N0RN/m+PKycETB3H6lJGuXJJSRR4wzzgQKpEhHwPccktDpvb4rkukKDq2jA8Fg== +"@mantine/hooks@^7.16.0": + version "7.16.0" + resolved "https://registry.yarnpkg.com/@mantine/hooks/-/hooks-7.16.0.tgz#5640abd7a580b02a026ff9610a50e8ce4a595569" + integrity sha512-8KxrhckesbrV6tyOndm6fJ+jSKA4KX/67ppDFlfYMMbV6Yh+s0zRO4KLi2uCtl6tgckQd2/zDzX3kQk+VYKqDA== "@mapbox/hast-util-table-cell-style@^0.2.0": version "0.2.1" @@ -7000,10 +7000,10 @@ react-is@^18.0.0, react-is@^18.3.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e" integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== -react-number-format@^5.3.1: - version "5.4.2" - resolved "https://registry.yarnpkg.com/react-number-format/-/react-number-format-5.4.2.tgz#aec282241f36cee31da13dc5e0f364c0fc6902ab" - integrity sha512-cg//jVdS49PYDgmcYoBnMMHl4XNTMuV723ZnHD2aXYtWWWqbVF3hjQ8iB+UZEuXapLbeA8P8H+1o6ZB1lcw3vg== +react-number-format@^5.4.3: + version "5.4.3" + resolved "https://registry.yarnpkg.com/react-number-format/-/react-number-format-5.4.3.tgz#e634df907da7742faf597afab3f25f9a59689d60" + integrity sha512-VCY5hFg/soBighAoGcdE+GagkJq0230qN6jcS5sp8wQX1qy1fYN/RX7/BXkrs0oyzzwqR8/+eSUrqXbGeywdUQ== react-remark@^2.1.0: version "2.1.0" @@ -7023,6 +7023,14 @@ react-remove-scroll-bar@^2.3.3, react-remove-scroll-bar@^2.3.4, react-remove-scr react-style-singleton "^2.2.1" tslib "^2.0.0" +react-remove-scroll-bar@^2.3.7: + version "2.3.8" + resolved "https://registry.yarnpkg.com/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.8.tgz#99c20f908ee467b385b68a3469b4a3e750012223" + integrity sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q== + dependencies: + react-style-singleton "^2.2.2" + tslib "^2.0.0" + react-remove-scroll@2.5.5: version "2.5.5" resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.5.5.tgz#1e31a1260df08887a8a0e46d09271b52b3a37e77" @@ -7045,7 +7053,7 @@ react-remove-scroll@2.5.7: use-callback-ref "^1.3.0" use-sidecar "^1.1.2" -react-remove-scroll@2.6.0, react-remove-scroll@^2.5.7: +react-remove-scroll@2.6.0: version "2.6.0" resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.6.0.tgz#fb03a0845d7768a4f1519a99fdb84983b793dc07" integrity sha512-I2U4JVEsQenxDAKaVa3VZ/JeJZe0/2DxPWL8Tj8yLKctQJQiZM52pn/GWFpSp8dftjM3pSAHVJZscAnC/y+ySQ== @@ -7056,6 +7064,17 @@ react-remove-scroll@2.6.0, react-remove-scroll@^2.5.7: use-callback-ref "^1.3.0" use-sidecar "^1.1.2" +react-remove-scroll@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.6.2.tgz#2518d2c5112e71ea8928f1082a58459b5c7a2a97" + integrity sha512-KmONPx5fnlXYJQqC62Q+lwIeAk64ws/cUw6omIumRzMRPqgnYqhSSti99nbj0Ry13bv7dF+BKn7NB+OqkdZGTw== + dependencies: + react-remove-scroll-bar "^2.3.7" + react-style-singleton "^2.2.1" + tslib "^2.1.0" + use-callback-ref "^1.3.3" + use-sidecar "^1.1.2" + react-resizable-panels@2.0.19: version "2.0.19" resolved "https://registry.yarnpkg.com/react-resizable-panels/-/react-resizable-panels-2.0.19.tgz#df259898c682cb774af65c3bc38c1b29c855b99b" @@ -7079,10 +7098,18 @@ react-style-singleton@^2.2.1: invariant "^2.2.4" tslib "^2.0.0" -react-textarea-autosize@8.5.3: - version "8.5.3" - resolved "https://registry.yarnpkg.com/react-textarea-autosize/-/react-textarea-autosize-8.5.3.tgz#d1e9fe760178413891484847d3378706052dd409" - integrity sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ== +react-style-singleton@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/react-style-singleton/-/react-style-singleton-2.2.3.tgz#4265608be69a4d70cfe3047f2c6c88b2c3ace388" + integrity sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ== + dependencies: + get-nonce "^1.0.0" + tslib "^2.0.0" + +react-textarea-autosize@8.5.6: + version "8.5.6" + resolved "https://registry.yarnpkg.com/react-textarea-autosize/-/react-textarea-autosize-8.5.6.tgz#e9205fb215eea7cbb6cba8f57dd874ab5d44a241" + integrity sha512-aT3ioKXMa8f6zHYGebhbdMD2L00tKeRX1zuVuDx9YQK/JLLRSaSxq3ugECEmUB9z2kvk6bFSIoRHLkkUv0RJiw== dependencies: "@babel/runtime" "^7.20.13" use-composed-ref "^1.3.0" @@ -7969,10 +7996,10 @@ type-fest@^1.0.2: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1" integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== -type-fest@^4.12.0: - version "4.26.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-4.26.1.tgz#a4a17fa314f976dd3e6d6675ef6c775c16d7955e" - integrity sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg== +type-fest@^4.27.0: + version "4.32.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-4.32.0.tgz#55bacdd6f2cf1392b7e9cde894e9b1d726807e97" + integrity sha512-rfgpoi08xagF3JSdtJlCwMq9DGNDE0IMh3Mkpc1wUypg9vPi786AiqeBBKcqvIkq42azsBM85N490fyZjeUftw== typedarray-to-buffer@3.1.5: version "3.1.5" @@ -8323,6 +8350,13 @@ use-callback-ref@^1.3.0: dependencies: tslib "^2.0.0" +use-callback-ref@^1.3.3: + version "1.3.3" + resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.3.3.tgz#98d9fab067075841c5b2c6852090d5d0feabe2bf" + integrity sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg== + dependencies: + tslib "^2.0.0" + use-composed-ref@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/use-composed-ref/-/use-composed-ref-1.3.0.tgz#3d8104db34b7b264030a9d916c5e94fbe280dbda" From 5cefc964d31cfe844860a19689b855236992022d Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Wed, 15 Jan 2025 13:54:03 -0500 Subject: [PATCH 11/26] fix --- components/Homepage/SeiIntro.tsx | 12 +++--------- theme.config.tsx | 16 +++------------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/components/Homepage/SeiIntro.tsx b/components/Homepage/SeiIntro.tsx index b342595b..bf8e4bb8 100644 --- a/components/Homepage/SeiIntro.tsx +++ b/components/Homepage/SeiIntro.tsx @@ -76,18 +76,12 @@ const SeiIntro: React.FC = () => {
- - diff --git a/theme.config.tsx b/theme.config.tsx index 4e41f306..1b8f3a07 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -1,5 +1,6 @@ +// theme.config.tsx import React from 'react'; -import type { DocsThemeConfig, Layout, PageOpts } from 'nextra-theme-docs'; +import type { DocsThemeConfig } from 'nextra-theme-docs'; import { Logo } from './components/Logo'; const config: DocsThemeConfig = { @@ -49,18 +50,7 @@ const config: DocsThemeConfig = { ] }; }, - head: <>, - getLayout(page) { - const { route } = page.props as PageOpts; - if (route === '/') { - return ( - - {page} - - ); - } - return page; - } + head: <> }; export default config; From cb29fd4b516667241c55cb856e6256ebe76dda0b Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Wed, 15 Jan 2025 14:39:28 -0500 Subject: [PATCH 12/26] sep styling + edits --- components/Homepage/SeiIntro.tsx | 80 ++++++-------------------------- styles/SeiIntro.module.css | 56 ++++++++++++++++++++++ theme.config.tsx | 1 - 3 files changed, 71 insertions(+), 66 deletions(-) create mode 100644 styles/SeiIntro.module.css diff --git a/components/Homepage/SeiIntro.tsx b/components/Homepage/SeiIntro.tsx index bf8e4bb8..b790938b 100644 --- a/components/Homepage/SeiIntro.tsx +++ b/components/Homepage/SeiIntro.tsx @@ -4,84 +4,34 @@ import { IconArrowRight } from '@tabler/icons-react'; import Link from 'next/link'; import Image from 'next/image'; import SeiIcon from '../../public/assets/sei-icon.png'; +import styles from '../../styles/SeiIntro.module.css'; const SeiIntro: React.FC = () => { const theme = useMantineTheme(); - const heroStyles: React.CSSProperties = { - minHeight: '25vh', - display: 'flex', - flexDirection: 'column', - alignItems: 'center', - justifyContent: 'center', - textAlign: 'center', - padding: '2rem 1rem 3rem', - color: theme.white, - borderBottom: '1px solid rgba(255,255,255,0.1)', - marginBottom: '2rem' - }; - - const titleStyles: React.CSSProperties = { - marginBottom: '0.5rem', - fontWeight: 600, - fontSize: 'clamp(1.7rem, 3vw, 2.5rem)', - lineHeight: 1.2 - }; - - const subtitleStyles: React.CSSProperties = { - marginBottom: '1.5rem', - fontSize: '1rem', - color: 'rgba(236, 237, 238, 0.9)' - }; - - const ctaWrapper: React.CSSProperties = { - display: 'flex', - gap: '2rem', - justifyContent: 'center', - alignItems: 'center', - marginTop: '1rem' - }; - - const buttonBaseStyles = { - fontFamily: 'Satoshi, sans-serif', - fontWeight: 500, - display: 'flex', - alignItems: 'center', - gap: '0.4rem' - }; - - const gradientButtonRoot = { - ...buttonBaseStyles, - '&:hover': { - background: 'linear-gradient(90deg, #780000, #9E1F19)' - } - }; - - const outlineButtonRoot = { - ...buttonBaseStyles, - borderColor: '#ECEDEE', - color: '#ECEDEE', - '&:hover': { - backgroundColor: 'rgba(236, 237, 238, 0.12)' - } - }; - return ( -
+
Sei Icon
- Sei Network Documentation - The first parallelized EVM blockchain delivering unmatched scalability. -
- - component='a' variant='gradient' gradient={{ from: '#9E1F19', to: '#780000', deg: 135 }} size='sm' styles={{ root: gradientButtonRoot }}> + Sei Network Documentation + The first parallelized EVM blockchain delivering unmatched scalability. + +
+ + + component='a' + variant='gradient' + gradient={{ from: '#9E1F19', to: '#780000', deg: 135 }} + size='sm' + classNames={{ root: styles.gradientButton }}> Quickstart + - component='a' variant='outline' color='gray' size='sm' styles={{ root: outlineButtonRoot }}> + component='a' variant='outline' color='gray' size='sm' classNames={{ root: styles.outlineButton }}> About Sei diff --git a/styles/SeiIntro.module.css b/styles/SeiIntro.module.css new file mode 100644 index 00000000..91683e7f --- /dev/null +++ b/styles/SeiIntro.module.css @@ -0,0 +1,56 @@ +.hero { + min-height: 25vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + text-align: center; + padding: 2rem 1rem 3rem; + color: #ffffff; /* Or theme-based color if needed */ + border-bottom: 1px solid rgba(255, 255, 255, 0.1); + margin-bottom: 2rem; +} + +.title { + margin-bottom: 0.5rem; + font-weight: 600; + font-size: clamp(1.7rem, 3vw, 2.5rem); + line-height: 1.2; +} + +.subtitle { + margin-bottom: 1.5rem; + font-size: 1rem; + color: rgba(236, 237, 238, 0.9); +} + +.ctaWrapper { + display: flex; + gap: 2rem; + justify-content: center; + align-items: center; + margin-top: 1rem; +} + +/* Button base styles */ +.gradientButton, +.outlineButton { + font-family: Satoshi, sans-serif; + font-weight: 500; + display: flex; + align-items: center; + gap: 0.4rem; +} + +.gradientButton:hover { + background: linear-gradient(90deg, #780000, #9e1f19); +} + +.outlineButton { + border-color: #ecedee; + color: #ecedee; +} + +.outlineButton:hover { + background-color: rgba(236, 237, 238, 0.12); +} diff --git a/theme.config.tsx b/theme.config.tsx index 1b8f3a07..c9849f29 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -1,4 +1,3 @@ -// theme.config.tsx import React from 'react'; import type { DocsThemeConfig } from 'nextra-theme-docs'; import { Logo } from './components/Logo'; From 496a2a2b3f09f33c0a70941b752fc13799cf3016 Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Wed, 15 Jan 2025 14:52:16 -0500 Subject: [PATCH 13/26] styling for dark/light mode --- components/Homepage/SeiIntro.tsx | 16 +- components/LinkCard/LinkCard.tsx | 252 +++++++++++++++++-------------- styles/SeiIntro.module.css | 31 +++- 3 files changed, 165 insertions(+), 134 deletions(-) diff --git a/components/Homepage/SeiIntro.tsx b/components/Homepage/SeiIntro.tsx index b790938b..8639317c 100644 --- a/components/Homepage/SeiIntro.tsx +++ b/components/Homepage/SeiIntro.tsx @@ -1,14 +1,11 @@ import React from 'react'; -import { Title, Text, Button, useMantineTheme } from '@mantine/core'; -import { IconArrowRight } from '@tabler/icons-react'; +import { Title, Text, Button } from '@mantine/core'; import Link from 'next/link'; import Image from 'next/image'; import SeiIcon from '../../public/assets/sei-icon.png'; import styles from '../../styles/SeiIntro.module.css'; const SeiIntro: React.FC = () => { - const theme = useMantineTheme(); - return (
@@ -20,18 +17,13 @@ const SeiIntro: React.FC = () => {
- - component='a' - variant='gradient' - gradient={{ from: '#9E1F19', to: '#780000', deg: 135 }} - size='sm' - classNames={{ root: styles.gradientButton }}> - Quickstart + component='a' variant='outline' size='sm' classNames={{ root: styles.outlineButton }}> + Quickstart - component='a' variant='outline' color='gray' size='sm' classNames={{ root: styles.outlineButton }}> + component='a' variant='outline' size='sm' classNames={{ root: styles.outlineButton }}> About Sei diff --git a/components/LinkCard/LinkCard.tsx b/components/LinkCard/LinkCard.tsx index 62e8c184..6c11801c 100644 --- a/components/LinkCard/LinkCard.tsx +++ b/components/LinkCard/LinkCard.tsx @@ -1,125 +1,149 @@ -import Link from "next/link"; -import { useState } from "react"; -import type { ReactNode } from "react"; +import Link from 'next/link'; +import { useState } from 'react'; +import type { ReactNode } from 'react'; import { IconChevronDown } from '@tabler/icons-react'; interface LinkCardProps { - title: string; - link: string; - description?: string; - icon?: ReactNode; - preview?: { - content: string; - highlights?: string[]; - }; + 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); + const [showPreview, setShowPreview] = useState(false); - return ( -
- -
-
- {icon && ( -
- {icon} -
- )} - {preview && ( - - )} -
- -
-

- {title} -

- {description && ( -

- {description} -

- )} -
-
- + return ( +
+ {/* + In dark mode => background stays #8B1F1F + In light mode => background is #f9d2d2 (example) + and text is black + */} + +
+
+ {/* If you want icon to be black in light mode & white in dark mode: */} + {icon &&
{icon}
} - {preview && showPreview && ( -
e.stopPropagation()} - > -
-
- -
- -
-
-

- {preview.content} -

- {preview.highlights && ( -
    - {preview.highlights.map((highlight, idx) => ( -
  • - - {highlight} -
  • - ))} -
- )} -
-
-
-
- )} + {preview && ( + + )} +
- -
- ); +
+ {/* Title: black in light mode, white in dark mode */} +

{title}

+ + {description &&

{description}

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

{preview.content}

+ {preview.highlights && ( +
    + {preview.highlights.map((highlight, idx) => ( +
  • + + {highlight} +
  • + ))} +
+ )} +
+
+
+
+ )} + + +
+ ); }; -export default LinkCard; \ No newline at end of file +export default LinkCard; diff --git a/styles/SeiIntro.module.css b/styles/SeiIntro.module.css index 91683e7f..7acf333d 100644 --- a/styles/SeiIntro.module.css +++ b/styles/SeiIntro.module.css @@ -1,3 +1,4 @@ +/* Light mode by default */ .hero { min-height: 25vh; display: flex; @@ -6,21 +7,35 @@ justify-content: center; text-align: center; padding: 2rem 1rem 3rem; - color: #ffffff; /* Or theme-based color if needed */ - border-bottom: 1px solid rgba(255, 255, 255, 0.1); + 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); } @@ -32,25 +47,25 @@ margin-top: 1rem; } -/* Button base styles */ -.gradientButton, .outlineButton { font-family: Satoshi, sans-serif; font-weight: 500; display: flex; align-items: center; gap: 0.4rem; + border-color: #000; + color: #000; } -.gradientButton:hover { - background: linear-gradient(90deg, #780000, #9e1f19); +.outlineButton:hover { + background-color: rgba(0, 0, 0, 0.12); } -.outlineButton { +:global(.dark) .outlineButton { border-color: #ecedee; color: #ecedee; } -.outlineButton:hover { +:global(.dark) .outlineButton:hover { background-color: rgba(236, 237, 238, 0.12); } From cd76bf7198e002b3d9c28010de83c33f354f8e2e Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Wed, 15 Jan 2025 15:08:51 -0500 Subject: [PATCH 14/26] sep styling + edits --- components/LinkCard/LinkCard.tsx | 126 +++++-------------- styles/LinkCard.module.css | 199 +++++++++++++++++++++++++++++++ 2 files changed, 228 insertions(+), 97 deletions(-) create mode 100644 styles/LinkCard.module.css diff --git a/components/LinkCard/LinkCard.tsx b/components/LinkCard/LinkCard.tsx index 6c11801c..6efdb8bf 100644 --- a/components/LinkCard/LinkCard.tsx +++ b/components/LinkCard/LinkCard.tsx @@ -1,7 +1,7 @@ import Link from 'next/link'; -import { useState } from 'react'; -import type { ReactNode } from 'react'; +import { useState, type ReactNode } from 'react'; import { IconChevronDown } from '@tabler/icons-react'; +import styles from '../../styles/LinkCard.module.css'; interface LinkCardProps { title: string; @@ -18,26 +18,18 @@ const LinkCard = ({ title, description, link, icon, preview }: LinkCardProps) => const [showPreview, setShowPreview] = useState(false); return ( -
- {/* - In dark mode => background stays #8B1F1F - In light mode => background is #f9d2d2 (example) - and text is black - */} +
-
+ className={styles.cardLink} + onClick={() => { + if (showPreview) { + setShowPreview(false); + } + }}> +
- {/* If you want icon to be black in light mode & white in dark mode: */} - {icon &&
{icon}
} - + {icon &&
{icon}
} {preview && ( )}
-
- {/* Title: black in light mode, white in dark mode */} -

{title}

- - {description &&

{description}

} +

{title}

+ {description &&

{description}

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

{preview.content}

- {preview.highlights && ( -
    - {preview.highlights.map((highlight, idx) => ( -
  • - - {highlight} -
  • - ))} -
- )} -
+
+

{preview.content}

+ {preview.highlights && ( +
    + {preview.highlights.map((highlight, idx) => ( +
  • + + {highlight} +
  • + ))} +
+ )}
)} - -
); }; 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; +} From 0e16958f6668b3e19272109e2bf123060377ddc2 Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Wed, 15 Jan 2025 19:35:34 -0500 Subject: [PATCH 15/26] dark/light mode for wallet btn --- .../EvmWalletConnect/CustomConnectButton.tsx | 125 +++++++++--------- pages/build/_meta.json | 86 ++++++------ 2 files changed, 106 insertions(+), 105 deletions(-) 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/pages/build/_meta.json b/pages/build/_meta.json index c57400e0..e96a3165 100644 --- a/pages/build/_meta.json +++ b/pages/build/_meta.json @@ -1,50 +1,50 @@ { - "index": "Home", - "-- Setup & Installation": { - "type": "separator", - "title": "Setup and Installation" - }, - "installing-seid": "Installing seid CLI", - "dev-token-standards": "Token Standards", + "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", + "-- 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", + "-- 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", - "-- Interoperability": { - "type": "separator", - "title": "Interoperability" - }, - "ibc-protocol": "IBC Protocol", - "ledger-ethers": "Using Ledger with Ethers", + "-- Assets": { + "type": "separator", + "title": "Assets" + }, + "tokenfactory-tutorial": "Token Factory", + "tokenfactory-allowlist": "Allowlists", + "multi-sig-accounts": "Multi-Sig Accounts", - "-- Ecosystem": { - "type": "separator", - "title": "Ecosystem" - }, + "-- 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" + "resources-resources": "Resources" } From 02e8b2121d95a9f1e592c330b66dc3d344c6ef7b Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Wed, 15 Jan 2025 23:32:16 -0500 Subject: [PATCH 16/26] init footer --- components/Footer/Footer.tsx | 145 +++++++++++++++++++++++++++++++ components/Homepage/SeiIntro.tsx | 4 +- theme.config.tsx | 24 +++-- 3 files changed, 164 insertions(+), 9 deletions(-) create mode 100644 components/Footer/Footer.tsx 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 index 8639317c..dce72682 100644 --- a/components/Homepage/SeiIntro.tsx +++ b/components/Homepage/SeiIntro.tsx @@ -8,12 +8,12 @@ import styles from '../../styles/SeiIntro.module.css'; const SeiIntro: React.FC = () => { return (
-
+
Sei Icon
Sei Network Documentation - The first parallelized EVM blockchain delivering unmatched scalability. + Sei is the first parallelized EVM blockchain delivering unmatched scalability.
diff --git a/theme.config.tsx b/theme.config.tsx index c9849f29..1a29b6d5 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -1,6 +1,7 @@ import React from 'react'; import type { DocsThemeConfig } from 'nextra-theme-docs'; import { Logo } from './components/Logo'; +import { Footer } from './components/Footer/Footer'; const config: DocsThemeConfig = { logo: , @@ -15,12 +16,11 @@ const config: DocsThemeConfig = { useLink: () => 'https://github.com/sei-protocol/sei-docs/issues/new' }, editLink: { text: 'Edit this page' }, - footer: { text: 'Sei Docs © 2024' }, - sidebar: { - defaultMenuCollapseLevel: 1, - toggleButton: true - }, + sidebar: { defaultMenuCollapseLevel: 1, toggleButton: true }, darkMode: true, + footer: { + component:
+ }, useNextSeoProps() { return { titleTemplate: '%s - Sei Docs', @@ -43,8 +43,18 @@ const config: DocsThemeConfig = { twitter: { site: '@SeiNetwork' }, additionalLinkTags: [ { rel: 'icon', href: '/favicon.ico' }, - { rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' }, - { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png' }, + { + rel: 'icon', + type: 'image/png', + sizes: '16x16', + href: '/favicon-16x16.png' + }, + { + rel: 'icon', + type: 'image/png', + sizes: '32x32', + href: '/favicon-32x32.png' + }, { rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' } ] }; From 8b968774b56166bbf46da8499e8bdb85cefa9c28 Mon Sep 17 00:00:00 2001 From: seiyan-writer Date: Thu, 16 Jan 2025 00:05:33 -0500 Subject: [PATCH 17/26] update learn section --- pages/index.mdx | 2 + pages/learn/_meta.json | 5 +- pages/learn/index.mdx | 106 ++++++++++++++++++++++------------------- pages/node/_meta.json | 71 ++++++++++++++------------- 4 files changed, 97 insertions(+), 87 deletions(-) diff --git a/pages/index.mdx b/pages/index.mdx index 6adba167..0ac6b93c 100644 --- a/pages/index.mdx +++ b/pages/index.mdx @@ -1,5 +1,7 @@ --- +title: 'Homepage' layout: raw +sidebar: false --- import React from 'react'; diff --git a/pages/learn/_meta.json b/pages/learn/_meta.json index 3e827d1a..e90565ff 100644 --- a/pages/learn/_meta.json +++ b/pages/learn/_meta.json @@ -1,9 +1,9 @@ { + "index": "Home", "-- Getting Started": { "type": "separator", "title": "Getting Started" }, - "index": "Home", "general-overview": "About Sei", "user-quickstart": "Quickstart", "differences-with-ethereum": "Divergence from Ethereum", @@ -13,6 +13,7 @@ "type": "separator", "title": "Onboarding Essentials" }, + "dev-gas": "Gas", "wallet-setup": "Wallet Setup", "ledger-setup": "Ledger Integration", "linking-addresses": "Linking Address Types", @@ -23,8 +24,10 @@ "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", diff --git a/pages/learn/index.mdx b/pages/learn/index.mdx index 3d43c454..7658665c 100644 --- a/pages/learn/index.mdx +++ b/pages/learn/index.mdx @@ -10,90 +10,96 @@ Discover Sei Features, Integrations and Usage. icon={} title='Divergence from Ethereum' link='/learn/differences-with-ethereum' - description={`See how Sei's architecture advances the EVM.`} + description='See how Sei's architecture advances the EVM.' preview={{ - content: "Sei advances the EVM by introducing significant architectural improvements over Ethereum.", + 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", - ], + 'Parallel transaction execution', + 'Optimized block production', + 'Enhanced throughput capabilities', + 'Lower gas fees structure' + ] }} /> } - title='Exploring Token Standards' - link='/build/dev-token-standards' - description={`Learn Sei's token standards for effective development.`} + title='Wallet Setup' + link='/learn/wallet-setup' + description='Create, import, and manage wallets on Sei.' preview={{ - content: "Explore Sei's token standards designed for interoperability and security.", + 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: [ - "Standardized fungible and non-fungible tokens", - "Compatibility with EVM ecosystems", - "Focus on performance and scalability", - "Security measures to prevent misuse", - ], + '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.`} + 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.", + 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", - ], + 'Benefits of staking', + 'Step-by-step guide to stake tokens', + 'Understanding validator roles', + 'Reward distribution mechanisms' + ] }} /> } - title='Developing Smart Contracts' - link='/build/dev-smart-contracts' - description={`Create and deploy smart contracts on Sei.`} + title='Governance' + link='/learn/general-governance' + description='Participate in on-chain decisions to shape Sei.' preview={{ - content: "Learn how to create and deploy secure, efficient smart contracts on Sei.", + content: + 'Learn how stakers propose, discuss, and vote on network changes, ensuring continuous evolution.', highlights: [ - "Sei's smart contract architecture", - "Common patterns and best practices", - "Testing and deploying contracts", - "Integration with dApps and other tools", - ], + 'Proposal submission & deposit periods', + 'Voting, quorum requirements & results', + 'Refund/burn deposit mechanics', + 'Types of proposals (params, community spend, etc.)' + ] }} /> } - title='Building a Frontend Interface' - link='/build/building-a-frontend' - description={`Craft user-friendly dApp frontends on Sei.`} + title='Transactions' + link='/learn/dev-transactions' + description='Dive into EVM & Cosmos-based transactions on Sei.' preview={{ - content: "Craft intuitive and performant frontend interfaces for your Sei-based applications.", + content: + 'Learn how to create, sign, and broadcast EVM and native transactions, plus handle multiple messages atomically.', highlights: [ - "Frontend frameworks and tools", - "Connecting the frontend with Sei's backend", - "Performance optimization techniques", - "UI/UX design best practices", - ], + 'Cosmos & EVM transaction structures', + 'Signing & broadcasting transactions', + 'Executing multiple messages', + 'Integration with CosmJS & seid' + ] }} /> } - title='Running a Validator Node' - link='/node/overview' - description={`Set up and manage a validator node on Sei.`} + title='VM Interoperability' + link='/learn/dev-interoperability' + description='Seamlessly bridge EVM and CosmWasm on Sei.' preview={{ - content: "Learn how to set up and manage a validator node on Sei to participate in network consensus.", + content: + 'Discover how precompiled EVM contracts and pointer contracts let you traverse both EVM and Wasm environments.', highlights: [ - "Requirements for running a validator node", - "Node setup and configuration", - "Monitoring and maintaining uptime", - "Validator incentives and penalties", - ], + 'Precompiled contracts for native functionality', + 'Pointer contracts linking tokens across VMs', + 'Interoperability for advanced use-cases', + 'Universal contract accessibility' + ] }} />
diff --git a/pages/node/_meta.json b/pages/node/_meta.json index d7a72d18..24a75a73 100644 --- a/pages/node/_meta.json +++ b/pages/node/_meta.json @@ -1,37 +1,36 @@ { - "index": "Home", - "-- Introduction": { - "type": "separator", - "title": "Introduction" - }, - "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" - } - \ No newline at end of file + "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" +} From 2389c47765ec6dc64c8e5ad29516b552ed9f1264 Mon Sep 17 00:00:00 2001 From: besated Date: Thu, 16 Jan 2025 15:46:45 -0800 Subject: [PATCH 18/26] Fix home sidebar duplicates --- components/Homepage/SeiIntro.tsx | 17 ++++++----------- pages/_meta.json | 4 ++++ pages/index.mdx | 3 ++- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/components/Homepage/SeiIntro.tsx b/components/Homepage/SeiIntro.tsx index dce72682..09d59d01 100644 --- a/components/Homepage/SeiIntro.tsx +++ b/components/Homepage/SeiIntro.tsx @@ -16,17 +16,12 @@ const SeiIntro: React.FC = () => { Sei is the first parallelized EVM blockchain delivering unmatched scalability.
- - component='a' variant='outline' size='sm' classNames={{ root: styles.outlineButton }}> - Quickstart - - - - - component='a' variant='outline' size='sm' classNames={{ root: styles.outlineButton }}> - About Sei - - + +
); diff --git a/pages/_meta.json b/pages/_meta.json index 27af7ca2..b3c4a1ec 100644 --- a/pages/_meta.json +++ b/pages/_meta.json @@ -1,4 +1,8 @@ { + "index": { + "title": "Home", + "display": "hidden" + }, "learn": { "title": "Learn", "type": "page" diff --git a/pages/index.mdx b/pages/index.mdx index 0ac6b93c..25f26ad8 100644 --- a/pages/index.mdx +++ b/pages/index.mdx @@ -86,5 +86,6 @@ export default function HomePage() {
- ); + +); } From d444b3d1e54b2f03ac5a7f50b3f91282dca281ab Mon Sep 17 00:00:00 2001 From: besated Date: Fri, 17 Jan 2025 01:14:22 -0800 Subject: [PATCH 19/26] Add redirects from old routes to new --- data/redirects.json | 462 ++++++++++++++++++++ next.config.js | 5 + pages/reference/precompiles/_meta.json | 13 +- pages/reference/precompiles/pointer.mdx | 26 +- pages/reference/precompiles/pointerview.mdx | 26 +- 5 files changed, 509 insertions(+), 23 deletions(-) create mode 100644 data/redirects.json diff --git a/data/redirects.json b/data/redirects.json new file mode 100644 index 00000000..7158910d --- /dev/null +++ b/data/redirects.json @@ -0,0 +1,462 @@ +[ + { + "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/:slug*", + "destination": "/reference/cosmos/: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 + } +] 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/pages/reference/precompiles/_meta.json b/pages/reference/precompiles/_meta.json index 0db3279e..cea37563 100644 --- a/pages/reference/precompiles/_meta.json +++ b/pages/reference/precompiles/_meta.json @@ -1,3 +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/reference/precompiles/pointer.mdx b/pages/reference/precompiles/pointer.mdx index fe6c2fef..bb2be163 100644 --- a/pages/reference/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/reference/precompiles/pointerview.mdx b/pages/reference/precompiles/pointerview.mdx index c8e5085d..166b9392 100644 --- a/pages/reference/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). - + + ``` From eb04697aa1365be69debceee93a089e6ebcc8951 Mon Sep 17 00:00:00 2001 From: besated Date: Fri, 17 Jan 2025 16:52:51 -0800 Subject: [PATCH 20/26] Add callout link to old docs --- .../DeveloperSurveyCallout.tsx | 25 ------------------- components/DeveloperSurveyCallout/index.ts | 1 - components/OldDocsCallout/OldDocsCallout.tsx | 18 +++++++++++++ components/OldDocsCallout/index.ts | 1 + components/index.ts | 2 +- pages/index.mdx | 2 ++ 6 files changed, 22 insertions(+), 27 deletions(-) delete mode 100644 components/DeveloperSurveyCallout/DeveloperSurveyCallout.tsx delete mode 100644 components/DeveloperSurveyCallout/index.ts create mode 100644 components/OldDocsCallout/OldDocsCallout.tsx create mode 100644 components/OldDocsCallout/index.ts 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/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/pages/index.mdx b/pages/index.mdx index 25f26ad8..133b872c 100644 --- a/pages/index.mdx +++ b/pages/index.mdx @@ -5,6 +5,7 @@ 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'; @@ -13,6 +14,7 @@ export default function HomePage() { return (
+
From e0e5a0363cf7d8df1e82a9066875f8aba781b909 Mon Sep 17 00:00:00 2001 From: besated Date: Fri, 17 Jan 2025 17:01:19 -0800 Subject: [PATCH 21/26] Fix edit link --- theme.config.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/theme.config.tsx b/theme.config.tsx index 1a29b6d5..2ff8451d 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -21,6 +21,7 @@ const config: DocsThemeConfig = { footer: { component: