Git Product home page Git Product logo

Comments (1)

miguelmota avatar miguelmota commented on May 31, 2024

The example code is working for me

$ go run example/sign.go
(*types.Transaction)(0xc00007a6c0)({
 inner: (*types.LegacyTx)(0xc00007a660)({
  Nonce: (uint64) 0,
  GasPrice: (*big.Int)(0xc0000c7ce0)(21000000000),
  Gas: (uint64) 21000,
  To: (*common.Address)(0xc0000e2240)((len=20 cap=20) 0x0000000000000000000000000000000000000000),
  Value: (*big.Int)(0xc0000c7cc0)(1000000000000000000),
  Data: ([]uint8) <nil>,
  V: (*big.Int)(0xc0000c7ca0)(27),
  R: (*big.Int)(0xc0000c7c60)(34405166580762396054881948095668280144114812929766777744840143175291345694076),
  S: (*big.Int)(0xc0000c7c80)(35876182893985365337785111608140175101791577417143941897988905965773505549184)
 }),
 time: (time.Time) 2022-07-04 13:45:41.917536722 -0700 PDT m=+0.029605455,
 hash: (atomic.Value) {
  v: (interface {}) <nil>
 },
 size: (atomic.Value) {
  v: (interface {}) <nil>
 },
 from: (atomic.Value) {
  v: (types.sigCache) {
   signer: (types.HomesteadSigner) {
    FrontierSigner: (types.FrontierSigner) {
    }
   },
   from: (common.Address) (len=20 cap=20) 0xC49926C4124cEe1cbA0Ea94Ea31a6c12318df947
  }
 }
})

is there any additional code you're using that you can share?

from go-ethereum-hdwallet.

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.