Code Monkey home page Code Monkey logo

dispatch-js's People

Contributors

brianosaurus avatar zanewithspoon avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

nikolaj-k

dispatch-js's Issues

example code seems to throw transaction status error

I replaced the "local" seednode ip with testnet as per instructions in api.dispatchlabs.io: 35.197.127.151:1975

$ npm run examples

@dispatchlabs/[email protected] examples /home/khan/Projects/dispatch-js
node ./examples/node/

--- ACCOUNT EXAMPLES ---

Temp account:
{"address":"778b3d5df78fe3fe16506d264fb909047c7e5830","privateKey":"31c914c223ce2baeb121877792d0df85279e94bd9a9c824b1a4beb9f4742695e","publicKey":"049849097e8b48c0aa1e8bfcb39b6df8fca9958f3a8260ede10558748037c51ea076b3c2638604bd78dd3f75a56cd65b00746cf8302975dd39c56e62b0478dfe05","balance":"0","availableHertz":"0"}

New "sendTokens" transaction:
{"hash":"32c58c6de1e3048744c89c9e1ae57f1651fca0f5a4eead36f8e8ecbf43a0bea0","type":0,"from":"6b728eb24434d31a3e7153f64da0a039bff307e4","to":"778b3d5df78fe3fe16506d264fb909047c7e5830","value":"5","code":"","abi":"[]","method":"","params":"[]","time":1546994675495,"signature":"5820f92e43a2d09bfc32a0ae73cb3010f9b749d40533a349eb842b65a52f99153a1988d374aae1bce9ac5438306e1f5cd51266886ac5a0e431e59cf813dac19e01","hertz":"0","fromName":"NodeSDKTest"}

Transaction status error:
{"hash":"32c58c6de1e3048744c89c9e1ae57f1651fca0f5a4eead36f8e8ecbf43a0bea0","type":0,"from":"6b728eb24434d31a3e7153f64da0a039bff307e4","to":"778b3d5df78fe3fe16506d264fb909047c7e5830","value":"5","abi":"[]","params":"[]","time":1546994675495,"signature":"5820f92e43a2d09bfc32a0ae73cb3010f9b749d40533a349eb842b65a52f99153a1988d374aae1bce9ac5438306e1f5cd51266886ac5a0e431e59cf813dac19e01","hertz":"0","receipt":{"transactionHash":"32c58c6de1e3048744c89c9e1ae57f1651fca0f5a4eead36f8e8ecbf43a0bea0","status":"InsufficientHertz","created":"2019-01-09T00:44:43.781461643Z"}}

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.