script_pubkey: script::Builder::new() .push_opcode(opcodes::all::OP_RETURN) .push_slice(b"RUNE_TEST") .push_slice(payload) .into_script(), value: 0 }], lock_time: locktime::absolute::LockTime::ZERO, version: 0, }), Ok(Some(Runestone { edicts: vec![Edict { id: 1, amount: 2, output: 3, }], etching: Some(Etching { rune: Rune(4), ..Default::default() }), ..Default::default() })) ); } #[test] fn decipher_etching_with_symbol() { let payload = payload(&[2, 4, 3, 'a'.into(), 0, 1, 2, 3]); let payload: &PushBytes = payload.as_slice().try_into().unwrap(); assert_eq!( Runestone::decipher(&Transaction { input: Vec::new(), output: vec![TxOut { script_pubkey: script::Builder::new() .push_opcode(opcodes::all::OP_RETURN) .push_slice(b"RUNE_TEST") .push_slice(payload)

Inscription #44972155

ID

40fbb08af9...2f0f7b26i0

Detail

History

Action
Price
Marketplace
From
To
Time

INSCRIBED

-

-

-j4mg

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