Giter Site home page Giter Site logo

scriptsig-not-pushonly (code 64) about coinbin HOT 2 OPEN

jsim77 avatar jsim77 commented on June 6, 2024
scriptsig-not-pushonly (code 64)

from coinbin.

Comments (2)

junderw avatar junderw commented on June 6, 2024

Your first input's scriptSig is just a raw public key without a push byte, so it is reading the 0x03 at the beginning of the public key as "push 3 bytes", which pushes 0x30e40a to the stack, then it tries reading the next byte as an op code which is 0xc3 which is an invalid op code.

Since scriptSig must only contain push data directives, this causes the error.

That said, an input pointing to a transaction id of all 0s is invalid, since such a transaction does not exist.

In order to send bitcoin you must first RECEIVE bitcoin. The transaction ID you use in your transaction is the ID of the transaction where you RECEIVED bitcoin. You then add an output to send however many bitcoin you want to wherever you're sending it... then you add another output back to yourself (this is known as change).

I highly recommend against using Coinbin with real money if you do not know these very basic things about bitcoin (and related coins)

Please play around with some testnet coins first until you understand how coinbin works. If you lose a bunch of testnet coins at least they're not worth anything.

from coinbin.

jsim77 avatar jsim77 commented on June 6, 2024

Overall, I understand what you meant. Thanks ya

from coinbin.

Related Issues (20)

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.