-
Notifications
You must be signed in to change notification settings - Fork 3
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: migrate simple, kitchen-sink, calculator examples from tealscript to puya-ts #14
base: main
Are you sure you want to change the base?
Conversation
f949227
to
a2b1741
Compare
- *also*: refactor: rearrange folders
932b873
to
03b2e29
Compare
import type { uint64 } from "@algorandfoundation/algorand-typescript"; | ||
|
||
// eslint-disable-next-line no-unused-vars | ||
export class Calculator extends arc4.Contract { |
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.
I think it'd be good if we tried to reduce the usage of arc4
as much as possible (ie. just use Contract
instead of arc4.Contract
). TEALScript has no explicit mention of ARC4/ABI anywhere in the API and obviously ARC4 is new to TypeScript developers. The more code we can write without having to use it the better and finding areas where it's required is during the migration process is a good way to figure out what needs to be worked on
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.
It has been updated to use just Contract
.
6e926a0
to
31e2cd5
Compare
c0672d6
to
c2c652d
Compare
c2c652d
to
5eb777f
Compare
No description provided.