Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【开源自荐】DB3 Network #16

Open
xuman2019 opened this issue Jan 31, 2023 · 0 comments
Open

【开源自荐】DB3 Network #16

xuman2019 opened this issue Jan 31, 2023 · 0 comments

Comments

@xuman2019
Copy link

项目地址:https://github.com/dbpunk-labs/db3
类别:Rust
项目标题:web3领域里去中心化数据库
项目描述:这是一个web3领域的去中心化数据库,类似firestore的开源替代品,可以帮助前端开发者直接使用typescript快速搭建一个去中心化应用,而无需搭建一个复杂的后端。
亮点:去中心化数据库,让web2开发者快速学习切入web3领域,和区块链进行数据交互

示例代码:

|----------------------------|
| use db3js open a database  |
|----------------------------|
*/

// build sign function
const sign = await getSign()

// build database factory
const dbFactory = new DB3Factory({
    node: 'http://127.0.0.1:26659',
    sign,
    nonce
})

// open mydatabase
const db = dbFactory.open("mydatabase")`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant