#64,327,645gltf#64,327,568gltfInscription #60798898#60,798,898html13419.ordimap#60,774,661text14196.ordimap#60,774,658text13804.ordimap#60,774,374text14074.ordimap#60,774,337text13803.ordimap#60,774,336text13380.ordimap#60,774,319text{"p":"can-20","op":"mint","tick":"can","amt":"1000","rows":[{"df":"qa","content":[{"q":"How does blockchain ensure security?","a":"Consensus mechanism: The consensus mechanism in the blockchain network (such as proof of work, proof of stake, etc.) ensures the joint participation and maintenance of network nodes."}]}]} this?#59,500,912text#56,118,105#56,117,923#56,117,921#56,117,895#56,117,838#56,117,686#56,116,530Inscription #53566873#53,566,873svg create_wallet(&rpc_server); CommandBuilder::new("--regtest wallet inscribe --fee-rate 2.1 --batch batch.yaml") .write("inscription.txt", "Hello World") .write("batch.yaml", "mode: separate-outputs\ninscriptions:\n- file: inscription.txt\n destination: bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4") .rpc_server(&rpc_server) .stderr_regex("error: address bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4 belongs to network bitcoin which is different from required regtest\n") .expected_exit_code(1) .run_and_extract_stdout(); } #[test] fn batch_inscribe_fails_with_shared_output_and_destination_set() { let rpc_server = test_bitcoincore_rpc::spawn(); rpc_server.mine_blocks(1); assert_eq!(rpc_server.descriptors().len(), 0); create_wallet(&rpc_server); CommandBuilder::new("wallet inscribe --fee-rate 2.1 --batch batch.yaml") .write("inscription.txt", "Hello World") .write("tulip.png", "") .write("batch.yaml", "mode: shared-output\ninscriptions:\n- file: inscription.txt\n destination: bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4\n- file: tulip.png") #45,003,119textdependencies = [ "bitcoin-private", "serde", ] [[package]] name = "bitflags" version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "block-buffer" version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ "generic-array", ] [[package]] name = "blocking" version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" dependencies = [ "async-channel", "async-lock 3.1.2", "async-task", "fastrand 2.0.1", "futures-io", "futures-lite 2.0.1", "piper", "tracing", ] [[package]] #44,979,365textregrecalcitrant.sats#13,205,282sns