atlaslabsapp / atomicals-js Goto Github PK
View Code? Open in Web Editor NEWThis project forked from atomicals/atomicals-js
Atomicals CLI and Javascript Library
Home Page: https://atomicals.xyz
License: MIT License
This project forked from atomicals/atomicals-js
Atomicals CLI and Javascript Library
Home Page: https://atomicals.xyz
License: MIT License
I have 5 mint failed to reveal last night, I do have all the logs, I tried to use the handle_no_reveal branch to refund, but the commitTxId
, time
and nonce
doesn't seem to match together.
logs for one of the tx
000000b3f65cdfa444daf5b975402502be046806a4deee9443038e5db6639ef5 sequence: (2392104250)
Solution found, try composing the transaction...
rawtx 010000000001015e9fdae31253a7ababa2835a1a0062711a43aea2c3712cc0479dcb0e1c00000001000000003a9d948e02b6a2010000000000225120d1be15549e9ca35bdbbad8e10013339f5cb8bb2600431bd429bdc62072b2a48020b21a0000000000225120dfce043eb4ae18aee1caa25a86222b66c80265fc7c188f1ba68af5e17068c7f801405ba4e0cb9ea04fd96aee4eff2ab8764b12f1b8f10d9c739c21a68fd648c4d194d820fd34ce2adb1debefe7da1617e428698ba284631e434c6574a72808b7e1cb00000000
Success sent tx: 000000b3f65cdfa444daf5b975402502be046806a4deee9443038e5db6639ef5
Workers have completed their tasks.
...
...
...
...
Bitwork matches commit txid! 000000b3f65cdfa444daf5b975402502be046806a4deee9443038e5db6639ef5 @ time: 1705854769
got one finalCopyData:{"args":{"bitworkc":"000000","bitworkr":"6238","mint_ticker":"sophon","nonce":0,"time":1705844626}}
got one finalPrelimTx:{"version":1,"locktime":0,"ins":[{"hash":{"type":"Buffer","data":[94,159,218,227,18,83,167,171,171,162,131,90,26,0,98,113,26,67,174,162,195,113,44,192,71,157,203,14,28,0,0,0]},"index":1,"script":{"type":"Buffer","data":[]},"sequence":2392104250,"witness":[{"type":"Buffer","data":[91,164,224,203,158,160,79,217,106,238,78,255,42,184,118,75,18,241,184,241,13,156,115,156,33,166,143,214,72,196,209,148,216,32,253,52,206,42,219,29,235,239,231,218,22,23,228,40,105,139,162,132,99,30,67,76,101,116,167,40,8,183,225,203]}]}],"outs":[{"script":{"type":"Buffer","data":[81,32,209,190,21,84,158,156,163,91,219,186,216,225,0,19,51,159,92,184,187,38,0,67,27,212,41,189,198,32,114,178,164,128]},"value":107190},{"script":{"type":"Buffer","data":[81,32,223,206,4,62,180,174,24,174,225,202,162,90,134,34,43,102,200,2,101,252,124,24,143,27,166,138,245,225,112,104,199,248]},"value":1749536}]}
got one finalSequence:2392104250
...
Detected Funding UTXO (000000b3f65cdfa444daf5b975402502be046806a4deee9443038e5db6639ef5:0) with value 107190 for funding...
Atomicals Bitwork Mining - Requested bitwork proof-of-work mining for the reveal transaction.
bitworkr (input): 6238
bitworkr (decoded): 6238
I then set the following in the .env
file
refund=true
commitTxid=000000b3f65cdfa444daf5b975402502be046806a4deee9443038e5db6639ef5
time=1705844626
nonce=0
and then I run this command yarn cli mint-dft sophon --satsbyte 50
and received the following error
...
RevealAddress address not matched, expect: bc1p6xlp24y7nj34hka6mrssqyennawt3wexqpp3h4pfhhrzqu4j5jqqspqrus, got bc1pzfr954ru0ymzuxrlp2nnprazrmr5d4nafpsvtejpd5rvlg5x9wlszwcuxk
Config 'time' or 'nonce' in .env file may be wrong
If you are not sure, leave them blank
{
"success": false,
"message": "Error: RevealAddress address not matched",
"error": {}
}
What should I do in this case? I also tried to leave the time
blank, but after running for a long time, doesn't seem like it could find a match.
Great work creating this project, any assistance will be appreciated, thank you!
都是只有 COMMIT BITWORK 没有 REVEAL BITWORK
在 https://mempool.space/tx/push 提交计算出来的raw tx提示错误:
non-mandatory-script-verify-flag (Invalid Schnorr signature)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.