astarnetwork / astar-apps Goto Github PK
View Code? Open in Web Editor NEWThe official Astar Network portal for accessing your tokens and other native features!
Home Page: https://portal.astar.network/
License: GNU General Public License v3.0
The official Astar Network portal for accessing your tokens and other native features!
Home Page: https://portal.astar.network/
License: GNU General Public License v3.0
https://twitter.com/Gabrielbramast1/status/1447580354550714375
SDN ADDRES : aRhKUTmw5JJMqfXBxaoSoGuefXV3gGn82As6ZymWWAsPvzD
Motivation
If you use multiple accounts, you have to go first to your balance before seeing staking amount of that wallet.
Suggested Solution
Make it possible to easily switch from wallet in the dApp store page
Alternatives
/
Additional Information
/
dApp staking shows incorrect numbers against dApp on https://portal.astar.network/#/store/discover-dapps after staking twice to same dApp.
To Reproduce
Expected behavior
"Your stake" should be 10k+90kSDN = 100kSDN. What it's actually showing is 27.9999 kSDN which also happens to be the remaining balance of SDN in my account i.e. SDN that I have not yet staked.
Desktop (please complete the following information)
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
Smartphone (please complete the following information)
Additional information
Add any other information about the problem here.
when I'm trying to staking again there is a bug in the system please fix it good job
Motivation
Portal users don't have information about network status and can't know if their transaction will pass or not.
Suggested Solution
Add the current block time under the network status bar and mark it red if the block time is more than 10 times the average
It would be very useful to have a 1 click RPC add function for MetaMask, making it easy for users to add Shiden/Shibuya network to onboard the EVM part.
A suggestion is that the DApp Store should sort by pledge amount,The larger the amount of pledge, the DAPP will be in the front, so as to motivate the DAPP
Please use only the SBY measurement, the kSBY or mSBY units are just confusing.
The UNSTAKE button, despite not having a stakin, is still displayed.
Show APY.
Use a different font size to see numbers as they are very small.
Use only two decimal places in numbers.
Describe the bug
The balance has not been updated after completed the transfer transaction.
Demo: https://www.loom.com/share/79a339a126e34311afc073b63f81ed86
To Reproduce
Please refer to the attached demo video
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
Step 1- dapp Stake all your account balance.
Step 2 - Try to unstake your tokens
i think full account balance stake must not be allowed, because user wont be able to unestake anymore.
account cant even claim vested tokens in this situation:
solved this "lock" by getting SDN from another account.
proposed solutions:
1- warn the user about this.
2 - Dont allow user to stake all balance or keep small amount to ensure user can unstake.
Describe the bug
I stake SDN and I saw the number of total stake not update
To Reproduce
ex. total stake is 66, and I add more 100 SDN
1.Go to stake SDN
2.It show 'Your stake' but It does not updated to 'Total stake'
Expected behavior
It should show the 'total stake' number include mine that just staked
166 not 100 as (see the attached image)
Desktop (please complete the following information)
If I have multiple accounts I need to go to Balance view to switch my account before I can stake, it would be more user friendly if I can do it right away from Store view.
I propose make this change wallet box available on all views.
Also if I refresh the browser page from Store view it's navigating me to the same Store view, but my account changed to the first one which is available in my polkadot.js chrome extension, that's why it would be good to see which account is currently selected for staking on Store view.
@bobo-kovacevic
When I put a long explanation in the Description textbox, the format is broken.
yarn install v1.22.15
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > @polkadot/[email protected]" has unmet peer dependency "@polkadot/x-randomvalues@*".
warning " > @polkadot/[email protected]" has unmet peer dependency "@polkadot/ui-settings@*".
warning " > [email protected]" has unmet peer dependency "webpack@>=5".
warning " > [email protected]" has unmet peer dependency "vue@^3.0.0".
warning " > [email protected]" has unmet peer dependency "vue@>=3".
warning " > [email protected]" has unmet peer dependency "vue@^3.0.2".
warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@>=7.11.0".
warning " > @tailwindcss/[email protected]" has incorrect peer dependency "tailwindcss@^1.0".
warning " > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
[5/5] Building fresh packages...
Done in 57.06s.
Address the project package dependency warnings.
There are some packages that cannot be resolved like [email protected]
which needs vue@^3.0.0
while [email protected]
needs vue@^3.0.2
. In this case, you might want to update the package or ignore the warning message.
In the balance of the portal , I think you should display the staked balance and you should deduce this amount from transferable balance.
Because the user cannot transfert the tokens when they are staked.
If the user try to do it, the operation fails silently: the UI displays the operation is succeeded but fortunately no token is transfered.
I pressed Stake button and get polkadot.js extension window to sign the transaction:
But after that I close polkadot.js window using corner X button. After that portal window is hangs and only browser refresh helps to get back.
Note: If I press Cancel on polkadot.js extension, then works as expected and transaction is cancelled.
If it is possible to add an "Explorer" feature on the Portal so that users can conveniently check wallet addresses or transactions on Subscan.
In the future we will use Portal to do many things so this can be a useful feature.
Team need to restrict minimum SDN required for Dapps staking. It will help SDN holders and also increase total nominators from 128 to 500.. 128 is very less it will help to creat scam projects in Shiden network.. example :- Dapps team can stake with their own 128 wallet with each 0.1 SDN
Describe the bug
Can't use Vue.js devtools in localhost.
To Reproduce
Steps to reproduce the behavior:
yarn dev
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
Extension version: 5.3.4
Chrome version: 94.0.4606.71 (Official Build) (x86_64)
Smartphone (please complete the following information)
Additional information
Add any other information about the problem here.
Describe the bug
Not sure if this is an UI bug. Please advise what expected to see at this point.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
Smartphone (please complete the following information)
Additional information
Add any other information about the problem here.
Motivation
Describe the need or frustration that motivated you to make this suggestion.
It is difficult for the users staking on dApps Store to know what is the minimum required tokens for staking.
Suggested Solution
Describe your suggested solution to the need or frustration that you are experiencing.
You can get the dApps Staking minimum staking value as a chain const with the following API
await api.consts.dappsStaking.minimumStakingAmount;
We should make the default staking value the minimum staking value instead of 0
, and show a warning message or disable the staking button if the input value is below the minimum value.
You can also add the current nominators and the maximum number of nominators with a similar method.
Alternatives
Describe any alternative solutions or features you considered and why you believe your suggested
solution is preferable.
Additional Information
Provide any additional information that you believe may help us evaluate your suggestion.
Motivation
Currently, users cannot see the dapps store page when they connect to custom network. As of now, sometimes Shiden network is unstable so users want to switch to the other RPC endpoint via custom network option. But in this case, users cannot see the dapps stores, so that they cannot stake their token on registered dapps.
Suggested Solution
using rpc.system.chain()
as keys to fetch the registered dapps from firebase.
I can Connect to Metamask from Balance view:
Once Metamask is connected I can't switch account in dapp portal anymore even I have more then one account in my Metamask:
But when I switched account in Metamask my address is not updated in dapp portal.
Expected behavior
Account selected in metamask always should match the account selected in dapp portal.
Desktop (please complete the following information)
User should be able to select account used to register a dapp
While a user tries to stake more than his transferable balance, he gets a warning message telling him that the transaction risks to fail. In this case, he thinks that he can not stake more than his transferable balance.
The correct behaviour is to estimate maximum amount to be staked from [transferable balance] + [vesting locked balance] - [dApp stake locked balance]
In this example, user has a balance of 220 SDN that he can stake, the portal estimates a maximum stakable amount of 35 SDN.
Hi
I have 2 accounts with SDN 1 on https://polkadot.js.org/ drop from eth lock for PLM and another one on portal.astar.network also drop fro ETH lock for PLM on default ledger wallet.
I transfered PLM from https://polkadot.js.org/ to my portal.astar.network wallet to store them on ledger.
This transfer was successful.
Than I tried to tranfer 2 SDN back to https://polkadot.js.org/ wallet and failed to do it .
Dont know what to do.
When I click on Send To , this icon appear ,it sends on the same address even if wrote another.
If I try to select an account that is already selected, the UI becomes un-responsive and I'm stuck. I have to close the modal/reload the whole page to overcome this issue.
If I click "stake" from this view, the Polkadot-JS modal pops up, even though I haven't even set a value for the SBY to be staked!
I think a better UX would be to close the modal automatically upon selecting a wallet, including clicking on a wallet that is already selected. ๐
Actually, we can't see how many nominators are staking on a dApp, neither the limit.
This brings to an error while sending extrinsic when an dApp is oversubscribed.
The portal should displayed number of nonimator and limit on each dApp with the format [nominators/limit]
(ex: 128/128)
When the limit is reached, the stake button should be disabled, preventing user from sending an extrinsic that will fail.
Describe the bug
I have selected my Metamask account on balance view:
When I want to Stake, I choose my Metamask address from dropdown list on Stake popup window:
Expected behavior
All validations of wrong addresses should be on step where Metamask account is connected to portal, but not received after stake transaction is signed.
Desktop (please complete the following information)
Describe the bug
The SDN balance of my MM account is not reflected on the Astar Portal, and vice versa. They show up under two different accounts with different addresses.
Expected behavior
I am supposed to get the same account address on both interfaces, but this is not the case.
Screenshots
Different balance views:
Different account addresses:
-ECDSA extension
Desktop (please complete the following information)
Additional information
I did a check on Shiden's Subscan and the ECDSA account shows up as a Shiden address that is different from the one on MM.
How can I access the ECDSA account from MM with Shiden RPC and vice versa?
I can see the SDN in Metamask but I am not able to see them via the portal Astar.
The balance is always empty.
Shiden network is selected both in the portal and in metamask and the status is connected (green) both as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.