Coder Social home page Coder Social logo

docs's People

Contributors

1gn0r4nd avatar ad96el avatar arty-name avatar chrischinchilla avatar csmarc avatar danielmagro97 avatar davidrhodus avatar drgorb avatar dudleyneedham avatar ggera avatar hussfelt avatar kiltbot avatar lukeg90 avatar majellah avatar majellak avatar momannn avatar niklasp avatar ntn-x2 avatar paulpomerleau avatar qwe2tz avatar rflechtner avatar tjwelde avatar trusch avatar usmangeek avatar weichweich avatar whgreate avatar wischli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Curl(56) error on 9933 when generating session keys

When generating session keys make sure --unsafe-rpc-external is in the docker command, otherwise it will throw a "curl: (56) Recv failure: Connection reset by peer" when operating inside the docker.

Super thanks to @weichweich for the patience in running this one down with me!

Chain setup for App development

It is not clear which chain to use, when wanting to do app development.
If we want users to start out with a local standalone chain, we should tell them that and provide instructions on how to use it.
If we want them to use peregrine, we should also point them to that chain and the faucet.

Issues with Quick Start

Having gone through the Quick Start, I've come across a few issues and wanted to use this to flag them and follow-up with a PR.

  • Instruct users to run npm init -y after making a new directory
  • Where it says "We will use the official Spiritnet address" return Kilt.connect('wss://spiritnet.kilt.io/') it should be const api = await Kilt.connect('wss://spiritnet.kilt.io/')
  • After testing a few things, the IPFS hosted web3name (john_doe) details is causing issues, it may be better to use another Gist hosted one instead
  • await Kilt.Did.resolve(johnDoeDid) should be uri instead of johnDoeDid
  • The last steps that decode the credential datastructure seems to have issues. But this could be related to the web3name being used. Here's what I had to get it working:
const {
        data: credential,
      } = await axios.get(endpoints[0].serviceEndpoint[0])

      const {rootHash} = credential
      
      const encodedAttestationInfo = await api.query.attestation.attestations(
        rootHash
      )
      
      // This function will throw if the attestation does not exist.
      const attestationInfo = await Kilt.Attestation.fromChain(
        encodedAttestationInfo,
        rootHash
      )

Not sure what changes to propose for the last point, the request hangs for a while. Is this normal?

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.