Giter VIP home page Giter VIP logo

atomicals-js's People

Contributors

alexv525 avatar andyjiangpro avatar atlaslabsapp avatar atomicals avatar betta-cyber avatar doutv avatar eltociear avatar justindhillon avatar lucky2077 avatar momodaka avatar ordinalsnew avatar pan3da avatar seandong avatar shuoer86 avatar taofengno1 avatar timqi avatar tongziqi avatar willxing avatar yixinrock avatar yosg avatar zzallenn avatar

Stargazers

 avatar  avatar  avatar

atomicals-js's Issues

RevealAddress address not matched

Issue

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.

Reproduce

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.