-
Notifications
You must be signed in to change notification settings - Fork 16
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
Sponsored transaction enabled auction #32
Conversation
1bb512b
to
0db9ee7
Compare
sponsoredTransactionsAuction/frontend/src/writing_to_blockchain.ts
Outdated
Show resolved
Hide resolved
sponsoredTransactionsAuction/frontend/src/writing_to_blockchain.ts
Outdated
Show resolved
Hide resolved
sponsoredTransactionsAuction/frontend/src/components/MintTokens.tsx
Outdated
Show resolved
Hide resolved
@DOBEN There is another point I forgot to mention. For new backends we should be using axum instead of warp. I would really like it if you changed it, but I understand it is annoying to do this now so I won't insist on it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to the comments below, I think it would make sense to use our @concordium/ccd-js-gen
package to generate a client to use for interacting with the contract instead of reading/writing-to-blockchain
files. It isn't ideal for use with the wallet libraries yet, but it provides everything you need for reading from the contract, and for writing it provides you the JSON version of the parameter types.
sponsoredTransactionsAuction/frontend/src/SponsoredTransactions.tsx
Outdated
Show resolved
Hide resolved
sponsoredTransactionsAuction/frontend/src/components/AddItemToAuction.tsx
Outdated
Show resolved
Hide resolved
sponsoredTransactionsAuction/frontend/src/components/AddItemToAuction.tsx
Outdated
Show resolved
Hide resolved
3c6f6c5
to
1e28544
Compare
7085d41
to
424b12e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that this is something for your PR in particular, but it would be nice with CI in place for checking that the frontends conform to lint/formatting rules (since it is a repository for dApp examples).
Other than that it worked fine when I tested it 😄
Agree, there is an issue already for adding CI pipelines (linting/testing) for all dApp examples. I would leave it to that issue and not start adding CI pipelines in this PR so. |
a3fc621
to
5965919
Compare
5965919
to
0d83292
Compare
Purpose
The front end and back end part of sponsored transaction enabled auction
Concordium/concordium-rust-smart-contracts#367
Changes
Add front end and back end part of sponsored transaction enabled auction