RAIRprotocol
  • 💎Welcome to RAIR
  • 💴Whitepaper (draft)
    • Start
      • History
      • Licensing
      • Codebase
      • Onboarding
      • Mechanics
        • Burn Model
        • Earn Model
      • Governance (DAORM)
  • ↔️Integrations
    • Core Technologies
      • Guides
        • Alchemy
        • GCP Cloud Storage
        • Web3Auth
    • Blockchains
  • 👩‍💻CODEBASE
    • RAIRsolidity
      • Soneium (Minato)
      • Core DAO
      • All Contract Addresses
      • Transfer functions
    • RAIRdapp
      • RAIRfrontend
        • Proxy Settings for Default Frontend
        • Frontend Variables Library
      • RAIRnode
        • Permissions and Access Controls
        • Backend Variables Library
      • RAIRsync
        • Integrating New EVMs
      • RAIRstream
      • RAIRinfra
    • RAIR API
      • Endpoints
        • Auth
          • Get challenge
          • Login
          • Logout
          • Me
          • Unlock
          • Stream
            • Out
        • Analytics
          • Csv
        • Contracts
          • FactoryList
          • Full
          • Import
          • My
          • Network
            • Products
              • Offers
        • Credits
          • Withdraw
        • Favorites
        • Files
          • ById
          • ByCategory
          • Categories
          • ForToken
          • Unlocks
          • List
          • Remove
          • Update
        • Nft
          • Network
            • Attributes
            • Files
            • Locks
            • Offers
            • Token
              • Pinning
          • PinningMultiple
          • Csv
            • Sample
        • Offers
          • /
        • Products
          • /
          • User
        • Resales
          • Create
          • Delete
          • Open
          • Purchase
          • Update
        • Search
          • All
        • Settings
          • Featured
          • Theme
          • AppLogo
        • Tokens
          • /
          • TokenNumbers
        • Transaction
        • Upload
          • File
          • Validate
        • Users
          • /
          • Export
          • List
          • Yoti verify
      • Specification
    • A Note on Documentation
  • ⚙️Installation and Testing
    • Getting Started
      • Welcome to New Web3 Devs!
      • RAIRlite (Single VM)
        • Windows WSL Installation
        • MVP Test Plan
        • https configuration
      • RAIRcloud (Cloud Enabled)
        • Cloud Test Plan
  • 🛟End User Guides
    • User Functionality
      • How to login
      • Buy your first NFT
      • Put items up for sale
      • Watch Content
    • Admin Functionality
      • Deploying NFT contracts
      • Managing Metadata
      • Managing Media
      • Managing Marketplace
      • Managing Users
      • Importing External Contracts
Powered by GitBook
On this page

Was this helpful?

  1. CODEBASE
  2. RAIRdapp
  3. RAIRfrontend

Proxy Settings for Default Frontend

How to configure system to load a blank homepage

Create custom component SimpleDApp.tsx

This component uses these components:

  • Connect button

  • Social logins

  • Main banner

  • TitleCollection (replaced mint button to Main banner)

  1. Remove Connect button from Header

  2. Changed logic in useConnectUser hook and TitleCollection component

  3. Improving styles

  4. Adding specific conditions to display the Connect Button or Main banner

  5. In App.tsx component I changed main url '/' . In RairDapp it uses SimpleDApp.tsx now. And because of this we see another main component

  6. In order for authorization using social logins to work, you need to add the following variables to the env file:

  • VITE_BASE_MAINNET_ALCHEMY_KEY

  • VITE_BASE_MAINNET_GAS_POLICY

In our case, this is the Base blockchain: VITE_BASE_MAINNET_ALCHEMY_KEY=xxx VITE_BASE_MAINNET_GAS_POLICY=xxx

PreviousRAIRfrontendNextFrontend Variables Library

Last updated 8 months ago

Was this helpful?

👩‍💻