context.rpc_server.mine_blocks(1); let script = script::Builder::new() .push_opcode(opcodes::OP_FALSE) .push_opcode(opcodes::all::OP_IF) .push_slice(b"ord") .push_slice([1]) .push_slice(b"text/plain;charset=utf-8") .push_slice([]) .push_slice(b"foo") .push_opcode(opcodes::all::OP_ENDIF) .push_opcode(opcodes::OP_FALSE) .push_opcode(opcodes::all::OP_IF) .push_slice(b"ord") .push_slice([1]) .push_slice(b"text/plain;charset=utf-8") .push_slice([]) .push_slice(b"bar") .push_opcode(opcodes::all::OP_ENDIF) .push_opcode(opcodes::OP_FALSE) .push_opcode(opcodes::all::OP_IF) .push_slice(b"ord") .push_slice([1]) .push_slice(b"text/plain;charset=utf-8") .push_slice([]) .push_slice(b"qix") .push_opcode(opcodes::all::OP_ENDIF) .into_script(); let witness = Witness::from_slice(&[script.into_bytes(), Vec::new()]);
Inscription number 44,982,421
Genesis block 819,058
File type text
File size 1 KB
Creation date Nov 30,2023 6:49 pm