Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc add token #955

Merged
merged 6 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading