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

feat: implements dns example with full inkathon template #55

Closed
wants to merge 1 commit into from

Conversation

peetzweg
Copy link
Contributor

@peetzweg peetzweg commented Jan 5, 2024

This PR is part is meant to be compared with #56 .

Adds frontend example with full on inkathon.xyz template code. It adds a lot of features and boilerplate code for a more production ready app. Stuff which also might make it hard to actually understand the relevant js code for interacting with the smart contract.

Here is my personal pro/con list of creating examples for this repo with inkathon.xyz

Pro:

  • production ready
  • better wallet connectivity
  • multichain deploys/interaction
  • toast system / ui components
  • scripts for contract deployment and compiling

Con:

I don't care to much about the pros, as these are in my opinion not relevant for a timeless, low maintance example. Afaik these examples are not meant to be showcase level dapps.

In this demo video I'm not using all features inkathon offers, like the toast system or more elaborate styles. I plainly copied the code over from the comparison useinkathon pr to showcase boilerplate overhead.

inkathon-small.mov

Dependencies

The list of dependencies is long as inkathon comes with a lot of choices already made for you. I don't use too many features of these yet. It's for form handling, input validation, toasts, ui components, analytics, full-stack web framework next, loading spinners and more.

https://github.com/paritytech/ink-examples/blob/a575d4f66f9232a70413825a4260d4670eb74917/dns/example/frontend/package.json#L18-L55

@peetzweg peetzweg changed the title feat: implements dns example with full inkathon template feat: implements dns example with full inkathon template Jan 5, 2024
@peetzweg
Copy link
Contributor Author

Closed in favor of #56.

@peetzweg peetzweg closed this Jan 22, 2024
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.

1 participant