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

breaking: Refactored wallet class and removed wallet sequence #477

Merged
merged 53 commits into from
Dec 14, 2022

Conversation

connorjchen
Copy link
Collaborator

@connorjchen connorjchen commented Nov 22, 2022

High Level Overview of Change

  • Complete revamped wallet class to be more alike to xrpl.js (breaking changes)
  • Some (breaking) changes to key formatting and seed generation with given entropy

Context of Change

xrpl-py wallet class was outdated and lacked many functions that xrpl.js offers
https://docs.google.com/document/d/1G_5H40eD1gKaue6XgdecP5SYifrljkCjtGsZnVZDLyo/edit#

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Tests (You added tests for code that already exists, or your new feature included in this PR)
  • Documentation Updates
  • Release

Test Plan

wrote entire test suite for wallet class

@connorjchen connorjchen changed the title breaking: Refactored wallet class breaking: Refactored wallet class and removed wallet sequence Nov 23, 2022
@connorjchen connorjchen marked this pull request as ready for review November 23, 2022 19:39
Copy link
Contributor

@JST5000 JST5000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

xrpl/wallet/main.py Outdated Show resolved Hide resolved
Copy link
Contributor

@JST5000 JST5000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@connorjchen connorjchen merged commit 2be6a3e into XRPLF:xrpl-py-2.0 Dec 14, 2022
JST5000 pushed a commit that referenced this pull request Jun 28, 2023
* Refactored wallet class and tests

* Fix leading zero for key formatting

* Changed from_entropy to take in hex string

* Update core keypairs docs

* Throw error instead truncate for generate seed with entropy

* Refactor test main wallet generation suite
JST5000 pushed a commit that referenced this pull request Jun 28, 2023
* Refactored wallet class and tests

* Fix leading zero for key formatting

* Changed from_entropy to take in hex string

* Update core keypairs docs

* Throw error instead truncate for generate seed with entropy

* Refactor test main wallet generation suite
JST5000 pushed a commit that referenced this pull request Jul 5, 2023
* Refactored wallet class and tests

* Fix leading zero for key formatting

* Changed from_entropy to take in hex string

* Update core keypairs docs

* Throw error instead truncate for generate seed with entropy

* Refactor test main wallet generation suite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants