This repository contains the static files, shared between ambire-common
and the web
and mobile
wallets.
The project uses Yarn.
- Make sure that you have
NodeJS v16.14.0
installed. - In the root folder run
yarn install
generate:contractInfo
- this script generatescontants/humanizerInfo.json
.build
- combineshumanizerInfo.json
,tokenList.json
andWALLETInitialClaimableRewards.json
into a single json file and copiesadexToStakingTransfers.json
and the newly createdresult.json
into thebuild/
folder.predeploy
- runs thebuild
script.deploy
- runspredeploy
deploys all files inside thebuild/
folder using gh-pages
tokenList.json
andWALLETInitialClaimableRewards.json
- these files must be updated manuallyhumanizerInfo.json
- this file can both be updated manually and generated using theyarn run generate:contractInfo
command.- Commit the changes
- For now push directly to the
main
branch
Incase you see this error, don't worry. Just rerun the github action after a few minutes.
{ status: '0', message: 'NOTOK', result: 'Max rate limit reached' }