在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ricmoo/meeseeks-app开源软件地址:https://github.com/ricmoo/meeseeks-app开源编程语言:HTML 79.5%开源软件介绍:Meeseeks AppNote: This is EXPERIMENTAL The Meeseeks App Bootstrap is a static file designed to safely verify and serve IPFS content fetched from an IPFS API gateway, while preserving CORS and other Cross-Origin Policy protections that modern browsers implement. Quick StartInstall Meeseeks CLI
Publishing via multihash
You can use meeseeks.app to see your new page. Linking with ENS
And visit fishbowl.meeseeks.app. The ProblemThe security provided from browsers is based (in large) by
placing all pages on a given domain name in the same bucket.
So, for example, when you visit google.com, all pages
served from google.com have access to the cookies,
Currently, many distributed Ethereum apps (dapps) and other
simple one-page web applications publish their content on IPFS
and link to How does Meeseeks workThe Meeseeks App Bootstrap is a simple 5kb static file, which can be served from a CDN. We provide an instance on *.meeseeks.app, which can be used to access IPFS directly by a base32 hash, or by an ENS name. For example: Name: https://pac-txt.meeseeks.app Base32 Hash: https://0xgbyeoujcyespi6jvo44vzlm44gocjvgjkh37ubpig2jwbegl233yw.meeseeks.app The Process:
AboutThis was an entry from the 2018 #cryptolife Status Hackathon in Prague, in which it won first for the Infrastructure Track. The version in this repository has been largely refactored and rewritten from the version submitted, bringing down the size from 1.9MB to 5kb over-the-wire. FAQWhy do you use base32 hashes for the multihash?! Why not base58? Why not hex? Something normal? Unforunately, the two obvious choices to be standard are technically impossible. A Base58 encoded string may contain both lower-case and upper-case characters, and domain names MUST be lower-case. On the other side of standard-encodings, the hex encoding would put a multihash in at 64 bytes, and SSL certificates have a hard-limit of 63 bytes per label. Of the available options, base32 seemed like the least non-standard we could use. That said, we prefix all base32 hashes with Can I just host the bootstrap myself? On my own domain? Absolutely! And you should feel free to do so. This will enable you to serve IPFS content from your own CDN on your own domain, safely, since all multihash contents are verified before being served. For now you will need to tweak the code a bit in the index.html, but we will provide better directions and make it easier in the non-distant future. But I have to trust your CDN? Yes, that's true. We highly recommend you host your own instnace on a domain you own for production. See the answer to the previous question. That said, if you currently use ipfs.io or ipfs.infura.io, you are trusting their gateway, since the cntent is not being verified by the browser. Sub-sub-domains? Unfortunately, also not supported by SSL. We will have a useful solution in the near future to make this easier to use for anyone that does not own a top-level ENS name. Future? We consider this a stop-gap. In the future, we would love to see LicenseMIT. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论