opshin
opshin copied to clipboard
A simple pythonic programming language for Smart Contracts on Cardano
**Describe the bug** `Anything`, `PlutusData`, `BuiltinData`, `Redeemer`, `Datum` are all equivalent to `pycardano.Datum` `Datum = Union[PlutusData, dict, IndefiniteList, int, bytes, RawCBOR, RawPlutusData]` However, eopsin does not allow compilation with `isinstance`....
This is currently prohibited by a slightly different setup of the python ast module
**Is your feature request related to a problem? Please describe.** A lot of sophisticated applications require fractions. This is not native to UPLC and hence not easy to represent in...
Currently, the Plutus Ledger Specification in Python is baked into eopsin. This causes two issues 1. hebi also uses the specification, which leads to code duplication 2. if pycardano wants...
Cardano uses milliseconds for posixtime while python is seconds based. this introduces a factor of 1000 everywhere where the two interact and should be documented somehow (or made transparent to...
Currently, when the signatures of functions don't match, its hard to grasp what the actual signature is. This should be improved.
**Is your feature request related to a problem? Please describe.** Debugging contracts on-chain is always difficult. In particular one might be interested in the precise location of the error in...
The operations compile, build etc that are available in the command line should be moved into a cmd submodule such that it can be used as a python library ```python...
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.108.4 to 6.110.1. Commits b5c44cf Bump hypothesis-python version to 6.110.1 and update changelog 34f75e6 Merge pull request #4079 from HypothesisWorks/issue-4078 e8d814c Fix mypy 20d13f4 Include TypeIs to...
Targeting issue #367 The following would now compile ``` source_code = """ from dataclasses import dataclass from typing import Dict, List, Union from pycardano import Datum as Anything, PlutusData @dataclass()...