- Navigate to the delegates.js file in the root of this directory
- It contains a json object list of the candidates in the following format:
{
name: 'Jane Cooper',
address: '0xE27F2E8321Fb4c32525a4ED86d2902dbA63491E4',
bio: 'Went into crypto in 2016. Community builder @ early stage crypto startups. Building the Keep network and tBTC community. Early adopter of Paladin. Believe in what is best for Paladin in the long term and for contributors/community',
discordId: 'BryanMutai#6546',
twitter: 'APWineFinance',
imageUrl:
'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=4&w=256&h=256&q=60',
},
- Add the respective fields (for the twitter field, only add the username without the
@
symbol, and images must link directly to an image on imgur or ipfs) - Please leave field empty like this ->
''
if no information available for the field - Commit the changes to the main branch and redeploy to see the changes
The .env
file contains environment variables that the program needs to function properly.
NEXT_PUBLIC_VEAPW_TOKEN_ADDRESS
- Token address forveAPW
on mainnet and rinkebyNEXT_PUBLIC_VEAPW_TOKEN_SYMBOL
- Token symbol for veAPWNEXT_PUBLIC_APWINE_SPACE
- The apwine space id on snapshotNEXT_PUBLIC_APWINE_DELEGATE_REGISTRY_ADDRESS
The delegate registry address on mainnet and rinkeby to set/remove/fetch the delegate of the connected wallet address
First, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.