Giter VIP home page Giter VIP logo

crowdloan-app's Introduction

crowdloan

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your unit tests

npm run test:unit

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

crowdloan-app's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

crowdloan-app's Issues

Polkadot JS issue

When going to the website it does not ask to connect my Polkadot JS.
Also try to make sure there is a dropdown box to select the address users want to use.

Change text hero image

Please change hero image text.

From:
image

Into:
Astar Crowdloan Event - Support Astar Network (previously Plasm Network)

Stake with 'Max' amount burns the remaining balance

Sending 'Max' amount (whole numbers) makes less than 1 DOT in the reaming balance. However, accounts with a balance of less than 1 DOT will be deactivated on the Polkadot network, which means that all remaining DOT in that account is burned.
Maybe it is better to make sure that the balance remains more than 1 DOT in their account after staking.

Ref: https://support.polkadot.network/support/solutions/articles/65000169248-error-balances-transferkeepalive-

=Polkadot.js=
Error message If user remains less than 1 DOT after the transaction.

image

Issue with lockdrop bonus application form

This must be something slipped during the PR review.
Screen Shot 2022-01-04 at 2 02 05 PM

The page doesn't seem to detect my polkadot-js wallet with the account that participated in the corwdloan.

Secondly, I can still click on the Apply despite not choosing a Polkadot account.

Screen Shot 2022-01-04 at 2 03 35 PM

And when I look at the database, it says the target bonus address is 1kjVhPEA6zfucn6NMdS9agqZfmnZbrw5V8kHC5g82yo22et, which is an account that I do not own (and it doesn't seem to exist https://polkadot.subscan.io/account/1kjVhPEA6zfucn6NMdS9agqZfmnZbrw5V8kHC5g82yo22et).

Lastly, I can click on the Apply button multiple times even though I already applied for it with my Ethereum account. The form should prevent this behavior.

Disclaimer

Please add this disclaimer before staking.
OR ask them to click the checkbox like this

Astar Crowdloan Terms and Conditions
By accessing the Astar Crowdloan page ("Astar Crowdloan Event"), you represent and warrant to Stake Technologies, Pte Ltd as follows:

You are not a citizen or resident of a country the laws of which prohibit or conflict with the holding, sale, or trading of tokens; such countries to include (without limitation) THE UNITED STATES OF AMERICA, ITS TERRITORIES AND POSSESSIONS, ANY STATE OF THE UNITED STATES, AND THE DISTRICT OF COLUMBIA ("U.S."), CANADA, PEOPLE'S REPUBLIC OF CHINA, DEMOCRATIC PEOPLE'S REPUBLIC OF KOREA, CUBA, SYRIA, IRAN, SUDAN, PEOPLE'S REPUBLIC OF CRIMEA;

You agree and acknowledge that nothing in the Astar Crowdloan Event page constitutes a prospectus or offer document of any sort nor is intended to constitute an offer of securities of any form, units in a business trust, units in a collective investment scheme, or any other form of capital markets a product or investment in any jurisdiction, nor a solicitation for any form of investment;

You agree and acknowledge that no regulatory authority has examined or approved the information set out in the Astar Crowdloan Event and the publication, distribution, or dissemination of information under the Astar Crowdloan Event page does not imply to you that the applicable laws, regulatory requirements, or rules have been complied with;

Your access to, or use of, the Astar Crowdloan Event page and the holding of ASTR tokens by you is not prohibited or restricted by any applicable laws, regulations, or rules in any jurisdiction to which you are subject, and where any restrictions are applicable, you have observed and complied with all such restrictions at your own expense and without liability to Stake Technologies, Pte Ltd;

You agree and acknowledge that Stake Technologies, Pte Ltd shall not be liable for any direct, indirect, special, incidental, consequential, or other losses of any kind (including but not limited to loss of revenue, income or profits, and loss of use or data), in tort (including negligence), contract or otherwise, arising out of or in connection with you accessing or using the Astar Crowdloan Event page;

You waive the right to participate in a class-action lawsuit or class-wide arbitration against Stake Technologies, Pte Ltd, any person involved in the Astar Crowdloan Event page and/or with the creation and distribution of the ASTR tokens;

You are not a U.S. Person as defined in Regulation S under the Securities Act of 1933, as amended, which means that you are not a natural person resident in the United States of America, its territories and possessions, any State of the United States, and the District Of Columbia ("U.S."), an entity incorporated under the laws of the U.S., an estate/trust where the executor/administrator/trustee is a U.S. Person or a non-discretionary account held for a U.S. Person, an agency or branch of a foreign entity located in the U.S., or an entity incorporated outside the U.S. but formed by a U.S. Person principally for the purposes of investing in unregistered securities under the Securities Act (unless incorporated and owned by accredited investors who are not natural persons, estates or trusts), and you acknowledge, agree and represent as follows:
any offer, sale, and trade of the ASTR tokens is being made in an offshore transaction, which means that the transaction was not effected in the U.S.;
no directed selling efforts were made in the United States, which means that no marketing efforts were made to you in the U.S.;
you are not acquiring ASTR tokens for the account or benefit of any U.S. Person; and
you agree not to offer or sell the ASTR tokens (or create or maintain any derivative position equivalent thereto) in the U.S., to or for the account or benefit of a U.S. Person;

You have sufficient funds to fulfill the obligations of Stake Technologies, Pte Ltd within the Astar Crowdloan Event page and are not bankrupt or insolvent;

You are acquiring ASTR tokens as principal and for your own benefit and you are not acting on the instructions of, or as nominee or agent for or on behalf of, any other person;

You acknowledge you have the ownership of the DOT token you locked for this event and Stake Technologies Pte. Ltd. is not a custody of your DOT and ASTR;

The ASTR tokens to be delivered to and received by you will not be used for any purpose in connection with money laundering, terrorism financing, or any other acts in breach or contravention of any applicable law, regulation, or rule;

You bear the sole responsibility to determine what tax implications your use of the Astar Crowdloan Event page may have for you; and

all of the above representations and warranties are and will continue to be, true, complete, accurate, and non-misleading from the time of your acceptance of this attestation and notwithstanding the receipt by you of any ASTR tokens.

[Feature suggestion] Tracking for Crowdloan referrals

At the moment there's no way to track how much and how many referrals you earned which is not encouraging. I suggest to put this feature for top priority to encourage influencers keep spreading their referrals.

Change text - Polkadot Auctions - FAQ

Please change current text into:

import { StatusData } from './StatusData';
import { RuleData } from './RuleData';
import { FaqData } from './FaqData';

const statusItems = <StatusData[]>[
  { value: 0, description: 'Participants' },
  { value: 0, description: 'DOT Contributed' },
  { value: 14000000, description: 'ASTR to be Distributed' }
];

const ruleItems = <RuleData[]>[
  {
    title: 'Parachain Auction',
    rule: 'Polkadot is a shared protocol that enables blockchain networks to operate together seamlessly. To be a part of the Polkadot network, Astar Network must secure a slot during the Polkadot parachain auction. We are raising DOT from our community to help win the auction.'
  },
  {
    title: 'Huge bonus incentive',
    rule: 'Astar has created 3 bonus levels! Everyone who is eligible can apply for one or all bonuses levels. In this section, all levels are explained with their requirements. In total there is 5% of the total supply reserved for this bonus scheme.'
  },
  {
    title: 'ASTR Token Distribution',
    rule: '1 month after successfully securing a Polkadot parachain slot, Astar network’s native token (ASTR) will be distributed to the crowdloan participants’ addresses. The participants who join the crowdloan through exchanges will be able to see their balance once we enable token transfers.'
  },
  {
    title: 'Number of ASTR token',
    rule: 'The number of ASTR tokens the participants will receive is determined based on the, how many DOTs they lock for Astar, the total amount of locked DOTs in the crowdloan and bonus.'
  }
];

const faqItems = <FaqData[]>[
  {
    question: 'How many ASTR will I get for joining the Polkadot PLO?',
    answer:
      'This depends on the lease/lock period of DOT and a few other factors such as total locked DOT. The token allocation for the PLO is capped and we will distribute a total of around 20% of our token supply to those who join the PLO (incl bonus).'
  },
  {
    question: 'What does it mean to unbond my DOT, and how do I do it?',
    answer:
      'When nominating on Polkadot, you have a delayed exit period, called the unbonding period, which serves as a cooldown. You will not be able to transfer your tokens before this period has elapsed. Read more and find instructions on the Polkadot wiki.'
  },
  {
    question: 'How long will the DOT tokens be locked?',
    answer:
      'Your DOT will be locked for the full duration of the Astar parachain lease. This means that DOT will be locked for 96 weeks. Once the lease expires, DOT will be automatically returned.'
  },
  {
    question: 'What if Astar Network doesn’t win the parachain auction?',
    answer:
      'If Astar does not win the auction, your DOT will be automatically returned immediately (but Astar aims to become the first one).'
  },
  {
    question: 'Where can I find all the information?',
    answer:
      'You can find all the information regarding Polkadot auctions and Astar Crowdloan event here: https://docs.astar.network/learn/polkadot-plo.'
  }
];

export { statusItems, ruleItems, faqItems };

Make sure link in last FAQ issue is clickable _blank
https://docs.astar.network/learn/polkadot-plo

Add minimum contributions

Please add under:
Note: Proxy accounts and multi signatures are not able to receive rewards

That the minimum contribution is set to 5 DOT by Parity.

Countdown

Let's not countdown to the end of the highest bonus but to the start of the first auction:
November 11th!

Change Stake Now - Contribute Now

On the https://crowdloan.astar.network/ website there are several references to 'stake now' when the actual functionality is not based on the staking pallet but from the crowdloan pallet.

This confuses users as they expect the interface to provide them with functionality to Contribute vs Stake. I suggest that the labelling should be changed from Stake to Contribute.

Add/Remove on Crowdloan page

remove
image

'h' is missing when entering Medium site on the bottom of the page
image
image

if u use mouse hovering on Github logo, you won't see text like others
image

Allow decimals in DOT contribution

Users can only contribute with a round number of DOT, decimals are not allow throwing the error below
Staking amount can not be greater than available amount.
The message disables the Contribute button.
image

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.