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

Support for Account Creation Plugins #84

Merged
merged 21 commits into from
Nov 10, 2023
Merged

Conversation

dafuga
Copy link
Contributor

@dafuga dafuga commented Oct 25, 2023

No description provided.

@dafuga dafuga force-pushed the added-account-creation-plugins branch from 04f8ed1 to d45a63e Compare October 25, 2023 02:07
@dafuga dafuga force-pushed the added-account-creation-plugins branch from d45a63e to 6c172c3 Compare October 25, 2023 02:17
@dafuga dafuga force-pushed the added-account-creation-plugins branch from c0e6bd8 to 1257ded Compare October 26, 2023 02:41
@dafuga dafuga force-pushed the added-account-creation-plugins branch 4 times, most recently from 9762e4b to 060745c Compare November 2, 2023 04:55
@dafuga dafuga force-pushed the added-account-creation-plugins branch from 060745c to b9216b5 Compare November 2, 2023 04:57
@dafuga dafuga force-pushed the added-account-creation-plugins branch from 30c1012 to 90d9d96 Compare November 3, 2023 03:47
@dafuga dafuga marked this pull request as ready for review November 10, 2023 00:39
@aaroncox aaroncox changed the title Added account creation plugins Support for Account Creation Plugins Nov 10, 2023
@aaroncox aaroncox merged commit 95b4d63 into dev Nov 10, 2023
3 checks passed
@dafuga dafuga deleted the added-account-creation-plugins branch November 10, 2023 00:45
aaroncox added a commit that referenced this pull request Nov 10, 2023
* Added MOCK_DIR to coverage build

* Allow passing a `ChainDefinition` to login as `chain`

* Remove broken browser test build

* Allow passing in Contract instances for ABI caching

* Version 1.1.0-rc1

* Version 1.1.0-rc2

* Updating dependencies

* Updated tests for compressed transactions

* Added package resolution for next build

* Moved ABICache mechanisms out to its own function

Also implemented caching from embedded Action objects from new wharfkit/antelope release.

* Updating dependencies and tests for ABI caching

* Each `WalletPlugin` may optionally return an `IdentityProof`

Related to #72

* Allow calling `restore` with a `ChainDefinition`

Fixes #71

* Updating Antelope library

* New test account

* New `setAsDefault` parameter during login

Allows the developer during a `login` call to specify whether or not this account should be the new default for `restore`. Defaults to true.

* Support for Account Creation Plugins (#84)

* chore: added account-creation plugins

* fix: getting createAccount method working

* fix: fixed prompts

* fix: adding account creation plugins to context

* fix: adding account creation method to ui interface

* chore: added onAccountCreateComplete

* Ran `make format`

* Linting

* Require a name for creation services

* Mocked account creation methods in tests

* Linting

* Removed selected plugin from context

* Swapped chain to Checksum256Type

* Removed chains

* Linting

* Removed chains from options

This adds a lot of complexity for very little gain in the account creation flow.

* Reworked createAccount flow

* Version 1.1.0-rc3

* Allow developer to override chain/plugin for Account Creation

* Version 1.1.0-rc4

* Filter chains based on plugin capabilities, if set

---------

Co-authored-by: Aaron Cox <[email protected]>

* Updating dependencies for 1.1.0

* Added missing mock data

---------

Co-authored-by: Daniel Fugere <[email protected]>
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.

2 participants