GithubHelp home page GithubHelp logo

smartcash / beehive-desktop Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 6.0 3.25 MB

This is an SAPI wallet that is 100% decentralized using SAPI layer on Smartnodes. With this you don't need to sync any blockchain or run any servers.

HTML 0.23% CSS 13.70% JavaScript 85.68% SCSS 0.38%

beehive-desktop's Introduction

Smartcash Core

https://SmartCash.CC

Copyright (c) 2009 - 2016 Bitcoin Developers Copyright (c) 2015 - 2017 Zcoin Developers Copyright (c) 2017 - 2017 SmartCash Developers

What is Smartcash?

Smartcash is an experimental digital currency that enables instant payments to anyone, anywhere in the world. Smartcash uses peer-to-peer technology to operate with no central authority: managing transactions and issuing money are carried out collectively by the network. Smartcash Core is the name of open source software which enables the use of this currency.

For more information, as well as an immediately useable, binary version of the Smartcash Core software, see https://smartcash.cc/

License

Smartcash Core is released under the terms of the MIT license. See COPYING for more information or see https://opensource.org/licenses/MIT.

Development Process

The master branch is regularly built and tested, but is not guaranteed to be completely stable. Tags are created regularly to indicate new official, stable release versions of Bitcoin Core.

The contribution workflow is described in CONTRIBUTING.md.

beehive-desktop's People

Contributors

archerbullseye avatar brunohenz avatar enriquesouza avatar jpteodosio avatar thesolarminer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

beehive-desktop's Issues

Recommendation/Feature request: Simple Smartnode Monitor

This is not a bug but a feature request:

Several users have mentioned over the past months that they like to be able to "easily" see their nodes status.
The most reliable way of checking the node status is via the Node SAPI functionality / sapi url.
So currently for each node the user then needs to open the specifc url and check the status mnaually in the browser. This is cumbersome and also the output not neat as just in data structure format.

Feature suggestion:
Provide a basic smartnode monitoring / status check functionality in the smarthub.
To start with just cover these functionalities:

  1. Allow user to add one or several smartnode IP he/she likes to monitor (these IPs shall be regardless of the addresses in the user wallet) into a smartnode list
  2. Allow user to remove smartnode IPs from the smartnode list
  3. Allow users to label smartnodes in his/her smartnode list
  4. provide the functionality to check the status of the smartnodes in their defined smartnode list:
    issuing a one time call the sapi addresses of the nodes in the user smartnode list and show the result in a table with following minimum information: node label, node IP, node status (e.g enabled, not available, Pre-enabled..), last paid, online since

The above would be a very much appreciated functionality by the smartcash community which would also drive adoption of the smarthub as there is further incentive besides the smartchat for users to migrate to the smarthub.

The functionality of the smartnode monitor can over time (in future releases) be further extended (e.g. allow users to start nodes from within smarthub) but could to rather soon have a MVP (most viable product) functionality.

Sending.

Shows the following message when trying to send a third time.
:"Missing inputs"

Related to #13 - Chat - incorrect pw no error message

Using version 1.0.1-dev

  1. Go to Chat
  2. Enter a receiving address
  3. Enter a message
  4. Enter an incorrect password

Expected result:
error message shown

Actual result:
message history reloads, message box and pw remains
no error message is shown

wallet directory on Windows

The default directoy on Windows is %APPDATA%\wallet which is a bit unexpected. %APPDATA%\smarthub would be better.

Chat bug

Chat repeats a message sent and received several times.

Recommendation/Feature request: Simple address book

This is not a bug but a feature request:

To make it more convenient for the users simple address book (address labeling) functionality would good, so that the users can distinguish between his/her smartcash addresses as well as smartcash addresses of known individuals (e.g. friends) better. The user shall be able to define a label for each address in his wallet and also define labels to addresses not in his wallet.

The labels given shall appear next to where the address is shown (e.g. on the address navigation bar on the left, the chat recipient list on the smart chat tab, the smart reward tab)

Chat window: Refresh issue

When you use the 'refresh' button it should take you to the bottom of the current chat. Currently it refreshes then takes you to top, and you then need to scroll down.

App esta dando tela preta.

Ao navegar entre abar de receive pra transaction app fica em tela preta e mosta a seguinte mensagem em pop-up.

×
TypeError: Cannot read property 'toLocaleString' of undefined
(anonymous function)
C:/Users/User/smarthub_local/src/presentation/pages/transactions/Transactions.js:67
64 |
65 |


66 |

Amount

67 |


| ^ 68 | {tx.amount
69 | .toLocaleString('en-US', {
70 | style: 'currency',
View compiled
Transactions
C:/Users/User/smarthub_local/src/presentation/pages/transactions/Transactions.js:47
44 | )}
45 | {error &&

{error}

}
46 | {!error && history && (
47 | <Scrollbars renderThumbVertical={(props) => <div {...props} className="thumb-vertical" />}>
| ^ 48 | {history?.map((tx, index) => {
49 | tx.isLocked = isLockedTransaction(tx, walletCurrent) ? 'Yes' : 'No';
50 | tx.message = getOpReturnMessage(tx);
View compiled
▶ 17 stack frames were collapsed.
(anonymous function)
C:/Users/User/smarthub_local/src/presentation/pages/transactions/Transactions.js:23
20 | setLoading(true);
21 | setError(null);
22 | setHistory([]);
23 | await getTransactionHistory(walletCurrent)
| ^ 24 | .then((data) => setHistory(data))
25 | .catch(() => setError('There is no transactions for this wallet'))
26 | .finally(() => setLoading(false));
View compiled
async _getTransactionHistory
C:/Users/User/smarthub_local/src/presentation/pages/transactions/Transactions.js:23
20 | setLoading(true);
21 | setError(null);
22 | setHistory([]);
23 | await getTransactionHistory(walletCurrent)
| ^ 24 | .then((data) => setHistory(data))
25 | .catch(() => setError('There is no transactions for this wallet'))
26 | .finally(() => setLoading(false));
View compiled
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error. Click the 'X' or hit ESC to dismiss this message.

Rewards page dont work

If you active rewards in a valid address, counter start in 1s and dont finish any more...

Sending.

Shows the following message when trying to send a second time.
:"You must provide the UTXOs unspent list."

Seeing an error message underneath the chat address

Using version 1.0.2

Seeing a "error message" underneath the smartcash address under the Chat tab.
issue1

Probably since it is the dev version, maybe already working on the address labeling function.
Just reporting so it is not missed.

Cálculo de taxa.

A taxa de envio apresenta erro.
Ao inserir o montante mostra 0,001, ao clicar em enviar muda para 0,002 e mostra a seguinte mensagem em vermelho "The amount exceeds your balance!"

Color of the amount

Screen Shot 2021-04-07 at 22 48 05

Everything is gray but we NUMBER Amount should be yellow and the address should be gray

Chat refresh does not work correctly

Issue: when sending a chat message, the send message does not appear or takes long time to appear. When clicking refresh or having it auto refresh it still does not show. It is quicker to go to the receiving address and see it there.

How to reproduce:

  1. Select a existing chat
  2. Enter a new message & pw
  3. Click send.
  4. Wait 5sec
  5. Go to the receiving address
  6. See the chat message
  7. Enter a new message & pw
  8. Click send
  9. Wait 5 sec
  10. Click refresh

Expected behaviour:
message is visible

Actual behaviour:
message is still not visible

Black Screen - on Windows compiled version likely SAPI connection related

Installing precompiled windows version... in testing, if an internet disruption happens upstream, it appears to cause a black screen on the client app...

i have tested turning on and off VPN to see if this is client side, but it does not appear to trigger the issue... so it appears that the SAPI connection at the server end might be behind the black screen issue...

https://contattafiles.s3.us-west-1.amazonaws.com/tnt19836/MTy5WfCNyljGwka/Pasted%20Image%3A%20May%205%2C%202021%20-%2012%3A51%3A09pm

Fail on Startup

[0] Starting the development server...
[0]
[0] Compiled with warnings.
[0]
[0] src/components/Page.js
[0] Line 1:17: 'useContext' is defined but never used no-unused-vars
[0]
[0] src/components/Wallets.js
[0] Line 22:8: React Hook useEffect has missing dependencies: 'password' and 'toggle'. Either include them or remove the dependency array react-hooks/exhaustive-deps
[0]
[0] src/components/WalletsBalance.js
[0] Line 11:8: React Hook useEffect has a missing dependency: 'getAndUpdateWalletsBallance'. Either include it or remove the dependency array react-hooks/exhaustive-deps
[0]
[0] src/context/WalletContext.js
[0] Line 106:14: 'saveWalletsInStorage' is defined but never used no-unused-vars
[0] Line 111:14: 'getWalletsFromStorage' is defined but never used no-unused-vars
[0] Line 178:8: React Hook useEffect has a missing dependency: 'state.fiatList.length'. Either include it or remove the dependency array react-hooks/exhaustive-deps
[0]
[0] src/lib/number-precision.js
[0] Line 32:11: 'Reflect' is defined but never used no-unused-vars
[0] Line 32:20: 'Promise' is defined but never used no-unused-vars
[0]
[0] src/lib/sapi.js
[0] Line 746:10: 'roundUp' is defined but never used no-unused-vars
[0]
[0] src/lib/smart-mnemonic.js
[0] Line 4:7: 'TEST_PHRASE' is assigned a value but never used no-unused-vars
[0] Line 17:7: 'BIP' is assigned a value but never used no-unused-vars
[0]
[0] src/pages/chat/Chat.controller.js
[0] Line 13:37: 'history' is assigned a value but never used no-unused-vars
[0]
[0] src/pages/chat/Chat.js
[0] Line 1:48: 'useState' is defined but never used no-unused-vars
[0] Line 8:38: 'clearTxId' is defined but never used no-unused-vars
[0] Line 10:8: '_' is defined but never used no-unused-vars
[0] Line 63:43: Expected '===' and instead saw '==' eqeqeq
[0] Line 108:8: React Hook useEffect has missing dependencies: 'currentChatAddress', 'handleSetCurrentChatAddress', and 'newChat'. Either include them or remove the dependency array react-hooks/exhaustive-deps
[0] Line 115:8: React Hook useEffect has missing dependencies: '_getTransactionHistory' and 'clearState'. Either include them or remove the dependency array react-hooks/exhaustive-deps
[0] Line 131:40: Array.prototype.map() expects a value to be returned at the end of arrow function array-callback-return
[0] Line 184:57: Array.prototype.map() expects a value to be returned at the end of arrow function array-callback-return
[0] Line 186:53: Expected '===' and instead saw '==' eqeqeq
[0]
[0] src/pages/receive/Receive.js
[0] Line 1:42: 'useEffect' is defined but never used no-unused-vars
[0]
[0] src/pages/rewards/ActivateContext.js
[0] Line 1:44: 'useEffect' is defined but never used no-unused-vars
[0] Line 27:13: 'wallets' is assigned a value but never used no-unused-vars
[0]
[0] src/pages/rewards/activate.js
[0] Line 79:5: Nested block is redundant no-lone-blocks
[0] Line 143:33: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text
[0] Line 146:33: img elements must have an alt prop, either with meaningful text, or an empty string for decorative images jsx-a11y/alt-text
[0]
[0] src/pages/send/Send.js
[0] Line 36:9: 'onHandleChange' is assigned a value but never used no-unused-vars
[0] Line 46:8: React Hook useEffect has a missing dependency: 'checkAmounToSendError'. Either include it or remove the dependency array react-hooks/exhaustive-deps
[0]
[0] src/pages/send/SendContext.js
[0] Line 107:17: Expected '!==' and instead saw '!=' eqeqeq
[0] Line 119:11: 'setListUnspent' is assigned a value but never used no-unused-vars
[0]
[0] src/pages/transactions/Transactions.js
[0] Line 8:28: 'IconCopy' is defined but never used no-unused-vars
[0] Line 31:8: React Hook useEffect has a missing dependency: '_getTransactionHistory'. Either include it or remove the dependency array react-hooks/exhaustive-deps
[0]
[0] Search for the keywords to learn more about each warning.
[0] To ignore, add // eslint-disable-next-line to the line before.
[0]
[1] /home/brandon/smarthub_local/node_modules/electron/dist/electron exited with signal SIGSEGV
[1] wait-on http://localhost:3000 && electron . exited with code 1
--> Sending SIGTERM to other processes..
[0] cross-env BROWSER=none npm run react-start exited with code SIGTERM
npm ERR! code 1
npm ERR! path /home/brandon/smarthub_local
npm ERR! command failed
npm ERR! command sh -c concurrently -k --success first "cross-env BROWSER=none npm run react-start" "wait-on http://localhost:3000 && electron ."

No message when sending with wrong pwd

When trying to send with a wrong pwd, there is no message, the send dialogue just stays open:

  • select send
  • fill in address, amount and message
  • fill in wrong pwd
  • hit SEND

Chat window - Word Wrap

Word wrap is not working correctly in chat, it sometimes cuts a word to fit to a fixed width of the window.

image

Rewards Loader GIF

Add a loader when loading rewards information in the TAB Rewards.

It now only appears from nowhere.

[]`s.
Screen Shot 2021-04-06 at 12 45 33

TAB Chat

Error sending message in chat tab

"One error happened. Try again in a moment."

Main Balance colors

Right now everything is yellow but the text show be like described bellow:

Balance: (gray) ∑999.9740 (yellow)
Locked: (gray) ∑0.9740 (yellow)

Screen Shot 2021-04-07 at 22 48 12

Recommendation/Feature request: Smartreward activation

This is not a bug but a feature request:

To make it more convenient and less manual mistake prone, automate the double sending to same address for smart reward activation. There are different solutions for this.
My recommendation would be to add a button on the smartreward tab with the label "activate this address".
Once pressing the button 2 payments are issued after each other (max amount in the address to itself).
Show a message to the user to confirm that the button was pressed and that the address is being activated, and what the expected time is that the address will be activated.

Expected result after clicking the button:
after pressing the button, the address is activated for smart rewards

Tab Rewards

Smartnode ROI is wrong

SmartNodes
SmartNode Collateral ∑100,000.0000

Yearly Rewards ∑22,500,000.0000

Yearly Yield 22500%

Chat invites on 1.0.4 not appearing to work

On a new install of V.1.0.4 on windows 10 pre-compiled version. after adding funds to new wallet. then going to the chat window, sending an invite to another address within your list of addresses, does not appear to be received..

below is images showing the addresses and the before and after invite view... i have tested sending an invite from both addresses to each other and the result is the same...

image

image

Sent all not updated after entering a chat message

  • Select Send
  • fill in address
  • Klick "Send All" -> max amount -0.001 is filled in
  • Enter a chat message in "Write your message"
  • Enter correct pwd
  • Hit Send -> will silently fail without error
    As the chat message requires an additional fee, this fails.
    Suggestion: bring up a message about the additional fee or update the amount after filling a message.

258: txn-mempool-conflict

If we have this response for broadcasting this tx here

Object
status: 400
value: "258: txn-mempool-conflict"
proto: Object

We need to try again in another server

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.