Coder Social home page Coder Social logo

drongo's People

Contributors

craigraw avatar misterseven144 avatar msgilligan avatar samouraidev avatar satsen avatar zeroleak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

drongo's Issues

Bip322 verifies that the P2TR address type is inconsistent with the pubKey generated by Unisat. Requesting assistance. Thank you

calling method:
Bip322.verifyMessageBip322();

The parameters are:
{
"sign": "AUDdBjt0wKJbJ4zDNZvS6ldazYZF1X7c9yHBI1fSMo67Ld5L9pxPJtWJAOhJqRtqTzWiG4PCJeJ6BST8nbwz6puZ",
"address": "tb1pgtu8kwtpw4r3qkqq2c7wlylwemr0cyn84y4p5dpdeyaazes4nxpsc6dd9u",
"message": "Only sign this message for a trusted client!\nChain ID: 5.",
"script_type": "P2TR"
}

There is no problem verifying the signature, it is perfect, but the obtained public key is different from Unisat (), while there is no problem with the P2WPKH address type, which is the same public key.

The public key is:0242f87b39617547105800563cef93eecec6fc1267a92a1a342dc93bd166159983
Unisat wallet public key:03cecee1799564e6eee84d456c0d6d130ecb7f099140a4a36e4d621d2dadda71ba

I don't know where I didn't do it right. I'm asking for help. Thank you very much!

Drongo tarball for each Sparrow release

Since github release of Sparrow includes full source tarball it makes sense to also have a corresponding Drongo tarball in each release.
That way it will be possible to re-build Sparrow without using git or for archival reasons.

Potentially non-compliant BIP-21 implementation

Hi there! Thanks a lot for all you do on Sparrow, I'm a big fan and user.

I'm an Android developer and I've been working on some Kotlin bitcoin libraries and was taking a look at the BIP-21 implementation in Drongo. I noticed that the testSamourai test case used a comma in the amount, and that this is, according to the BIP, non-compliant:

All amounts MUST contain no commas and use a period (.) as the separating character to separate whole numbers and decimal fractions. I.e. amount=50.00 or amount=50 is treated as 50 BTC, and amount=50,000.00 is invalid.

I wasn't sure if this was on purpose (I notice the implementation replaces the comma with a dot), maybe to be compatible with Samourai (as the name of the test would imply). Just figured I'd point it out.

Cheers!

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.