feat: Implement Plutus Data hashing / JSON (#100)
This commit is contained in:
parent
e0f153a5b1
commit
1c214ac72f
4 changed files with 84 additions and 19 deletions
|
|
@ -268,6 +268,12 @@ impl<T> Deref for CborWrap<T> {
|
|||
#[derive(Debug)]
|
||||
pub struct TagWrap<I, const T: u64>(I);
|
||||
|
||||
impl<I, const T: u64> TagWrap<I, T> {
|
||||
pub fn new(inner: I) -> Self {
|
||||
TagWrap(inner)
|
||||
}
|
||||
}
|
||||
|
||||
impl<'b, I, const T: u64> minicbor::Decode<'b> for TagWrap<I, T>
|
||||
where
|
||||
I: minicbor::Decode<'b>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue