opshin
opshin copied to clipboard
A simple pythonic programming language for Smart Contracts on Cardano
**Is your feature request related to a problem? Please describe.** Currently only `from x import *` is supported, in a very hacky way, by copying the whole content of that...
**Is your feature request related to a problem? Please describe.** Currently, OpShin does not distinguish between instances and classes properly. Looking at the type system, every access to an instance...
A lot of data in Cardano (public key hashes, validator addresses, etc) are binary but usually displayed in hexadecimal notation. Opshin should hence let users transform this usual notation to...
In order to improve accessibility even more, executables for opshin may be provided using `pex`. In a fresh virtual environment with pex and opshin installed, the following produces a valid...
**Is your feature request related to a problem? Please describe.** `Keyword arguments are not supported yet` example: ``` ... check_datum(own_addr=own_addr, validator_datum=datum, output_datum=datum_value) ... ``` **Describe the solution you'd like** I'd...
**Is your feature request related to a problem? Please describe.** Function calls can be expensive. **Describe the solution you'd like** Short functions can be inlined by the opshin compiler. **Describe...
Currently comparison chaining is internally just rewritten such that `x < y < z` becomes `x < y and y < z`. In the case where `y` is not a...
Starting from 8c2d32178c2017ae257777a09cd0fe290328508f it is generally not allowed to change the type of variables anymore. This can be relaxed to apply only to variables that are not bound by functions,...
#297 introduced the option to implement `continue` and `break` statements. This did not exist in hebi before since it did not support loops. One possible implementation is to keep track...
**Is your feature request related to a problem? Please describe.** List accesses in uplc are linear in n. While you can not reduce the number of tailList operations, you can...