import { ChainsType , CHAINS , PROTOCOL_STEPS_ID , POLYGON_PROTOCOLS , AVALANCHE_PROTOCOLS , AVALANCHE_NETWORKS , CELO_PROTOCOLS , CELO_NETWORKS , POLYGON_NETWORKS , NEAR_NETWORKS , NEAR_PROTOCOLS , SECRET_PROTOCOLS , SECRET_NETWORKS , TEZOS_NETWORKS , TEZOS_PROTOCOLS , SOLANA_PROTOCOLS , SOLANA_NETWORKS , POLKADOT_NETWORKS , CERAMIC_PROTOCOLS , CERAMIC_NETWORKS , THE_GRAPH_PROTOCOLS , THE_GRAPH_NEAR_PROTOCOLS , THE_GRAPH_NETWORKS , THE_GRAPH_NEAR_NETWORKS , ARWEAVE_PROTOCOLS , ARWEAVE_NETWORKS , } from 'types' ; export const GRID_LAYOUT = [ 13 , 11 ] ; export const HEADER_HEIGHT = 80 ; export const FOOTER_HEIGHT = 90 ; export const CHAINS_CONFIG = { [ CHAINS . AVALANCHE ] : { id : CHAINS . AVALANCHE , label : 'Avalanche' , active : true , logoUrl : 'https://cryptologos.cc/logos/avalanche-avax-logo.svg?v=010' , protocol : AVALANCHE_PROTOCOLS . RPC , network : AVALANCHE_NETWORKS . DATAHUB , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the Avalanche Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Setup the project' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . CHAIN_CONNECTION , title : 'Connect to Avalanche' , } , { id : PROTOCOL_STEPS_ID . CREATE_KEYPAIR , title : 'Create a keypair' , } , { id : PROTOCOL_STEPS_ID . GET_BALANCE , title : 'Get the balance' , } , { id : PROTOCOL_STEPS_ID . TRANSFER_TOKEN , title : 'Transfer some AVAX' , } , { id : PROTOCOL_STEPS_ID . EXPORT_TOKEN , title : 'Export tokens from X-Chain to C-Chain' , } , { id : PROTOCOL_STEPS_ID . IMPORT_TOKEN , title : 'Import tokens from X-Chain to C-Chain' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . CELO ] : { id : CHAINS . CELO , label : 'Celo' , active : true , logoUrl : 'https://cryptologos.cc/logos/celo-celo-logo.svg?v=010' , protocol : CELO_PROTOCOLS . RPC , network : CELO_NETWORKS . TESTNET , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the Celo Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Setup the project' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . CHAIN_CONNECTION , title : 'Connect to Celo' , } , { id : PROTOCOL_STEPS_ID . CREATE_ACCOUNT , title : 'Create an account' , } , { id : PROTOCOL_STEPS_ID . GET_BALANCE , title : 'Get the balance' , } , { id : PROTOCOL_STEPS_ID . TRANSFER_TOKEN , title : 'Transfer some tokens' , } , { id : PROTOCOL_STEPS_ID . SWAP_TOKEN , title : 'Swap cUSD to CELO' , } , { id : PROTOCOL_STEPS_ID . DEPLOY_CONTRACT , title : 'Deploy a smart contract' , } , { id : PROTOCOL_STEPS_ID . GET_CONTRACT_VALUE , title : 'Get the storage of a smart contract' , } , { id : PROTOCOL_STEPS_ID . SET_CONTRACT_VALUE , title : 'Set the storage of a smart contract' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . NEAR ] : { id : CHAINS . NEAR , label : 'NEAR' , active : true , logoUrl : 'https://cryptologos.cc/logos/near-protocol-near-logo.svg?v=010' , protocol : NEAR_PROTOCOLS . RPC , network : NEAR_NETWORKS . DATAHUB , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the NEAR Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Setup the project' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . CHAIN_CONNECTION , title : 'Connect to NEAR' , } , { id : PROTOCOL_STEPS_ID . CREATE_KEYPAIR , title : 'Generate a keypair' , } , { id : PROTOCOL_STEPS_ID . CREATE_ACCOUNT , title : 'Create an account' , } , { id : PROTOCOL_STEPS_ID . GET_BALANCE , title : 'Get account balance' , } , { id : PROTOCOL_STEPS_ID . TRANSFER_TOKEN , title : 'Transfer some NEAR' , } , { id : PROTOCOL_STEPS_ID . DEPLOY_CONTRACT , title : 'Deploy a contract' , } , { id : PROTOCOL_STEPS_ID . GET_CONTRACT_VALUE , title : 'Get the storage of a smart contract' , } , { id : PROTOCOL_STEPS_ID . SET_CONTRACT_VALUE , title : 'Set the storage of a smart contract' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . POLKADOT ] : { id : CHAINS . POLKADOT , label : 'Polkadot' , active : true , logoUrl : 'https://cryptologos.cc/logos/polkadot-new-dot-logo.svg?v=010' , protocol : POLYGON_PROTOCOLS . WS , network : POLKADOT_NETWORKS . TESTNET , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the Polkadot Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Setup the project' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . CHAIN_CONNECTION , title : 'Connect to Polkadot' , } , { id : PROTOCOL_STEPS_ID . CREATE_ACCOUNT , title : 'Create an account' , } , { id : PROTOCOL_STEPS_ID . RESTORE_ACCOUNT , title : 'Restore an account' , } , { id : PROTOCOL_STEPS_ID . ESTIMATE_FEES , title : 'Estimate transaction fees' , } , { id : PROTOCOL_STEPS_ID . GET_BALANCE , title : 'Get the balance' , } , { id : PROTOCOL_STEPS_ID . ESTIMATE_DEPOSIT , title : 'Existential deposit' , } , { id : PROTOCOL_STEPS_ID . TRANSFER_TOKEN , title : 'Transfer some tokens' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . POLYGON ] : { id : CHAINS . POLYGON , label : 'Polygon' , active : true , logoUrl : 'https://cryptologos.cc/logos/polygon-matic-logo.svg?v=010' , protocol : POLYGON_PROTOCOLS . RPC , network : POLYGON_NETWORKS . TESTNET , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the Polygon Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Setup the project' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . CHAIN_CONNECTION , title : 'Connect to Polygon' , } , { id : PROTOCOL_STEPS_ID . QUERY_CHAIN , title : 'Query Polygon' , } , { id : PROTOCOL_STEPS_ID . GET_BALANCE , title : 'Fund a Polygon account' , } , { id : PROTOCOL_STEPS_ID . TRANSFER_TOKEN , title : 'Transfer some MATIC' , } , { id : PROTOCOL_STEPS_ID . DEPLOY_CONTRACT , title : 'Deploy a Solidity smart contract' , } , { id : PROTOCOL_STEPS_ID . SET_CONTRACT_VALUE , title : 'Set the storage of the contract' , } , { id : PROTOCOL_STEPS_ID . GET_CONTRACT_VALUE , title : 'Get the storage of the contract' , } , { id : PROTOCOL_STEPS_ID . RESTORE_ACCOUNT , title : 'Restore your account' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . SECRET ] : { id : CHAINS . SECRET , label : 'Secret' , active : true , logoUrl : 'https://cryptologos.cc/logos/secret-scrt-logo.svg?v=010' , protocol : SECRET_PROTOCOLS . RPC , network : SECRET_NETWORKS . TESTNET , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the Secret Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Setup the project' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . CHAIN_CONNECTION , title : 'Connect to Secret' , } , { id : PROTOCOL_STEPS_ID . CREATE_ACCOUNT , title : 'Create an account' , } , { id : PROTOCOL_STEPS_ID . GET_BALANCE , title : 'Get the balance' , } , { id : PROTOCOL_STEPS_ID . TRANSFER_TOKEN , title : 'Transfer some SCRT' , } , { id : PROTOCOL_STEPS_ID . DEPLOY_CONTRACT , title : 'Deploy a smart contract' , } , { id : PROTOCOL_STEPS_ID . GET_CONTRACT_VALUE , title : 'Get the storage of a smart contract' , } , { id : PROTOCOL_STEPS_ID . SET_CONTRACT_VALUE , title : 'Set the storage of a smart contract' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . SOLANA ] : { id : CHAINS . SOLANA , label : 'Solana' , logoUrl : 'https://cryptologos.cc/logos/solana-sol-logo.svg?v=010' , protocol : SOLANA_PROTOCOLS . RPC , network : SOLANA_NETWORKS . DEVNET , active : true , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the Solana Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Setup the project' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . CHAIN_CONNECTION , title : 'Connect to Solana' , } , { id : PROTOCOL_STEPS_ID . CREATE_ACCOUNT , title : 'Create an account' , } , { id : PROTOCOL_STEPS_ID . FUND_ACCOUNT , title : 'Fund the account with SOL' , } , { id : PROTOCOL_STEPS_ID . GET_BALANCE , title : 'Get the balance' , } , { id : PROTOCOL_STEPS_ID . TRANSFER_TOKEN , title : 'Transfer some SOL' , } , { id : PROTOCOL_STEPS_ID . DEPLOY_CONTRACT , title : 'Deploy a program' , } , { id : PROTOCOL_STEPS_ID . SOLANA_CREATE_GREETER , title : 'Create storage for the program' , } , { id : PROTOCOL_STEPS_ID . GET_CONTRACT_VALUE , title : 'Get data from the program' , } , { id : PROTOCOL_STEPS_ID . SET_CONTRACT_VALUE , title : 'Send data to the program' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . TEZOS ] : { id : CHAINS . TEZOS , label : 'Tezos' , active : true , logoUrl : 'https://cryptologos.cc/logos/tezos-xtz-logo.svg?v=010' , protocol : TEZOS_PROTOCOLS . RPC , network : TEZOS_NETWORKS . TESTNET , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the Tezos Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Setup the project' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . CHAIN_CONNECTION , title : 'Connect to Tezos' , } , { id : PROTOCOL_STEPS_ID . CREATE_ACCOUNT , title : 'Create an account' , } , { id : PROTOCOL_STEPS_ID . GET_BALANCE , title : 'Get the balance' , } , { id : PROTOCOL_STEPS_ID . TRANSFER_TOKEN , title : 'Transfer some TEZ' , } , { id : PROTOCOL_STEPS_ID . DEPLOY_CONTRACT , title : 'Deploy a smart contract' , } , { id : PROTOCOL_STEPS_ID . GET_CONTRACT_VALUE , title : 'Get the storage of a smart contract' , } , { id : PROTOCOL_STEPS_ID . SET_CONTRACT_VALUE , title : 'Set the storage of a smart contract' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . CERAMIC ] : { id : CHAINS . CERAMIC , label : 'Ceramic' , active : false , logoUrl : 'https://developers.ceramic.network/images/ceramic-no-shadow.png' , protocol : CERAMIC_PROTOCOLS . HTTP , network : CERAMIC_NETWORKS . TESTNET , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the Ceramic Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Introduction' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . CHAIN_CONNECTION , title : 'Connect with MetaMask' , } , { id : PROTOCOL_STEPS_ID . LOGIN , title : 'Login with IDX' , } , { id : PROTOCOL_STEPS_ID . BASIC_PROFILE , title : 'Update and read your profile' , } , { id : PROTOCOL_STEPS_ID . CUSTOM_DEFINITION , title : 'Deploy and use custom definition' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . THE_GRAPH ] : { id : CHAINS . THE_GRAPH , label : 'The Graph' , active : true , logoUrl : 'https://cryptologos.cc/logos/the-graph-grt-logo.svg?v=013' , protocol : THE_GRAPH_PROTOCOLS . GRAPHQL , network : THE_GRAPH_NETWORKS . LOCALNET , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the The Graph Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Introduction' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . GRAPH_NODE , title : 'Run a local Graph node' , } , { id : PROTOCOL_STEPS_ID . SUBGRAPH_SCAFFOLD , title : 'Create a subgraph scaffold' , } , { id : PROTOCOL_STEPS_ID . SUBGRAPH_MANIFEST , title : 'Tweak the Manifest' , } , { id : PROTOCOL_STEPS_ID . SUBGRAPH_SCHEMA , title : 'Define the schema' , } , { id : PROTOCOL_STEPS_ID . SUBGRAPH_MAPPINGS , title : 'Implement the mappings' , } , { id : PROTOCOL_STEPS_ID . SUBGRAPH_QUERY , title : 'Query the subgraph' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . THE_GRAPH_NEAR ] : { id : CHAINS . THE_GRAPH_NEAR , label : 'NEAR Graph' , active : true , logoUrl : 'https://cryptologos.cc/logos/near-protocol-near-logo.svg?v=010' , protocol : THE_GRAPH_NEAR_PROTOCOLS . GRAPHQL , network : THE_GRAPH_NEAR_NETWORKS . HOSTED , steps : [ { id : PROTOCOL_STEPS_ID . PREFACE , title : 'Welcome to the The Graph for NEAR Pathway' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . PROJECT_SETUP , title : 'Introduction' , isOneColumn : true , } , { id : PROTOCOL_STEPS_ID . GRAPH_NODE , title : 'The Graph hosted service' , } , { id : PROTOCOL_STEPS_ID . SUBGRAPH_SCAFFOLD , title : 'Create a subgraph scaffold' , } , { id : PROTOCOL_STEPS_ID . SUBGRAPH_MANIFEST , title : 'Tweak the Manifest' , } , { id : PROTOCOL_STEPS_ID . SUBGRAPH_SCHEMA , title : 'Define the schema' , } , { id : PROTOCOL_STEPS_ID . SUBGRAPH_MAPPINGS , title : 'Implement the mappings' , } , { id : PROTOCOL_STEPS_ID . SUBGRAPH_QUERY , title : 'Query the subgraph' , } , { id : PROTOCOL_STEPS_ID . FINAL , title : '🎓 Pathway complete!' , isOneColumn : true , } , ] , } , [ CHAINS . ARWEAVE ] : { id : CHAINS . ARWEAVE , label : 'Arweave' , active : false , logoUrl : 'https://cryptologos.cc/logos/arweave-ar-logo.svg?v=014' , protocol : ARWEAVE_PROTOCOLS . RPC , network : ARWEAVE_NETWORKS . MAINNET , steps : [ ] , } , } ;