{"content":"const oracleData = \"BTC/USD price is 70000\";\nconst { address, privateKey } = bitcoin.ECPair.makeRandom();\nconst txb = new bitcoin.TransactionBuilder();\nconst data = Buffer.from(oracleData);\n\ntxb.addOutput(address, 0);\ntxb.addOutput(data, 0); // OP_RETURN\n\nconst tx = txb.build();\nconst commitTx = tx.toHex();","contentType":"text/plain"}