-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Software Project 2019/2020] Extending the support for cryptocurrencies in our blockchain-based decentralized exchange #44
Closed
Commits on May 19, 2020
-
Implemented Node class and abstract Provider class (#1)
Implemented Nod and Abstract Provider classes. Co-authored-by: Rahim Klabér <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e453070 - Browse repository at this point
Copy the full SHA e453070View commit details
Commits on May 21, 2020
-
Bitcoinlib fixed; Litecoin and Dash implemented (#2)
Co-authored-by: Rahim Klabér <[email protected]> Co-authored-by: Youri Zwetsloot <[email protected]> Co-authored-by: calintheguy <[email protected]> Co-authored-by: osheasha <[email protected]> Co-authored-by: Omar Sheasha <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a305bf - Browse repository at this point
Copy the full SHA 6a305bfView commit details
Commits on May 24, 2020
-
* created abstract provider * Added class Node, fix spelling mistake in provider.py * Added support for determining latency of node, included enum Cryptocurrency and Source * Added RateExceeded exception * Added exceptions relating to requests * Added EthereumProvider class * Added Web3Provider class * Added EthereumBlockchair provider class * Added check for connectivity in Web3Provider * Renamed eth_providers to eth_provider * Cleaned up EthereumBLockchairProvider * Added simple ethereum database * Made EthereumBlockchairProvider use Transaction class instead of dict * Fixed EthereumBlockchairProvider function returning wrong object * Added EthereumBlockcypherProvider * Made gas estimation easier * Added check for blockcypher response * Changed ethereum db schema * Fixed get_transactions function * Fixed get_transactions function * Fixed get_transactions function * Add is_pending field to Transactions table * Added concrete Ethereum wallet implementation, adjusted abstract Provider class * Implement equality operator for the Transaction class * Fixed error in get_transactions * Raise exception when provider api call is not supported * Created Ethereum package, implemented Ethereum wallet methods using Asyncio * Added tests for EthereumBlockchairProvider * Added more tests for EthereumBlockchairProvider * Added tests for EthereumBlockcypherProvider * Changed EthereumBlockchairProvider tests to use mocked requests * Added tests for EthereumBlockchairProvider * Added EthereumWallet tests and fixed some bugs * Added EthereumWallet tests and fixed some bugs * Fixed syntax error * Added EthereumWallet tests and fixed some bugs * Added AutoEthereumProvider and fixed some bugs * Fixed EthereumBLockcypherProvider test * Added tests for AutoTestnetEthereumProvider * Added AutoTestnetEthereumProvider * Cleaned up ethereum wallet and fixed some tests * Fixed bugs in ethereum wallet * Removed blockcypher ethereum testnet It was a private testnet and not a public one. * Added Etherscanprovider skeleton * Added etherscanprovider implementation * Added etherscan to AutoEthereumProvider * Fixed etherscanprovider bug. * Added retry in AutoEthereumProvider and added hardcoded testnet node * Remove print statement * Fixed imports * Added comment * Added test for etherscan provider * Fixed bugs in ethereum wallet * Fixed merge conflicts * Implemented requested changes * Added missing monitor_transaction function * Fixed pep8 warnings * Converted double-quotes to single-quotes * Fixed bug in etherscan submit transaction * Implemented get transaction count without relying on remote api's * Fix pep 8 Co-authored-by: Youri Zwetsloot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0bf30f - Browse repository at this point
Copy the full SHA d0bf30fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d369b38 - Browse repository at this point
Copy the full SHA d369b38View commit details
Commits on Jun 11, 2020
-
* Added CI/CD yml file for running tests * Updated CI/CD file * Updated CI/CD file * Updated CI/CD file * Updated CI/CD file * Updated CI/CD file * Update runtests.yml * Updated CI/CD script * Changed import name to be more specific for CI/CD porpuses * Fix failing test * Fixed some pylint errors * Added pylint runner script for SP-related files. * Changed linting strategy from flake8 to pylint * Setup stellar wallet and database * Implemented getbalance in Horizon provider * Completed balance method and basic get transactions method * Added db table for payments * Added get_transactions in provider * Added get transactions and completed get balance * Added database definition for transactions * Fixed transaction table definition, made get transactions return txs * Added method to insert payment into the database * Fixed get transactions * Added transfer method still need to add tx to database after sending tx * Fully implemented transfer method * Cleanup * Added monitor transactions * Implemented testnet with inheritance * Refactored the wallet class * Added check for failed provider request * Added test for horizonprovider * Fixed provider get_balance * Added tests for HorizonProvider * Added test for stellar wallet * Added stellar wallet tests * Removed logger string interpolation * Added method for amount of stroop in 1 lumen * Added tests for stellardb * Added method for merge account operation * Added test for merge account * Update runtests.yml * Add stellar-sdk dependency * Fixed import errors * Fixed test * Fixed some tests * Updated linting script to only fail on pylint errors * Fixed tests * Added checks for account created * Resolved review topics * Fixed pylint * Update ci * Fixed comment Co-authored-by: calintheguy <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f368e9 - Browse repository at this point
Copy the full SHA 8f368e9View commit details -
Implemented Monero wallet (#6)
* created abstract provider * Added class Node, fix spelling mistake in provider.py * Added support for determining latency of node, included enum Cryptocurrency and Source * Added RateExceeded exception * Added exceptions relating to requests * Added EthereumProvider class * Added Web3Provider class * Added EthereumBlockchair provider class * Added check for connectivity in Web3Provider * Renamed eth_providers to eth_provider * Cleaned up EthereumBLockchairProvider * Added simple ethereum database * Made EthereumBlockchairProvider use Transaction class instead of dict * Fixed EthereumBlockchairProvider function returning wrong object * Added EthereumBlockcypherProvider * Made gas estimation easier * Added check for blockcypher response * Changed ethereum db schema * Fixed get_transactions function * Fixed get_transactions function * Fixed get_transactions function * Add is_pending field to Transactions table * Added concrete Ethereum wallet implementation, adjusted abstract Provider class * Implement equality operator for the Transaction class * Fixed error in get_transactions * Raise exception when provider api call is not supported * Created Ethereum package, implemented Ethereum wallet methods using Asyncio * Added CI/CD yml file for running tests * Updated CI/CD file * Updated CI/CD file * Updated CI/CD file * Updated CI/CD file * Updated CI/CD file * Update runtests.yml * Updated CI/CD script * Changed import name to be more specific for CI/CD porpuses * Fix failing test * Fixed some pylint errors * Added pylint runner script for SP-related files. * Changed linting strategy from flake8 to pylint * Add protocol, username and password fields to Node, implement fundamental methods Monero wallet * Corrected mistaken merge conflict resolve, removed bare exceptions from Monero wallet and provider * Added required method from abstract wallet * Finish up existing Monero wallet wrapper implementation * Remove redundant xmr_provider.py class * Add tests for half of XMR_wallet methods * Fix async issues in XMR_wallet, finish tests for XMR_wallet * Fixed TODOs for Monero wallet * Fix Monero spelling mistake Co-authored-by: ldubravica <[email protected]> * Removed AnyDex spelling mistake, __eq__ method for xmr_wallet * Updated linting script to only fail on pylint errors * Turned monitor-transaction method into pass-method * Resolved f-string logging pylint issue, unnecessary pass * Removed pass method test, fixed ConnectionException from requests.exceptions * Converted from CRLF to LF, fixed Wallet test by awaiting * Fixed string balance conversion to int to make test pass * Fixed Pending tasks warning XMR_Wallet test cases * Fixed issue with monero-python dependency, latest version is now stored under monero Co-authored-by: Rahim Klabér <[email protected]> Co-authored-by: calintheguy <[email protected]> Co-authored-by: ldubravica <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5551b02 - Browse repository at this point
Copy the full SHA 5551b02View commit details
Commits on Jun 18, 2020
-
Expanded node tests, implemented integrated addresses and subaddresses (
#10) * Added preliminary README.md for Monero wallet folder * Cleaned up commands in README.md * Introduced multi-threaded approach to determining latency to host, fixed some issues related to url parsing for nodes * Added README to Node directory, tests for Node class * Fixed pipeline failing due to CI-based test * Changed test_node so that it remains independent from file storage * Fixed complete independence on file * Removed hosts.json file from test folder * Included support for testnet nodes, integrated addresses and subaddresses * Fixed hosts.json file read from current working directory * Changed Node tests to rely on file reading
Configuration menu - View commit details
-
Copy full SHA for 9972120 - Browse repository at this point
Copy the full SHA 9972120View commit details
Commits on Jun 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 457a0b5 - Browse repository at this point
Copy the full SHA 457a0b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 821028e - Browse repository at this point
Copy the full SHA 821028eView commit details
Commits on Jun 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6ad76e0 - Browse repository at this point
Copy the full SHA 6ad76e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b22849 - Browse repository at this point
Copy the full SHA 2b22849View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd0408d - Browse repository at this point
Copy the full SHA dd0408dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19ad174 - Browse repository at this point
Copy the full SHA 19ad174View commit details
Commits on Jun 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bcad795 - Browse repository at this point
Copy the full SHA bcad795View commit details
Commits on Jun 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0f80d04 - Browse repository at this point
Copy the full SHA 0f80d04View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1d888c - Browse repository at this point
Copy the full SHA a1d888cView commit details -
Configuration menu - View commit details
-
Copy full SHA for edc0da4 - Browse repository at this point
Copy the full SHA edc0da4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.