Giter Club home page Giter Club logo

polkaswap-exchange-web's Introduction

polkaswap-exchange-web

Project deploy info

There is public/env.json file which contains BASE_API_URL and DEFAULT_NETWORKS variables.

BASE_API_URL will be used for the address of the current stand.

DEFAULT_NETWORKS variable has the following format:

"DEFAULT_NETWORKS": [
    {
        "chain": "SORA-staging Testnet",
        "name": "SORA",
        "address": "wss://ws.stage.sora2.soramitsu.co.jp"
    }
]

"chain" is used as the chain name. "name" is used as the node name. "address" is used for the address of the node to which the frontend project will be connected.

DEFAULT_NETWORKS[0] must be a Soramitsu trusted node. App used it's genesisHash to check custom user node for connection

CHAIN_GENESIS_HASH should be defined for 'prod' & 'stage' environments, to not polling nodes for getting it (because genesis hash for these env's not changing).

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Run your end-to-end tests

yarn test:e2e

Run all tests

yarn test:all

Lints and fixes files

yarn lint

Desktop scripts

Compiles and hot-reloads for development

yarn electron:serve

Compiles and minifies for production

yarn electron:build

Build for all platforms

yarn electron:build --linux --mac zip dmg --win portable --x64 --ia32

Executable files (.exe, .dmg or .snap) will be located in dist_electron folder.

polkaswap-exchange-web's People

Contributors

ahmedelkashev avatar alexnatalia avatar asmadek avatar baotn166 avatar bastos525 avatar bulatsaif avatar c4twithshell avatar cre-ed avatar denisnikiforov avatar f33r0 avatar frodan avatar kron1749 avatar maksimbaranov98 avatar marat-biriushev avatar naghme98 avatar nikita-polyakov avatar nikitapolyakov93 avatar pgolovkin avatar pobepto avatar rustemyuzlibaev avatar shlavik avatar sociopacific avatar stefashkaa avatar sunlucky163 avatar takemiyamakoto avatar tarmovannas avatar timofeytrepalin avatar wpi86 avatar wrricht3r avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

polkaswap-exchange-web's Issues

[UX/UI] Adjusting layouts

Problem Statement

UX/UI layouts contain inconsistent information, unnecessary metrics, wrong calculated metrics and other related to UX parts.

Description

Layouts require adjusting to changes that were discussed on meeting with Artem, Stefan, Viktor, Alexey.
All required fixes and changes are available on Figma.

Definition of Done

  • Apply all changes in Figma
  • Fix all comments

Text is overflowing status badge in some lenguages

In Lenguages like Spanish, French, Serbian. The staking info badge text is overflowing the badge as seen on the following images:

polkaswap.io
image

Last dev build:
image

The width of the .status-badge class is hard-coded $status-badge-width: 143px;

[Blockchain] Ken vulnerabilities

Problem statement
Ken token Tokenomics was released with update for using token - https://medium.com/@shibarimoto/kensetsu-ken-356077ebee78

Description

Need to describe a vector of attack on KEN token
0. Buy Ken Token

  1. deposit collateral token
  2. borrow stablecoin (protocol will buy back KEN token by bad price)
  3. repay debt
  4. Sell KEN token (with profit)

Another vulnerability is unbacked KUSD token that will be minted without collateral tokens as 1% extra.

Definition of done

  • Sequence diagram for vector attack on KEN token
  • Description of vulnerability on Confluence

Suggestion - Add retry anyway button at bridge

People are still able to stuck at bridge sometimes and dont get retry button. Instead of forwarding them to old unstuck guide, can we add a hidden retry anyway button at bridge history which shows itself after confirming some warning messages?

possible improvement: Hashi Bridge

Hi,

I would like to know if you plan to release a new version of the Hashi bridge that allows me to bridge tokens directly from Sora to an ETH address of my choice (i.e. without the need to first send them to a MetaMask account and then to another address).

Adding On-Chain Identity Accounts To Address Book Feature

As a

  • User

I want to

  • Send transfers to accounts which have signed on-chain identities

So that

  • I can easily identify the account ID to a name/email/web/social media account

Preconditions

  • Add a new property for the search bar which includes all on-chain identities.
  • Add a new property which distinguishes accounts which have been provided judgment of "KnownGood"
  • Add a new property which can show accounts with an identity level of "No Judgment", with a warning
  • Implement this logic for each client (Polkaswap/SORA mobile/Fearless)

Issues

  • Can have different accounts with the same on-chain identity (eg, DisplayName) within different networks. Fearless Wallet will need to be able distinguish on-chain identities between different networks.

Flow

No response

Postconditions

No response

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.