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

RELEASE #127

Merged
merged 22 commits into from
Jul 12, 2024
Merged

RELEASE #127

merged 22 commits into from
Jul 12, 2024

Conversation

mixmix
Copy link
Contributor

@mixmix mixmix commented Jun 19, 2024

this is a tracking PR to see what's going into the next release

Checklist before merge

  • confirm which features / patches are going into the next release
  • smoke test
  • CHANGELOG update

mixmix and others added 4 commits June 13, 2024 09:30
* add commander

* tidy tui

* Update tsconfig.json

Co-authored-by: Frankie <frankie.diamond@gmail.com>

* Update tsconfig.json

Co-authored-by: Frankie <frankie.diamond@gmail.com>

* Update tsconfig.json

Co-authored-by: Frankie <frankie.diamond@gmail.com>

* fixups

* fixup start command

* Update README.md

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

---------

Co-authored-by: Frankie <frankie.diamond@gmail.com>
Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>
* wip: addresses are the bane of my existence

* fixed up transfers, added progress bar

* converting hex to bigint to be able use the right value when transferring

* wip: started changes to cli for new sdk, finally got the sdk to link to this project

* wip: update balance check to work with new sdk

* wip: updated transfer with new sdk methods; updated new key creation with correct methods from new sdk

* Improves README readability. (#42)

* Improves README readability.

* Update README.md

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

---------

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* remove deps, move files, add license, fix package.json

* linting hooks, tidy

* mostly fix types?

* replace console.log > debug

* improve debug by stringifying output

* Mixmix/types+lint (#44)

* Improves README readability. (#42)

* Improves README readability.

* Update README.md

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

---------

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* remove deps, move files, add license, fix package.json

* linting hooks, tidy

* mostly fix types?

---------

Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* start setting up bin scrupts

* removing zaps; changing language around wallet

* wip: getting register ready

* ignor built files

* wip: "singletonish" entropy and keyring

* wip: pulling in frankies changes with a bit of cleanup

* install commander

* fixups

* more tidy

* add transfer sketch

* first pass on balance

* support encrypted accounts

* wip: minor fixes, removing mnemonic from key generation

* wip: setting up keyrings

* wip: updated main to initialize with selecting or create new account

* wip: initializing entropy in main, passing new entropy to flows

* wip: can get acct on cli initialization; entropy intitialized; entropy passed to balance flow for now

* wip: remvoed use of wallet namespace (switched to manage accounts); main is now updated to what is expected when talking about having a selected acct or force user to create a new one

* wip: balance is now working with the new flow

* wip: cleanup of manage accounts folder

* wip: updating register to use account selected from config

* undo some changes

* Mixmix/debug (#45)

* Improves README readability. (#42)

* Improves README readability.

* Update README.md

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

---------

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* remove deps, move files, add license, fix package.json

* linting hooks, tidy

* mostly fix types?

* replace console.log > debug

* improve debug by stringifying output

* fixups

* more tidy

* undo some changes

* Update src/common/initializeEntropy.ts

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

---------

Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* add cli list

* first pass transfer

* wip: registration looks to be working with properly created acct

* wip: user programs added fucntion to check if program exists on endpoint

* wip: registration and removing a program

* wip

* install pre-release sdk

* get transfer working

* wip: trying to debug accounts their were some bugs i was finding when creating a new account i also added the abbilty to create a debug account when importing by adding `#debug` to the end of the seed

* wip: cleanup from frankies changes

* wip: more cleanup and added no op program to filesystem

* wip: registering is working with default key proxy and adding verifying keys to list

* wip: silently handling error, logging an error message

* wip: debugging undefined error in subscriber

* wip: removing hardcoded debug from initialize entropy, already available on account data

* wip: new release for sdk

* wip: fixing account flows

* replace console.log with "print"

* wip

* wip

* got balances woorking

* fix register

* sdk upgrade: has key fix potentioally, also seems like their was some types that were not updated

* fix accounts?

* fix accounts

* temp: jhonny plz coppy console.log

* remove temp commit

* fix refference

* Update src/entropy.ts

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* tidy up

* tidy

* fix endpoints logic

* yarn.lock

* add bundling to ts

* add commander

* tidy tui

* tidyups

* Update tsconfig.json

Co-authored-by: Frankie <frankie.diamond@gmail.com>

* Update tsconfig.json

Co-authored-by: Frankie <frankie.diamond@gmail.com>

* Update tsconfig.json

Co-authored-by: Frankie <frankie.diamond@gmail.com>

* fixups

* fixup start command

* lock fix

---------

Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>
Co-authored-by: frankie <frankie.diamond@gmail.com>
* fix author & version: 0.0.1 (#99)

* go back

* 0.0.1
* write tests for migrations, refactor

* finish writing config tests

* finish writing config tests

* Update src/config/index.ts

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* Update src/config/index.ts

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

---------

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>
@mixmix mixmix marked this pull request as draft June 19, 2024 02:56
mixmix and others added 6 commits June 19, 2024 15:36
* fix author & version: 0.0.1 (#99)

* go back

* 0.0.1

* Improves README for self-surface. (#100)

* fixup

---------

Co-authored-by: Frankie <frankie.diamond@gmail.com>
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
* [NayNay] Removing unused deps, and cleaning up unused files

closes #101

* rm dotenv - unused

---------

Co-authored-by: Jesse Abramowitz <jesse@entropy.xyz>
Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
Co-authored-by: mixmix <mix@protozoa.nz>
* fix author & version: 0.0.1 (#99)

* go back

* 0.0.1

* pr template

* init: CHANGELOG.md and add to it

* init: sugesstions for development

* update template

* Matches PR template with that in the SDK.

---------

Co-authored-by: johnnymatthews <9611008+johnnymatthews@users.noreply.github.com>
* wip: created pure functions for balance

* WIP: add testing infra for unit tests

* wip: got tests to pass, adding new ones

* added test for all bad addresses

* updated user flows to use the new pure function to grab balance

* updated changelog

* Update src/common/initializeEntropy.ts

Co-authored-by: Frankie <frankie.diamond@gmail.com>

* Update src/common/initializeEntropy.ts

Co-authored-by: Frankie <frankie.diamond@gmail.com>

* adding actions

* updated rc for sdk package

* removing docker hub from actions

---------

Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>
Co-authored-by: Frankie <frankie.diamond@gmail.com>
* fix author & version: 0.0.1 (#99)

* go back

* 0.0.1

* write tests for migrations, refactor

* finish writing config tests

* finish writing config tests

* migrate config file to new location

* add mkdirp for saving config to new folders

* Update src/config/index.ts

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* Update src/config/index.ts

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>

* Improves README for self-surface. (#100)

* merge in dev

---------

Co-authored-by: Frankie <frankie.diamond@gmail.com>
Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
@rh0delta rh0delta marked this pull request as ready for review June 24, 2024 23:55
frankiebee and others added 12 commits June 25, 2024 14:29
- created new method to handle listing accounts as a pure function
- added unit tests for new method
- confirmed manage accounts still works as expected with new method

closes #122

Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
* migration: move default endpoint

* fixups
* extract setupTest util

* test signWithAdapter

* plug in new signWithAdapter

* Update src/common/initializeEntropy.ts

---------

Co-authored-by: Nayyir Jutha <nayyir.jutha@gmail.com>
* [NayNay] Transfer updates + unit testing

closes #124

* updated transfer pure function and added tests

* Update transfer.test.ts

Co-authored-by: mix irving <mix@protozoa.nz>

* updated based on PR suggestions

* updated progress bar use to be more universal for the cli; based on pr suggestion

* updating comment

---------

Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
Co-authored-by: mixmix <mix@protozoa.nz>
* [NayNay] Debug Log

- install and integrated winston logging library into cli
- allowing us to be able to log any and everything to the respective files saved in the ~/path/to/syslogs/entropy-cryptography/entropy-cli.*.log
- included example use of new logger in the tui flow for balance

* Update logger.ts

Co-authored-by: mix irving <mix@protozoa.nz>

* Update logger.ts

Co-authored-by: mix irving <mix@protozoa.nz>

* removed debug function and package and updated use of debug logs throughout cli to use new logger; added masking to the payload logged to obfuscate secret information

* removed use of env vars and mvoed to options arg in logger constructor

* updated changelog

---------

Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
Co-authored-by: mixmix <mix@protozoa.nz>
- updated signing to pull in the correct endpoint to be used
- removed a noisy log to the console

Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
Co-authored-by: Nayyir Jutha <nayyir@entropy.xyz>
Copy link
Collaborator

@frankiebee frankiebee left a comment

Choose a reason for hiding this comment

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

Did a QA of this! looks great!

@frankiebee frankiebee merged commit b28240e into main Jul 12, 2024
1 check passed
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