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.
-
Start following this doc from Production Deployment
-
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
-
Get a Alchemy key and set
NEXT_PUBLIC_ALCHEMY_API_KEY
-
Set below variables from the token info...
NEXT_PUBLIC_TOKEN_SYMBOL= NEXT_PUBLIC_TOKEN_DECIMALS=
-
Merge above environment variables with rest of others described in Here
-
You are ready to deploy.