GithubHelp home page GithubHelp logo

ratribiana / ambire-constants Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ambiretech/ambire-constants

0.0 0.0 0.0 6.39 MB

Ambire constant helpers

License: GNU General Public License v3.0

JavaScript 100.00%

ambire-constants's Introduction

Ambire constants

๐Ÿ“• About ๐Ÿ“•

This repository contains the static files, shared between ambire-common and the web and mobile wallets.

๐Ÿ› ๏ธ Installation ๐Ÿ› ๏ธ

The project uses Yarn.

  1. Make sure that you have NodeJS v16.14.0 installed.
  2. In the root folder run yarn install

๐Ÿ“‹ Available Scripts ๐Ÿ“‹

  1. generate:contractInfo - this script generates contants/humanizerInfo.json.
  2. build - combines humanizerInfo.json, tokenList.json and WALLETInitialClaimableRewards.json into a single json file and copies adexToStakingTransfers.json and the newly created result.json into the build/ folder.
  3. predeploy - runs the build script.
  4. deploy - runs predeploy deploys all files inside the build/ folder using gh-pages

๐Ÿ†• Steps to update constants ๐Ÿ†•

  1. tokenList.json and WALLETInitialClaimableRewards.json - these files must be updated manually
  2. humanizerInfo.json- this file can both be updated manually and generated using the yarn run generate:contractInfo command.
  3. Commit the changes
  4. For now push directly to the main branch

๐Ÿšจ Possible errors ๐Ÿšจ

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' }

ambire-constants's People

Contributors

ivshti avatar maskln avatar petromirdev avatar stojnovsky avatar superkalo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.