Giter VIP home page Giter VIP logo

centrifuge-cli's People

Contributors

mikiquantum avatar mustermeiszer avatar nunoalexandre avatar tankofzion avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

centrifuge-cli's Issues

Implement NFT Studio playground

This issue aims at implementing a quick-and-dirty Typescript solution (for now based on polkadot-launch and later refactored as a centrifuge-cli command) so that to ease the deployment of a local Altair-based playground, with a local relay chain (using parity/polkadotv0.9.11 Docker image), parachain(s) and collator(s).
Front-end engineers need it for implementing the GUI for the NFT studio product.

Centrifuge-Cli - Chain-Plugin

Parent epic that tracks progress.

The chain-plugin should allow to:

  • Spin-up a chain-parachain-env where the parachain is already onboarded

The following iterations might be useful, where iteration 1 is for this epic the minimal requirement:

1. Iteration

  • spin-up relay-chain and parachain from docker images from dockerhub

2. Iteration

  • spin-up relay-chain and parachain from local builds (as be docker images)
  • allow usage of specs that are defined locally

3. Iteration

  • spin-up relay-chain and parachain with fetched state from existing network
  • store state of relay-chains, parachains as artifacts in database every 30 minutes or so
    • create chain-specs from these states

4. Iteration

  • spin-up everything in cloud env so that others can also access it

5. Iteration

  • Add dynamic choosing for users. Like choose which runtime to spin-up, etc.
    I.e. do not choose everything directly from commands

Clean-up Centrifuge-Cli

Write docs, increase usability of core-command, prepare for releasing actual version on npm

Centrifuge Cli - v0.9.0

Parent epic that tracks progress.

Release version v0.9.0 for centrifuge CLI and publish on npm.
This will allow the apps-team to actually use the cli without having the repo available locally.

  • #12
  • #11
  • Tests for plugins (excluding Migration and Crowdloan, those have e2e-tests and will be removed in the near future)
  • #10
  • Add GitHub Actions for building NPM packages and publish packages

Implement Plugin for Crowdloan

The plugin must provide the following functionality:

  • fetch events from previous crowdloans and return the first N-contributors
  • fetch events from the latest crowdloans and return a datapoint for every contribution.
    Datapoints include: Blocknumber, amount, who, memonn
  • transform these datapoints into (who, rewardAmount)-tuple
  • create a merkle-tree from these tuples
  • output the merkle-tree for the APPS-circle in a JSON
  • initialize the crowdloanReward and the crowdloanClaim pallet
  • fund the corwdloanReward pallet from a provided account

NOTE: As fetching the events takes some time, it might be preferable to provide an option to just use a generate merkle-tree and start the initialization and funding from this point onwards.

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.