### Install and Configure Next.js Webapp Source: https://github.com/crossmint/agent-launchpad-starter-kit/blob/main/README.md Provides commands to navigate to the Next.js application directory, install dependencies using pnpm, and copy the environment example file for initial configuration. ```bash cd launchpad-starter-next-app pnpm install cp .env.example .env ``` -------------------------------- ### Install Agent TEE Dependencies Source: https://github.com/crossmint/agent-launchpad-starter-kit/blob/main/README.md Commands to navigate into the agent TEE image directory and install its required dependencies using pnpm. ```bash cd agent-tee-phala/image pnpm install ``` -------------------------------- ### Start Next.js Webapp Development Server Source: https://github.com/crossmint/agent-launchpad-starter-kit/blob/main/README.md Command to launch the Next.js development server, making the web application accessible locally for testing and development. ```bash pnpm dev ``` -------------------------------- ### Set Solana Signer Public Key for Smart Wallets Source: https://github.com/crossmint/agent-launchpad-starter-kit/blob/main/README.md Instructions for setting the NEXT_PUBLIC_SOLANA_SIGNER_PUBLIC_KEY environment variable, part of the keypair used by Crossmint's Solana Smart Wallets to sign transactions. ```bash NEXT_PUBLIC_SOLANA_SIGNER_PUBLIC_KEY=your_public_key ``` -------------------------------- ### Set Solana Signer Private Key for Smart Wallets Source: https://github.com/crossmint/agent-launchpad-starter-kit/blob/main/README.md Instructions for setting the SOLANA_SIGNER_PRIVATE_KEY environment variable, part of the keypair used by Crossmint's Solana Smart Wallets to sign transactions. ```bash SOLANA_SIGNER_PRIVATE_KEY=your_private_key ``` -------------------------------- ### Build Agent TEE Image Code Source: https://github.com/crossmint/agent-launchpad-starter-kit/blob/main/README.md Command to compile and build the agent TEE image code, which will be deployed in a simulated TEE environment for local testing. ```bash pnpm build ``` -------------------------------- ### Build Docker Image for Crossmint Agent TEE Source: https://github.com/crossmint/agent-launchpad-starter-kit/blob/main/README.md This command builds the Docker image for the Crossmint Agent TEE, ensuring it's compatible with the `linux/amd64` architecture. It uses a specified Dockerfile and tags the image with a custom name and version, preparing it for deployment. ```bash docker build --pull --rm -f 'agent-tee-phala/image/Dockerfile' --platform linux/amd64 -t '{your-image-name}:{version}' 'agent-tee-phala/image' ``` ```bash docker build --pull --rm -f 'agent-tee-phala/image/Dockerfile' --platform linux/amd64 -t 'agentlaunchpadstarterkit:latest' 'agent-tee-phala/image' ``` -------------------------------- ### Set Alchemy API Key for EVM Smart Wallets Source: https://github.com/crossmint/agent-launchpad-starter-kit/blob/main/README.md Instructions for setting the ALCHEMY_API_KEY environment variable, which is crucial for Crossmint's Smart Wallets on EVM chains to connect and sign transactions. ```bash ALCHEMY_API_KEY=your_api_key ``` -------------------------------- ### Set Preferred Chain to Solana Source: https://github.com/crossmint/agent-launchpad-starter-kit/blob/main/README.md Instructions for setting the NEXT_PUBLIC_PREFERRED_CHAIN environment variable to 'solana', directing the application to use Solana as the primary blockchain. ```bash NEXT_PUBLIC_PREFERRED_CHAIN=solana ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.