### Start Development Server with Yarn Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2-cosmos-provider/README.md Starts the local development server for the React application using Yarn. ```bash yarn start ``` -------------------------------- ### Setup Local Environment Variables (bash) Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2/README.md Copies the example environment file to create a local environment configuration file. ```bash cp .env.local.example .env.local ``` -------------------------------- ### Install Dependencies with Yarn Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2-cosmos-provider/README.md Installs the project's required dependencies using the Yarn package manager. ```bash yarn ``` -------------------------------- ### Directory Structure Overview - Bash Source: https://github.com/reown-com/web-examples/blob/main/roadmap.md Displays the directory structure of the basic web examples project, outlining the organization of dapp and wallet examples for various WalletConnect SDKs. ```bash . ├── dapps/ │ ├── web3modal │ ├── web3inbox(TODO) │ ├── ethereum-provider │ ├── universal-provider-solana │ └── universal-provider-cosmos(TODO) └── wallets/ ├── web3wallet(TODO) ├── web3wallet-ethers(TODO) ├── web3wallet-viem(TODO) └── web3wallet-wagmi(TODO) ``` -------------------------------- ### Install Dependencies (Yarn) - Bash Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2-with-ethers/README.md Installs all necessary project dependencies listed in the package.json file using the Yarn package manager. This command should be run after cloning the repository. ```bash yarn ``` -------------------------------- ### Starting Development Server using Package Managers (Bash) Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/chain-abstraction-demo/README.md These commands initiate the local development server for the application using different Node.js package managers. Running one of these commands will start the server, typically making the application accessible at http://localhost:3000 in your browser. ```bash npm run dev ``` ```bash yarn dev ``` ```bash pnpm dev ``` ```bash bun dev ``` -------------------------------- ### Install React dApp Dependencies (bash) Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2/README.md Installs the necessary project dependencies for the React dApp using Yarn. ```bash yarn ``` -------------------------------- ### Copy Environment Variables File - Bash Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2-with-ethers/README.md Copies the example environment variable file (.env.local.example) to create the local environment file (.env.local). This file needs to be updated with a Project ID obtained from WalletConnect Cloud. ```bash cp .env.local.example .env.local ``` -------------------------------- ### Build Project with Yarn Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2-cosmos-provider/README.md Builds the project for production deployment using Yarn. ```bash yarn build ``` -------------------------------- ### Installing Dependencies using Package Managers (Bash) Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/chain-abstraction-demo/README.md These commands show how to install the project's dependencies using various Node.js package managers. Choose the command corresponding to the package manager you prefer (npm, yarn, pnpm, or bun). This step is required before running the application. ```bash npm install ``` ```bash yarn install ``` ```bash pnpm install ``` ```bash bun install ``` -------------------------------- ### Start Development Server (Yarn) - Bash Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2-with-ethers/README.md Starts the local development server for the React dApp. This command typically enables hot-reloading and provides a local URL to access the application during development. ```bash yarn dev ``` -------------------------------- ### Run Tests with Yarn Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2-cosmos-provider/README.md Executes the project's test suite using Yarn. ```bash yarn test ``` -------------------------------- ### Copy Environment Variables File Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2-cosmos-provider/README.md Copies the example environment variables file (.env.local.example) to create the local environment configuration file (.env.local). This file needs to be updated with a Project ID. ```bash cp .env.local.example .env.local ``` -------------------------------- ### Copy Environment Variables File Source: https://github.com/reown-com/web-examples/blob/main/advanced/wallets/react-wallet-v2/README.md Copies the example environment variable file (`.env.local.example`) to the active environment file (`.env.local`). This file needs to be updated with your WalletConnect Project ID. ```Bash cp .env.local.example .env.local ``` -------------------------------- ### Running Next.js Development Server - Bash Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/smart-sessions-demo/README.md Commands to start the Next.js development server using different package managers (npm, yarn, pnpm, bun). The server will typically run on http://localhost:3000. ```bash npm run dev # or yarn dev # or pnpm dev # or bun dev ``` -------------------------------- ### Run React dApp Locally (bash) Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2/README.md Starts the React dApp in development mode using Yarn. ```bash yarn dev ``` -------------------------------- ### Build Production Bundle (Yarn) - Bash Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2-with-ethers/README.md Builds the application for production deployment. This command typically compiles, optimizes, and bundles the code into static assets ready for hosting. ```bash yarn build ``` -------------------------------- ### Run Tests (Yarn) - Bash Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2-with-ethers/README.md Executes the project's test suite using the configured testing framework. This command is used to verify the functionality and stability of the application code. ```bash yarn test ``` -------------------------------- ### Build React dApp for Production (bash) Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2/README.md Builds the React dApp for production deployment using Yarn. ```bash yarn build ``` -------------------------------- ### Run React dApp Tests (bash) Source: https://github.com/reown-com/web-examples/blob/main/advanced/dapps/react-dapp-v2/README.md Executes the test suite for the React dApp using Yarn. ```bash yarn test ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.