• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

proofofbeauty/gateway: IPFS gateway for the POB project

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

proofofbeauty/gateway

开源软件地址:

https://github.com/proofofbeauty/gateway

开源编程语言:

TypeScript 92.5%

开源软件介绍:


The open-source IPFS gateway of the POB project. Designed to minimally rely on external services. View your artworks forever.

Philosophy

POB artworks are not stored in a decentralized network, however, the means to create a POB artwork is. The generative algorithmn is stored on-chain and open-sourced and all the metadata to create a POB artwork is stored on the blockchain in the transaction metadata.

In a roundabout way, your artworks are decentralized.

Useful links

Current IPFS hash and gateway:

CIDv0: QmcLhLEWSdiHNPSq6tRzCaB3dUYN7FJSc6Eox5KbZ3LZCF

CIDV1: bafybeigqa2kstuhkvfzonokpxwh65f2bmhkyxux2lqhzbagdv3um7dmbuq

Due to the routing architecture of next.js, the base path needs to be the root.

Gateway:

https://bafybeigqa2kstuhkvfzonokpxwh65f2bmhkyxux2lqhzbagdv3um7dmbuq.ipfs.dweb.link/

Generative algorithm for GENESIS stored in this txn:

0xcacf896783cb7eced115d5ac9237bc8b1e79c211f755f6c6f150e00a9b1c68ac

Generative algorithm for SAGA stored in this txn:

0x238aa5d0f48a45e162c74f814c4116eb77c1957980e54946ec0deca40e5268f7

The main POB experience:

hash.pob.studio

Packages

The POB gateway repo is structured as a monorepo containing many packages that reach all aspects of the POB ecosystem.

Package Description
app Core next.js webapp of the IPFS gateway, deploy on a server or on IPFS as a statically build.
protocol Core protocol of POB, contains the ERC1155 token, minter contracts, and other future things.
sketches Core generative algorithmns and means to generate them from a transaction hash. Current contains the $HASH algorithm

Running the IPFS gateway locally

In the root of the directory:

$ yarn install

Change directory to app.

$ cd /app

Run

$ yarn dev

Walla! visit localhost:3000 to see your build running locally!

Contributing + Usage

Node version 10.x is required.

In the root of the directory:

$ yarn install

Each respective package have their own .env requirements

app

NEXT_PUBLIC_CHAIN_ID="OPTIONAL"
NEXT_PUBLIC_FORTMATIC_KEY="OPTIONAL"
NEXT_PUBLIC_RPC_URL="OPTIONAL"
NEXT_PUBLIC_POB_PROD_LINK="OPTIONAL"

sketches

NETWORK_RPC_URL="OPTIONAL"
PRIVATE_KEY="OPTIONAL"

The private key and rpc is used if you want to deploy the algorithmn to the Ethereum blockchain.

protocol

RINKEBY_NETWORK_RPC_URL="OPTIONAL"
RINKEBY_MNEMONIC="OPTIONAL"
MAINNET_NETWORK_RPC_URL="OPTIONAL"
MAINNET_PRIVATE_KEY="OPTIONAL"

Provide either networks corresponding url and key.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
TheoremOne/thicket: Thicket is a decentralized Vine clone built using IPFS发布时间:2022-06-22
下一篇:
textileio/android-ipfs-lite发布时间:2022-06-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap