Upgrading V1 To V2

To upgrade the Crypto Token Escrow V1 to V2 is very simple. You don't have to do anything about contract deployment. Just follow those steps.

  1. Start following this doc from Production Deployment

  2. Collect below environment variables with it's value from previous V1 deployment in Vercel/VPS/Cloud.

    NEXT_PUBLIC_CHAIN
    
    NEXT_PUBLIC_MINIMUM_ESCROW
    
    NEXT_PUBLIC_ESCROW_FEE
    
    NEXT_PUBLIC_TOKEN_ADDRESS
    
    NEXT_PUBLIC_CONTRACT_ADDRESS
    
  3. Get a Alchemy key and set

    NEXT_PUBLIC_ALCHEMY_API_KEY
    
  4. Set below variables from the token info...

    NEXT_PUBLIC_TOKEN_SYMBOL=
    NEXT_PUBLIC_TOKEN_DECIMALS=
    
  5. Merge above environment variables with rest of others described in Here

  6. You are ready to deploy.