Skip to content

Using skynet on a gun relay peer #4

@davay42

Description

@davay42

Hi! I see you updating the code recently. It's very interesting to try zenbase again (i've experimented with it about a year ago and it was too slow to use zenbase without a relay)

Today I've tried to use zenbase on a node gun relay server. I think it's a nice way to have a no-store free tier exchangeable relays that store and retrieve data from skynet.

Here's my server init script https://github.com/DeFUCC/gun-vue/blob/master/relay/server.js - it's a one-liner gun relay for my https://github.com/defucc/gun-vue project.

It loads and seems to work fine. But after the server restarts it doesn't get previously saved data back. So no permanent storage is achieved. May be I'm doing something wrong?

Can you please help me find the right way to use zenbase with node (v.16, so ES module syntax is OK there).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions