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 examples for sep-10 #162

Merged
merged 6 commits into from
Aug 22, 2024
Merged

add examples for sep-10 #162

merged 6 commits into from
Aug 22, 2024

Conversation

piyalbasu
Copy link
Contributor

No description provided.

@@ -0,0 +1,56 @@
/* eslint-disable */

// @ts-expect-error: express will need to be installed to run this example
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought it was maybe overkill to add express to the repo just for this example, so I just added this as a comment. Let me know if it's worth adding it so a user can actually spin this up from this repo

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it too heavy? I'm personally fine adding it as a dev dependency as we could use it for other examples as well, but also OK in case you think that's too much

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess it won't affect the bundle size of the library, either. I'll add this as a dev dep 👍

Copy link
Contributor

@CassioMG CassioMG left a comment

Choose a reason for hiding this comment

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

LGTM - left a few comments

Copy link

socket-security bot commented Aug 21, 2024

No dependency changes detected. Learn more about Socket for GitHub ↗︎

👍 No dependency changes detected in pull request

@@ -69,6 +70,7 @@
"build:web": "webpack --config webpack.config.js",
"build:node": "webpack --env NODE=true --config webpack.config.js",
"build": "run-p build:web build:node",
"example:sep10": "ts-node examples/sep10/sep10Server.ts",
Copy link
Contributor

Choose a reason for hiding this comment

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

how should we runsep10Wallet ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah good call. I wasn't sure if this was useful to run as it's a simple helper, but I can add it!

@piyalbasu piyalbasu merged commit fae78e5 into main Aug 22, 2024
8 checks passed
@piyalbasu piyalbasu deleted the docpocalypse/sep-10 branch August 22, 2024 17:55
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