Skip to content

Commit

Permalink
Merge pull request #2 from erickpinos/master
Browse files Browse the repository at this point in the history
Cyano Wallet UI Overhaul
  • Loading branch information
MickWang authored Mar 29, 2020
2 parents 53bafa8 + 95526cb commit 9b8700b
Show file tree
Hide file tree
Showing 185 changed files with 837 additions and 777 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Cyano wallet - an Ontology wallet
# Cyano Wallet - an Ontology wallet

<p>
<img width="300px" src="/wallet.png">
<img width="300px" src="/wallet2.png">
<img width="300px" src="/wallet4.png">
</p>

## Overview
Expand Down Expand Up @@ -93,13 +92,13 @@ Ledger support is provided by the Ontology TS SDK extension https://github.com/O
Ledger.setLedgerTransport(new Ledger.LedgerTransportIframe('https://drxwrxomfjdx5.cloudfront.net/forwarder.html', true));
```

To use your Ledger, you also needs Official Ontology Ledger App installed on your Ledger.
To use your Ledger, you also need the Official Ontology Ledger App installed on your Ledger.

#### Trezor support

Trezor support is provided by the Ontology TS SDK extension https://github.com/OntologyCommunityDevelopers/ontology-ts-sdk-trezor. Trezor allows communication with the Trezor Bridge v2 only from https://*.trezor.io page and Node environment, therefore it is not usable from web pages. But it is usable from Web extensions using WebRequest API.

To use your Trezor, you also needs custom firmware located at https://github.com/backslash47/trezor-core . Ontology support is is not yet in official firmware.
To use your Trezor, you also needs custom firmware located at https://github.com/backslash47/trezor-core . Ontology support is not yet in official firmware.

## Built With

Expand Down
Binary file added public/favicon.ico
Binary file not shown.
Binary file modified public/favicon.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 modified public/logo.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 modified public/logo32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"manifest_version": 2,

"name": "Cyano wallet",
"name": "Cyano Wallet",
"author": "Matus Zamborsky <[email protected]>",
"description": "Cyano wallet - an Ontology wallet",
"description": "Cyano Wallet - an Ontology wallet",
"version": "0.7.19",

"browser_action": {
"default_title": "Open the wallet"
"default_title": "Cyano Wallet"
},
"background": {
"page": "background.html",
Expand Down
Binary file added public/ontology-logo-cropped.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 modified public/ontology-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions public/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="viewport" content="width=device-width initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
Expand All @@ -19,7 +19,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Cyano wallet</title>
<title>Cyano Wallet</title>
</head>
<body>
<noscript>
Expand Down
8 changes: 4 additions & 4 deletions src/api/accountApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import { get } from 'lodash';
import { Reader } from 'ontology-ts-crypto';
Expand Down
8 changes: 4 additions & 4 deletions src/api/authApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import { Wallet } from 'ontology-ts-sdk';

Expand Down
8 changes: 4 additions & 4 deletions src/api/identityApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import { get } from 'lodash';
import { Crypto, Identity, utils, Wallet } from 'ontology-ts-sdk';
Expand Down
8 changes: 4 additions & 4 deletions src/api/trezorApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
// import * as Trezor from '@ont-community/ontology-ts-sdk-trezor';
import { get } from 'lodash';
Expand Down
8 changes: 4 additions & 4 deletions src/background/api/explorerApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import axios from 'axios';
import { flatMap, get, orderBy } from 'lodash';
Expand Down
8 changes: 4 additions & 4 deletions src/background/api/ledgerApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import * as Ledger from '@ont-community/ontology-ts-sdk-ledger';
import { Account, Wallet } from 'ontology-ts-sdk';
Expand Down
8 changes: 4 additions & 4 deletions src/background/api/runtimeApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import { get } from 'lodash';
import {
Expand Down
8 changes: 4 additions & 4 deletions src/background/api/settingsApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import { SettingsState } from '../../redux/settings';
import { storageGet, storageSet } from './storageApi';
Expand Down
8 changes: 4 additions & 4 deletions src/background/api/smartContractApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import { Parameter } from '@ont-dev/ontology-dapi';
import { Crypto, Parameter as Param, ParameterType, Transaction, TransactionBuilder, utils } from 'ontology-ts-sdk';
Expand Down
8 changes: 4 additions & 4 deletions src/background/api/storageApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import { browser } from "webextension-polyfill-ts";

Expand Down
8 changes: 4 additions & 4 deletions src/background/api/walletApi.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import { storageClear, storageGet, storageSet } from './storageApi';

Expand Down
8 changes: 4 additions & 4 deletions src/background/balanceProvider.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import { TokenAmountState } from 'src/redux/runtime';
import { getAddress } from '../api/accountApi';
Expand Down
8 changes: 4 additions & 4 deletions src/background/index.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import 'babel-polyfill';

Expand Down
8 changes: 4 additions & 4 deletions src/background/network.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/*
* Copyright (C) 2018 Matus Zamborsky
* This file is part of The Ontology Wallet&ID.
* This file is part of Cyano Wallet.
*
* The The Ontology Wallet&ID is free software: you can redistribute it and/or modify
* Cyano Wallet is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* The Ontology Wallet&ID is distributed in the hope that it will be useful,
* Cyano Wallet is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with The Ontology Wallet&ID. If not, see <http://www.gnu.org/licenses/>.
* along with Cyano Wallet. If not, see <http://www.gnu.org/licenses/>.
*/
import { CONST, WebsocketClient } from 'ontology-ts-sdk';
import { prodOptions, testOptions } from 'src/api/constants';
Expand Down
Loading

0 comments on commit 9b8700b

Please sign in to comment.