Coder Social home page Coder Social logo

znn.ts's People

Contributors

av-vonsbak avatar dexter703 avatar ulucthulhu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

znn.ts's Issues

Fetch failed - unknown scheme while running generatePow

Hey,

Im running into this error while sending a transaction.

TypeError [Error]: fetch failed
at node:internal/deps/undici/undici:12443:11 {
cause: Error: unknown scheme

This occurs into the generatePow, at this line
worker = new Worker("./generatedPowWorker.cjs");

Any idea whats happening here? I'm out of ideas

Any help would be appreciated, thanks

Use a JSONRPC2 client library

At the moment, the client is missing some features. I understand that this is how it's done in the Dart SDK, but that does not necessary mean it's good in JS.

I'm unsure if we need the status/restart/stop functionality.

Also, feel free to use my code. It supports both http & ws, as well as notifications & callbacks for the subscribe endpoint.

npm install

Instead of using this

npm i znn-ts-sdk

One can simply use this instead

npm install github:dexter703/znn-ts-sdk

I've made a repo to try to implement the CLI using the TypeScript library. Link here

Zenon Singleton missing fields

The zenon singleton object should contain the

  • currentKeyPair (used in send operations)
  • one instance of KeyStoreManager (used to interact w/ the wallet folder directly)
  • setKeyPair() - to set the currentKeyPair

PoW failing in ts-node environment

$ ts-node bin/cli.ts 
/Users/alien-valley/cli.ts/node_modules/znn-ts-sdk/dist/lib/src/pow/pow.js:12
window.URL = window.URL || window.webkitURL;
^
ReferenceError: window is not defined

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.