Skip to content

Commit

Permalink
Milestone 2 (#8)
Browse files Browse the repository at this point in the history
* global inject progress

Signed-off-by: Ruben <rubdeivis@gmail.com>

* content script progress

Signed-off-by: Ruben <rubdeivis@gmail.com>

* get account info method + fixes

Signed-off-by: Ruben <rubdeivis@gmail.com>

* listen extrinsic

Signed-off-by: Ruben <rubdeivis@gmail.com>

* save extrinsic number in wasm transfers

Signed-off-by: Ruben <rubdeivis@gmail.com>

* txProvider with wasm tx

Signed-off-by: Ruben <rubdeivis@gmail.com>

* tx provider with evm tx

Signed-off-by: Ruben <rubdeivis@gmail.com>

* manage networks

* using form (not working)

* fix manage networks

Signed-off-by: Ruben <rubdeivis@gmail.com>

* delete custom network

* own accounts in activity

* send tx refactor in progress

Signed-off-by: Ruben <rubdeivis@gmail.com>

* using storage chains

* i18n

* remove parachains

* fix send evm

Signed-off-by: Ruben <rubdeivis@gmail.com>

* confirm tx params

Signed-off-by: Ruben <rubdeivis@gmail.com>

* receive page

* fix send

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix scrollbar

Signed-off-by: Ruben <rubdeivis@gmail.com>

* add poppins and inter fonts

Signed-off-by: Ruben <rubdeivis@gmail.com>

* rococo and rockmine in chains

Signed-off-by: Ruben <rubdeivis@gmail.com>

* assetProvider progress

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix assetProvider

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix asset provider + asset form

Signed-off-by: Ruben <rubdeivis@gmail.com>

* trusted sites

* supportedAccount in manageAssets progress

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix onDelete network

Signed-off-by: Ruben <rubdeivis@gmail.com>

* trusted sited

* remove show/hide for arrow up/down

* evm fees

Signed-off-by: Ruben <rubdeivis@gmail.com>

* add search bar in trusted sites

* toggle show assets

* remove unnecessary text

* add letters separators on the contacts view

* restore password from settings

* wasm send asset refactor

Signed-off-by: Ruben <rubdeivis@gmail.com>

* Show private keys

* change witch dependency

* evm send assets refactor

Signed-off-by: Ruben <rubdeivis@gmail.com>

* add network icons

Signed-off-by: Ruben <rubdeivis@gmail.com>

* validate show seed button before creating accounts

* manage networks improvements

* Add reset wallet

* Show testnets

* call asset from wasm contracts

Signed-off-by: Ruben <rubdeivis@gmail.com>

* assets refactor

Signed-off-by: Ruben <rubdeivis@gmail.com>

* show assets usd amounts

Signed-off-by: Ruben <rubdeivis@gmail.com>

* Develop drag and drop (#7)

* Drag and drop not working

* fix drag and drop

Signed-off-by: Ruben <rubdeivis@gmail.com>

* Confirm seed working

* Confirm recovery phrase i18n

---------

Signed-off-by: Ruben <rubdeivis@gmail.com>
Co-authored-by: Ruben <rubdeivis@gmail.com>

* fixes

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix reset wallet

Signed-off-by: Ruben <rubdeivis@gmail.com>

* copy to clipboard to component + add some english translations

Signed-off-by: Ruben <rubdeivis@gmail.com>

* copied translations

Signed-off-by: Ruben <rubdeivis@gmail.com>

* add fee to confirm transfer

Signed-off-by: Ruben <rubdeivis@gmail.com>

* listen to assets in wasm progress

Signed-off-by: Ruben <rubdeivis@gmail.com>

* account amount listener progress

Signed-off-by: Ruben <rubdeivis@gmail.com>

* balance changes for wasm contracts

Signed-off-by: Ruben <rubdeivis@gmail.com>

* random color for assets progress

Signed-off-by: Ruben <rubdeivis@gmail.com>

* add missing translations

Signed-off-by: Ruben <rubdeivis@gmail.com>

* load assets usd price every minute

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix asset icon + activity icons

Signed-off-by: Ruben <rubdeivis@gmail.com>

* send redirect to send view

* process tx in background + some fixes

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix send errors, types and warnings

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix typing and warnings

Signed-off-by: Ruben <rubdeivis@gmail.com>

* improve extension tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* extension tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* delete useExtension

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix accountManager tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix netProviders tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix assets tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix chain selector test + remove balance tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* update packaje lock

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix build

Signed-off-by: Ruben <rubdeivis@gmail.com>

* asset tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* chains tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* add trusted sites tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* add activity tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* contact, register and registry tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* setting/s tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix test warning

Signed-off-by: Ruben <rubdeivis@gmail.com>

* utils tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* manageasset and receive test

Signed-off-by: Ruben <rubdeivis@gmail.com>

* total balance tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* activity test + total balance fix

Signed-off-by: Ruben <rubdeivis@gmail.com>

* destination test

Signed-off-by: Ruben <rubdeivis@gmail.com>

* destinatio tests + warning fixes

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fixes

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fees tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* selectable chain tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* confirmTx tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* selectable assets tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* selectable assets tests and missing tests placeholders

Signed-off-by: Ruben <rubdeivis@gmail.com>

* contacts tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* asset provider tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* tx provider tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* evm form tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* wasmForm tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* sign message tests + missing translations

Signed-off-by: Ruben <rubdeivis@gmail.com>

* wasmform tests fix

Signed-off-by: Ruben <rubdeivis@gmail.com>

* security tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* general settings tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix chain selector tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix build

Signed-off-by: Ruben <rubdeivis@gmail.com>

* improve accountProvider tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* webApi

Signed-off-by: Ruben <rubdeivis@gmail.com>

* confirm word responsive

Signed-off-by: Ruben <rubdeivis@gmail.com>

* add button to show password on sign ing

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix build

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix sign in icon + fullscren in welcome

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix script injection

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix build

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fixes

Signed-off-by: Ruben <rubdeivis@gmail.com>

* test fix

Signed-off-by: Ruben <rubdeivis@gmail.com>

* update sign message

Signed-off-by: Ruben <rubdeivis@gmail.com>

* Integration docs

* fixes

Signed-off-by: Ruben <rubdeivis@gmail.com>

* remove rococo from testnets

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix change account assets

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix contact search

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix fetch asset usd price

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix evm listener

Signed-off-by: Ruben <rubdeivis@gmail.com>

* improve tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* improve network provider tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* improve assets tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* improve assets tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* improve tests

Signed-off-by: Ruben <rubdeivis@gmail.com>

* update moonbase based chains config + fix bug listener on change chain

Signed-off-by: Ruben <rubdeivis@gmail.com>

* fix tests mock

Signed-off-by: Ruben <rubdeivis@gmail.com>

* update README.md

---------

Signed-off-by: Ruben <rubdeivis@gmail.com>
Co-authored-by: Ruben <rubdeivis@gmail.com>
Co-authored-by: Jose Ramirez <jarcodallo@gmail.com>
  • Loading branch information
3 people authored May 12, 2023
1 parent 8ab34f8 commit 235715e
Show file tree
Hide file tree
Showing 148 changed files with 13,406 additions and 3,303 deletions.
Binary file added .audits/piotromashov/audit_report.pdf
Binary file not shown.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ Published by **[blockcoders](https://github.com/blockcoders)** on **2023/03/12**
- [#3](https://github.com/blockcoders/kuma-wallet/pull/3) Refactor front
- [#2](https://github.com/blockcoders/kuma-wallet/pull/2) Develop refactor
- [#1](https://github.com/blockcoders/kuma-wallet/pull/1) Storage refactor

## 0.1.0
Published by **[blockcoders](https://github.com/blockcoders)** on **2023/05/12**
- [#8](https://github.com/blockcoders/kuma-wallet/pull/6) Milestone 2
33 changes: 32 additions & 1 deletion README-es.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Kuma Wallet
[![CircleCI](https://circleci.com/gh/blockcoders/kuma-wallet/tree/main.svg?style=svg)](https://circleci.com/gh/blockcoders/kuma-wallet/tree/main)
[![Coverage Status](https://coveralls.io/repos/github/blockcoders/kuma-wallet/badge.svg?branch=main)](https://coveralls.io/github/blockcoders/kuma-wallet?branch=main)
[![CodeQL](https://github.com/blockcoders/kuma-wallet/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/blockcoders/kuma-wallet/actions/workflows/codeql-analysis.yml)
[![vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/kuma-wallet)](https://snyk.io/test/github/blockcoders/kuma-wallet)
[![License](https://img.shields.io/badge/license-MIT%20License-brightgreen.svg)](https://opensource.org/licenses/MIT)

## Descripción del proyecto
Expand Down Expand Up @@ -157,6 +156,38 @@ npm test
Esperamos brindar una experiencia de usuario integral con Kuma Wallet, convirtiéndola en una solución integral para todas las necesidades de gestión de activos entre cadenas. Para lograr este objetivo, hemos implementado una variedad de funciones que harán que la experiencia del usuario sea lo más fluida e intuitiva posible.
Pero en caso de que necesite ayuda, hemos creado una [guía del usuario] (https://docs.kumawallet.io/) para ayudarlo a comenzar.

## Integrar Kuma Wallet a su aplicación

Para integrar Kuma Wallet a su aplicación, siga el ejemplo a continuación.

### Ejemplo

```javascript
// En un contexto donde 'window' esté disponible (por ejemplo, la aplicación que desea integrar Kuma Wallet)
// Verifique si Kuma Wallet está instalado
const isKumaWalletInstalled = !!window.kuma;

// Firmar un mensaje
const signMessage = async (message: string) => {
if (isKumaWalletInstalled) {
const response = await window.kuma.call({
method: "sign_message",
params: {
message,
}
})
console.log(response?.message);
}
}
```
Al intentar firmar un mensaje en Kuma Wallet, aparecerá una ventana emergente que solicitará la confirmación del usuario. El primer paso en el proceso de confirmación consiste en verificar que el sitio sea seguro.
![trust-site](./images/trust-site.png)
![sign-message](./images/sign-message.png)
## Contribuyendo
Damos la bienvenida a las contribuciones de la comunidad. Si desea contribuir, lea nuestras [directrices de contribución] (./CONTRIBUTING.md).
Expand Down
42 changes: 38 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Kuma Wallet
[![CircleCI](https://circleci.com/gh/blockcoders/kuma-wallet/tree/main.svg?style=svg)](https://circleci.com/gh/blockcoders/kuma-wallet/tree/main)
[![Coverage Status](https://coveralls.io/repos/github/blockcoders/kuma-wallet/badge.svg?branch=main)](https://coveralls.io/github/blockcoders/kuma-wallet?branch=main)
[![CodeQL](https://github.com/blockcoders/kuma-wallet/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/blockcoders/kuma-wallet/actions/workflows/codeql-analysis.yml)
[![vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/kuma-wallet)](https://snyk.io/test/github/blockcoders/kuma-wallet)
[![License](https://img.shields.io/badge/license-MIT%20License-brightgreen.svg)](https://opensource.org/licenses/MIT)


Expand Down Expand Up @@ -161,12 +160,47 @@ npm test
We hope to provide a comprehensive user experience with Kuma Wallet, making it a one-stop solution for all cross-chain asset management needs. To achieve this goal, we have implemented a variety of features that will make the user experience as smooth and intuitive as possible.
But just in case you need help, we have created a [user guide](https://docs.kumawallet.io/) to help you get started.

## Integrate Kuma Wallet to your application

To integrate Kuma Wallet to your application, follow the example below.

### Example

```javascript
// In a context where 'window' is available (e.g. the application that wants to integrate Kuma Wallet)

// Check if Kuma Wallet is installed
const isKumaWalletInstalled = !!window.kuma;

// Sign a message
const signMessage = async (message: string) => {
if (isKumaWalletInstalled) {
const response = await window.kuma.call({
method: "sign_message",
params: {
message,
}
})
console.log(response?.message);
}
}
```
When attempting to sign a message in Kuma Wallet, a pop-up will appear requesting the user's confirmation. The first step in the confirmation process involves verifying that the site is secure.
![trust-site](./images/trust-site.png)
![sign-message](./images/sign-message.png)
## Contributing
We welcome contributions from the community. If you would like to contribute, please read our [contributing guidelines](./CONTRIBUTING.md).
## Localization
Kuma currently only supports English, Spanish and Japanese as the default languages. We have the languages strings in [\i18n](https://github.com/blockcoders/kuma-wallet/tree/main/src/i18n) folder.
## Credits
We want to thanks the Web3 Foundation for their support and the Polkadot team for their help and guidance. We also want to thank the Astar team for their support on Beta testing and the Polkadot community for their feedback and support.
This project was a really great learning experience for us and we hope to continue to contribute to the Polkadot ecosystem.
Our core developers team has been working on this project for more than 6 months and we are really proud of the result. We hope you will enjoy using Kuma Wallet as much as we enjoyed building it.
We want to thanks the [Web3 Foundation](https://web3.foundation/) for their support and the [Polkadot](https://polkadot.network/) team for their help and guidance. We also want to thank the [Astar](https://astar.network/) team for their support on Beta testing and the Polkadot community for their feedback and support.
This project was a really great learning experience for us and we hope to continue to contribute to the Polkadot ecosystem. Our core developers team has been working on this project for more than 6 months and we are really proud of the result. We hope you will enjoy using Kuma Wallet as much as we enjoyed building it.
Binary file added images/sign-message.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/trust-site.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 235715e

Please sign in to comment.