GithubHelp home page GithubHelp logo

Comments (11)

h4ck3rm1k3 avatar h4ck3rm1k3 commented on July 27, 2024 1

the api is there is in the unreleased version I am using.
input-output-hk/cardano-sl@58bd3ca#diff-1cd0b0acca347cce42b9aea9b5122eed

See https://github.com/input-output-hk/cardano-sl/blob/429efc2426c63802ae86789f5b828dcbb42de88a/wallet-new/README.md

Currently the only way to generate an updated swagger.json is to run the wallet-new-server node, so that the updated Swagger file will be written on disk. For example:

stack exec wallet-new-server -- --topology=wallet-new/topology-examples/testnet.yaml \
  --configuration-key mainnet_staging_short_epoch_full --wallet-debug --rebuild-db

from daedalus.

darko-mijic avatar darko-mijic commented on July 27, 2024

@h4ck3rm1k3, can you provide us with commit hashes for cardano-sl and daedalus repos you are using?

from daedalus.

h4ck3rm1k3 avatar h4ck3rm1k3 commented on July 27, 2024

I did in an email
#608 (comment)

from daedalus.

h4ck3rm1k3 avatar h4ck3rm1k3 commented on July 27, 2024

https://steemit.com/ada/@h4ck3rm1k3st33m/first-ada-recieved i got my first ada in my self compiled wallet and node

from daedalus.

h4ck3rm1k3 avatar h4ck3rm1k3 commented on July 27, 2024

When the thing is working ๐Ÿ‘
https://localhost:8090/api/settings/time/difference
Returns
{"Right":0}

from daedalus.

h4ck3rm1k3 avatar h4ck3rm1k3 commented on July 27, 2024

I can confirm that the nix build is working on the front end
dupont@debian-build-speed:~/experiments/cardano-sl$ md5sum ./cardano-sl-1.0/bi
n/cardano-node
292c4f4b5710d56b455ee493423b0320 ./cardano-sl-1.0/bin/cardano-node

from daedalus.

p-alik avatar p-alik commented on July 27, 2024

I got the JSON-Exception on Ubuntu 16.04 also.

  • cardano-sl a96878e9c
  • daedalus ab6aab0

There is no /api/settings/time/difference in Cardano SL Wallet Web API

from daedalus.

p-alik avatar p-alik commented on July 27, 2024

Thank you, @h4ck3rm1k3.

master branch still doesn't contain wallet-new-server. After rebuilding cardano-sl on develop branch daedalus doen't show any exceptions anymore.

from daedalus.

p-alik avatar p-alik commented on July 27, 2024

swagger editor shows ten errors by import of swagger.json

Errors

Semantic error at definitions.Wallet.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 229
Semantic error at definitions.Wallet.required.2
Read only properties cannot be marked as required by a schema.
Jump to line 231
Semantic error at paths./api/v1/wallets/{walletId}.get.responses.200.schema.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 1490
Semantic error at paths./api/v1/wallets/{walletId}.get.responses.200.schema.required.2
Read only properties cannot be marked as required by a schema.
Jump to line 1490
Semantic error at paths./api/v1/wallets/{walletId}.put.responses.200.schema.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 1528
Semantic error at paths./api/v1/wallets/{walletId}.put.responses.200.schema.required.2
Read only properties cannot be marked as required by a schema.
Jump to line 1528
Semantic error at paths./api/v1/wallets.post.responses.201.schema.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 2228
Semantic error at paths./api/v1/wallets.post.responses.201.schema.required.2
Read only properties cannot be marked as required by a schema.
Jump to line 2228
Semantic error at paths./api/v1/wallets/{walletId}/password.put.responses.200.schema.required.0
Read only properties cannot be marked as required by a schema.
Jump to line 2402
Semantic error at paths./api/v1/wallets/{walletId}/password.put.responses.200.schema.required.2
Read only properties cannot be marked as required by a schema.
Jump to line 2402

Is that a known issue?
cardano-sl issue 2268 is the only once refers erroneous of swagger.json

from daedalus.

h4ck3rm1k3 avatar h4ck3rm1k3 commented on July 27, 2024

from daedalus.

nikolaglumac avatar nikolaglumac commented on July 27, 2024

This issue is no longer reproducible in the latest Daedalus version.

from daedalus.

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.