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

add sep10 sign challenge txn helper #95

Merged
merged 4 commits into from
Jan 29, 2024
Merged

Conversation

acharb
Copy link
Contributor

@acharb acharb commented Jan 23, 2024

ticket

validates

  • sequence num is 0
  • signed by anchor

then returns signed txn

@Ifropc
Copy link
Contributor

Ifropc commented Jan 24, 2024

This is for server side, right? Can we move it to a different place so developer won't confuse it for client side signing?

@acharb
Copy link
Contributor Author

acharb commented Jan 24, 2024

This is for server side, right? Can we move it to a different place so developer won't confuse it for client side signing?

I left it in the main walletSdk because it can be used for either client or server side right?

@Ifropc
Copy link
Contributor

Ifropc commented Jan 25, 2024

I think it's technically only for server, because it's used to sign client domain challenge (which must only be on the server)

@acharb
Copy link
Contributor Author

acharb commented Jan 29, 2024

@Ifropc gotchya, hows this then?
2b7cfbb

@Ifropc
Copy link
Contributor

Ifropc commented Jan 29, 2024

LGTM! Maybe ServerUtil is a better name?

@acharb
Copy link
Contributor Author

acharb commented Jan 29, 2024

hmm we already have a Utils module at that level, having two Utils at same level might be a little repetitive?

Will merge this in though but open to changing the name

@acharb acharb merged commit 1a29297 into release/1.4.0 Jan 29, 2024
4 checks passed
@acharb acharb deleted the acharb-sep10helper branch January 29, 2024 19:25
acharb added a commit that referenced this pull request Mar 26, 2024
* fix broken test (#93)

* add sep10 sign challenge txn helper (#95)

* add sep10 helper method

* name change

* correct resp

* create server module

* add npm publish gha (#96)

* WAL-1064 - add anchor platform integration tests (#99)

* create workspace (#101)

* create workspace

* try

* try

* try

* try

* cleanup

* update anchor platform docker run

* fix

* fix

* upgrade babel/traverse

* upgrade browserify-sign

* add keypair package in a second workspace (#102)

* add km package

* fix tests

* cleanup

* add second CD (#109)

* fix stellar-sdk imports (#112)

* fix imports

* fix

* preparing for 1.4.0 release stuff (#110)

* fix

* fix webpack process

* webpack fix (#113)

* webpack fix

* cleanup

* add helper for parsing AnchorTransaction (#111)

* add helper for parsing AnchorTransaction

* use kind

* add try-catch

---------

Co-authored-by: Alec Charbonneau <aleccharb21@gmail.com>
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.

None yet

3 participants