}, ParsedEnvelope { payload: inscription("bar", [1; 100]), offset: 1, ..Default::default() } ] ); } #[test] fn inscribe_png() { assert_eq!( parse(&[envelope(&[b"ord", &[1], b"image/png", &[], &[1; 100]])]), vec![ParsedEnvelope { payload: inscription("image/png", [1; 100]), ..Default::default() }] ); } #[test] fn chunked_data_is_parsable() { let mut witness = Witness::new(); witness.push(&inscription("foo", [1; 1040]).append_reveal_script(script::Builder::new())); witness.push([]); assert_eq!( parse(&[witness]), vec![ParsedEnvelope { payload: inscription("foo", [1; 1040]), ..Default::default() }] ); } #[test] fn round_trip_with_no_fields() { let mut witness = Witness::new(); witness.push(Inscription::default().append_reveal_script(script::Builder::new())); witness.push([]); assert_eq!( parse(&[witness]),

Inscription #44969528

ID

ddd250f44c...35ca1e9bi0

Detail

History

Action
Price
Marketplace
From
To
Time

TRANSFER

-

-

982wqq69

8 months

INSCRIBED

-

-

-982w

8 months

Sign Up for our Newsletter

And be the first to know about any updates!

OrdinalHub logo

All Rights Reserved OrdinalHub.com 2024

Support

Follow Us