beaker
beaker copied to clipboard
A framework for writing Smart Contracts on Algorand
Boxen example works fine from the command line when changing to examples/boxen . It does not work from the debugger stepping thru. Needs some path logic to reference the right...
```python class StateBlob(ABC): def __init__(self, num_keys: int): self.num_keys = num_keys ``` while ```python class AccountStateBlob(StateBlob): def __init__(self, keys: Optional[int | list[int]] = None): ``` and ```python class ApplicationStateBlob(StateBlob): def __init__(self,...
If this can be done easily, Beaker can figure out what `stack_type` it needs automatically without the user knowing how an ABI type is actually stored in the contract state.
At the moment any methods marked with `read-only` will be called using `Dryrun` and the result parsed and returned. If the call fails, the call should raise an exception with...
Consider allowing Template variables in App definition
We should be able to define an Event type and emit it when something notable happens during contract evaluation. Use: https://github.com/algorandfoundation/ARCs/pull/113
In the case that something with the contract changes (schema, logic) it'd be good to offer a method to verify that the app being interacted with matches what you expect.
No Idea how to do this yet. Use app spec to build set of test_* methods? Graviton?
Add additional annotations to TEAL output. Run transactions against dryrun or simulate?
Efficient List/Map of ABI types or `NamedTuple`/`Struct` with storage backing of Blob/Box For a list containing static types, this should be easy. Dynamic types are rough to make efficient. For...