Skip to content

Commit

Permalink
Asset doc and perf (#952)
Browse files Browse the repository at this point in the history
* perf: getAssetsData fetch async

* add chain id in asset (#954)

* remove outdated and unmaintained postman collection

* update contributors

* update readme

* test: get the assets amount dynamically

* add bsc tokens

* add cypress-visual-report in prettier ignore

* fixup json default assets
  • Loading branch information
Thykof authored Jun 7, 2024
1 parent 5119c91 commit 4a10fc9
Show file tree
Hide file tree
Showing 16 changed files with 222 additions and 2,778 deletions.
5 changes: 4 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Special thanks for all the people who had helped this project so far:

-
- <https://github.com/massalabs>
- <https://github.com/AltayDev>

More details [here](https://github.com/massalabs/station-massa-wallet/graphs/contributors).

For more information, please refer to our [CONTRIBUTING](CONTRIBUTING.md) guide.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

This is the MassaStation plugin that implements the Massa wallet features.

## Add a token in the wallet

As a developer, you can add a token in the wallet by following these steps:

- Open a pull request in the ui-kit to add the icon [here](https://github.com/massalabs/ui-kit/tree/main/src/components/Icons/Svg/FT) and add a line [here](https://github.com/massalabs/ui-kit/blob/main/src/components/Icons/Svg/FT/tokenIcons.tsx#L100)
- Open a pull request in this repository to add the token [here](https://github.com/massalabs/station-massa-wallet/blob/4aa5d5b7885d5d5227724f5114de99c409701a6e/pkg/assets/default_assets.go#L121) and update the ui-kit with `npm update @massalabs/react-ui-kit`

## Developer guide

This section helps developer getting started.
Expand Down Expand Up @@ -73,6 +80,4 @@ MassaStation can detect the plugin and launch it.

### Postman collection

You will find a postman collection in the `/api` directory.

Before testing this API, you must initialize the `baseURL` variable to <127.0.0.1:8080>.
You can import the swagger file `api/walletApi-V0.yml` into Postman to test the API.
Loading

0 comments on commit 4a10fc9

Please sign in to comment.