It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256OP_EQUALVERIFY
OP_DUP OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256OP_EQUALVERIFY
OP_2DUP OP_ADD OP_8 OP_ADD OP_SHA256OP_EQUALVERIFY
OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256OP_EQUALVERIFY
OP_DUP OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256OP_EQUALVERIFY
OP_2DUP OP_ADD OP_8 OP_ADD OP_SHA256OP_EQUALVERIFY
OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256OP_EQUALVERIFY
OP_DUP OP_2 OP_MUL OP_8 OP_ADD OP_SHA256OP_EQUALVERIFY
0xdf3984c3d89ec61f93f2d3060263bbb960a885ffa5d41ca1eb9c2692de71d8b7
0xdf3984c3d89ec61f93f2d3060263bbb960a885ffa5d41ca1eb9c2692de71d8b7
`OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256 OP_PUSHDATAOP_EQUAL`
`OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256 OP_PUSHDATAOP_EQUAL`
OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256OP_EQUAL
`OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256 OP_PUSHDATAOP_EQUAL`
OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256OP_EQUAL
OP_SWAP OP_DUP OP_8 OP_ADD OP_SHA256 OP_EQUAL
OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256OP_EQUAL
OP_2 OP_MUL OP_8 OP_ADD OP_SHA256 OP_DATA_32OP_EQUAL
`OP_DUP OP_ADD OP_8 OP_ADD OP_SHA256 OP_PUSHDATAOP_EQUAL`
'OP_DATA_32OP_EQUAL'
'OP_PUSHDATAOP_EQUAL`
OP_2
OP_SWAP
OP_DUP
OP_ADD
OP_8
OP_ADD
OP_SHA256
<0xdf3984c3d89ec61f93f2d3060263bbb960a885ffa5d41ca1eb9c2692de71d8b7>
OP_EQUAL
OP_2 OP_MUL OP_8 OP_ADD OP_SHA256 OP_DATA_32OP_EQUAL
OP_SWAP OP_DUP OP_8 OP_ADD OP_SHA256 OP_EQUAL
<0xdf3984c3d89ec61f93f2d3060263bbb960a885ffa5d41ca1eb9c2692de71d8b7>
OP_SWAP
OP_DUP
OP_8
OP_ADD
OP_SHA256
OP_EQUAL
OP_DUP
OP_2
OP_MUL
OP_8
OP_ADD
OP_SHA256
<0xdf3984c3d89ec61f93f2d3060263bbb960a885ffa5d41ca1eb9c2692de71d8b7>
OP_EQUAL
OP_SWAP OP_DUP OP_8 OP_ADD OP_SHA256 OP_EQUAL
`OP_DATA_32OP_SWAP OP_DUP OP_2 OP_MUL OP_8 OP_ADD OP_SHA256 OP_EQUAL`
OP_2 OP_MUL OP_8 OP_ADD OP_SHA256 OP_DATA_32OP_EQUAL
OP_DUP OP_2 OP_MUL OP_8 OP_ADD OP_SHA256 OP_DATA_32OP_EQUAL
Opcode | Stack |
<0xdf39...d8b7> 1000 | |
OP_DUP | <0xdf39...d8b7> 1000 1000 |
OP_2DUP | <0xdf39...d8b7> 1000 1000 1000 1000 |
OP_ADD | <0xdf39...d8b7> 1000 1000 2000 |
OP_8 | <0xdf39...d8b7> 1000 1000 2000 8 |
OP_ADD | <0xdf39...d8b7> 1000 1000 2008 |
OP_SHA256 | <0xdf39...d8b7> 1000 1000 <0xc91d...dc80> |
OP_SWAP | <0xdf39...d8b7> 1000 <0xc91d...dc80> 1000 |
OP_EQUALVERIFY | <0xdf39...d8b7> 1000 <0xc91d...dc80> 1000, Stack failed an OP_VERIFY operation. Top two items are not equal. |
OP_CHECKSIG |
<0xdf3984c3d89ec61f93f2d3060263bbb960a885ffa5d41ca1eb9c2692de71d8b7>
OP_SWAP
OP_DUP
OP_2
OP_MUL
OP_8
OP_ADD
OP_SHA256
OP_EQUALVERIFY
OP_DUP
OP_2DUP
OP_ADD
OP_8
OP_ADD
OP_SHA256
OP_SWAP
OP_EQUALVERIFY
OP_CHECKSIG
`
`OP_DATA_32OP_SWAP OP_DUP OP_2 OP_MUL OP_8 OP_ADD OP_SHA256 OP_EQUALVERIFY OP_CHECKSIG`
OP_DUP OP_HASH160OP_EQUALVERIFY OP_CHECKSIG
Opcode | Stack |
OP_DUP | |
OP_HASH160 | |
Adding | |
OP_EQUALVERIFY | |
OP_CHECKSIG | 1 (returns 1 if the signature is valid, otherwise 0) |
const bitcoin = require('bitcoinjs-lib');
// Defines the hash value Alice wants to match
const targetHash = Buffer.from('df3984c3d89ec61f93f2d3060263bbb960a885ffa5d41ca1eb9c2692de71d8b7', 'hex');
// Creates the locking script
const script = bitcoin.script.compile([
bitcoin.opcodes.OP_DUP,
bitcoin.opcodes.OP_2,
bitcoin.opcodes.OP_MUL,
bitcoin.opcodes.OP_8,
bitcoin.opcodes.OP_ADD,
bitcoin.opcodes.OP_SHA256,
targetHash,
bitcoin.opcodes.OP_EQUAL
]);
// Creates a P2SH address from the script
const { address } = bitcoin.payments.p2sh({
redeem: { output: script, network: bitcoin.networks.testnet },
network: bitcoin.networks.testnet
});
console.log('P2SH Address:', address);
// Create a new transaction
const psbt = new bitcoin.Psbt({ network: bitcoin.networks.testnet });
// Add input (replace with actual transaction details)
//must be 32 bit
psbt.addInput({
hash: 'your-transaction-hash', // Replace with actual transaction hash
index: 0, // Replace with actual index
nonWitnessUtxo: Buffer.from('your-raw-transaction-hex', 'hex') // Replace with actual raw transaction hex
});
// Add output to the P2SH address
psbt.addOutput({
address: address,
value: 1000 // Value in satoshis
});
// Sign the transaction (replace with actual keyPair)
const keyPair = bitcoin.ECPair.makeRandom({ network: bitcoin.networks.testnet });
psbt.signInput(0, keyPair);
// Finalize and build the transaction
psbt.finalizeAllInputs();
const tx = psbt.extractTransaction();
console.log('Transaction Hex:', tx.toHex());
import hashlib
def find_x():
target_hash = "df3984c3d89ec61f93f2d3060263bbb960a885ffa5d41ca1eb9c2692de71d8b7"
for x in range(2**32):
result = 2*x + 8
hash_result = hashlib.sha256(str(result).encode()).hexdigest()
if hash_result == target_hash:
print(f"x = {x}")
break
find_x()
import hashlib
def find_x():
target_hash = "0xdf3984c3d89ec61f93f2d3060263bbb960a885ffa5d41ca1eb9c2692de71d8b7"
for x in range(2**32):
if x % 100000 == 0: # Print progress
print(f"Trying x = {x}")
result = 2*x + 8
hash_result = hashlib.sha256(str(result).encode()).hexdigest()
if hash_result == target_hash:
print(f"x = {x}")
break
find_x()