[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Demo does not work (missing imports, dht-relay version not fixed) #28

Closed
rolznz opened this issue Feb 13, 2022 · 6 comments
Closed

Demo does not work (missing imports, dht-relay version not fixed) #28

rolznz opened this issue Feb 13, 2022 · 6 comments

Comments

@rolznz
Copy link
rolznz commented Feb 13, 2022

I get the following error when I start the wallet:
TypeError: Cannot read properties of undefined (reading 'fromTransport')

Looking at dht-relay, their API has changed.

In packages/auth/package.json, it seems the following import is needed:
"@synonymdev/slashtags-core": "^0.1.1",

In packages/rpc/package.json, I updated to use this specific version of dht-relay:
"@hyperswarm/dht-relay": "github:hyperswarm/dht-relay#v0.0.0",
and also added ws:
"ws": "^8.5.0"

After making the changes I still couldn't run the demo. It looks like the demo is pulling the synonymdev dependencies from npm rather than the locally built packages. Is this right?

https://slashtags.netlify.app/ and https://slashtags-wallet.netlify.app/ are working fine.

@Nuhvi
Copy link
Collaborator
Nuhvi commented Feb 20, 2022

Thanks, @rolznz, indeed the demo was created when the dht-relay had a different API, new breaking changes occurred, I will update the demos as soon as possible.

@vigasdeep
Copy link

facing same issue, any pointers guys?

@Nuhvi
Copy link
Collaborator
Nuhvi commented Mar 8, 2022

Hello @vigasdeep Fixing this issue would take quite some work only to allow the demo to work in localhost, which offers little value right now as we are focused on building more prototypes for other fundamental primitives for Slashtags.

If you still want to be inspired with more current prototypes, check SlashPay:

https://github.com/synonymdev/slashpay-istanbul-hackday
https://github.com/synonymdev/slash-pay-demo-server

@vigasdeep
Copy link

thank you @nazeh really appreciate the thorough reply.

I will look into the slashpay.

@vigasdeep
Copy link

@nazeh I did look into the SlashPay.

But, I am looking for for some implementation of SlashTags perhaps, is that functionality available somewhere that you know of? thanks again.

@BitcoinErrorLog
Copy link
Contributor

In a few months we will also have a mobile wallet implementation that goes deeper into supporting Slashtags features. It is still a bit early to be implementing it into apps, but if you have a specific use case and app you want to leverage Slashtags for, let us know and we can try to help as appropriate!

@Nuhvi Nuhvi mentioned this issue Mar 12, 2022
@rbndg rbndg closed this as completed in c63fbf4 Mar 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants