Skip to content

Commit 4b1c481

Browse files
committed
Deploy website - based on b41b9b8d920dbb52ee17fbcb6402464f88712e0f
1 parent 1f8a13e commit 4b1c481

97 files changed

Lines changed: 194 additions & 194 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<meta name="viewport" content="width=device-width,initial-scale=1">
66
<meta name="generator" content="Docusaurus v2.0.0-beta.15">
77
<title data-react-helmet="true">Page Not Found | Fula Network</title><meta data-react-helmet="true" property="og:title" content="Page Not Found | Fula Network"><meta data-react-helmet="true" name="twitter:card" content="summary_large_image"><meta data-react-helmet="true" property="og:url" content="https://functionland.github.io/404.html"><meta data-react-helmet="true" name="docusaurus_locale" content="en"><meta data-react-helmet="true" name="docusaurus_tag" content="default"><link data-react-helmet="true" rel="icon" href="/img/favicon.webp"><link data-react-helmet="true" rel="canonical" href="https://functionland.github.io/404.html"><link data-react-helmet="true" rel="alternate" href="https://functionland.github.io/404.html" hreflang="en"><link data-react-helmet="true" rel="alternate" href="https://functionland.github.io/404.html" hreflang="x-default"><link rel="stylesheet" href="/assets/css/styles.550d40eb.css">
8-
<link rel="preload" href="/assets/js/runtime~main.8cca506e.js" as="script">
8+
<link rel="preload" href="/assets/js/runtime~main.25f17c7f.js" as="script">
99
<link rel="preload" href="/assets/js/main.f9a67ef5.js" as="script">
1010
</head>
1111
<body>
1212
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}(),document.documentElement.setAttribute("data-announcement-bar-initially-dismissed",function(){try{return"true"===localStorage.getItem("docusaurus.announcement.dismiss")}catch(t){}return!1}())</script><div id="__docusaurus">
1313
<div role="region"><a href="#" class="skipToContent_ZgBM">Skip to main content</a></div><div class="announcementBar_IbjG" role="banner"><div class="announcementBarPlaceholder_NC_W"></div><div class="announcementBarContent_KsVm">FxBlox is now set up from your browser. <a target="_blank" rel="noopener" href="https://docs.fx.land/fxblox-web/">Open the web app</a> — the Android and iOS apps are being discontinued.</div><button type="button" class="clean-btn close announcementBarClose_FG1z" aria-label="Close"><svg viewBox="0 0 15 15" width="14" height="14"><g stroke="currentColor" stroke-width="3.1"><path d="M.75.75l13.5 13.5M14.25.75L.75 14.25"></path></g></svg></button></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Navigation bar toggle" class="navbar__toggle clean-btn" type="button" tabindex="0"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="/img/logo.webp" alt="Fula Network logo" class="themedImage_W2Cr themedImage--light_TfLj"><img src="/img/logo.webp" alt="Fula Network logo" class="themedImage_W2Cr themedImage--dark_oUvU"></div><b class="navbar__title">Fula Network</b></a></div><div class="navbar__items navbar__items--right"><a href="https://docs.fx.land/fxblox-web/" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link"><span>Web App<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I5OW"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a><a href="https://github.com/functionland" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link"><span>GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_I5OW"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></span></a><div class="toggle_Pssr toggle_TdHA toggleDisabled_jDku"><div class="toggleTrack_SSoT" role="button" tabindex="-1"><div class="toggleTrackCheck_XobZ"><span class="toggleIcon_eZtF">🌜</span></div><div class="toggleTrackX_YkSC"><span class="toggleIcon_eZtF">🌞</span></div><div class="toggleTrackThumb_uRm4"></div></div><input type="checkbox" class="toggleScreenReader_JnkT" aria-label="Switch between dark and light mode"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div class="main-wrapper"><main class="container margin-vert--xl"><div class="row"><div class="col col--6 col--offset-3"><h1 class="hero__title">Page Not Found</h1><p>We could not find what you were looking for.</p><p>Please contact the owner of the site that linked you to the original URL and let them know their link is broken.</p></div></div></main></div></div>
14-
<script src="/assets/js/runtime~main.8cca506e.js"></script>
14+
<script src="/assets/js/runtime~main.25f17c7f.js"></script>
1515
<script src="/assets/js/main.f9a67ef5.js"></script>
1616
</body>
1717
</html>

RFCs/document-syncing.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

RFCs/fula-sec.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

RFCs/fula-sec/did.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

RFCs/fula-sec/encryption.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

RFCs/personal-data-reserve.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

RFCs/private-network.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="viewport" content="width=device-width,initial-scale=1">
66
<meta name="generator" content="Docusaurus v2.0.0-beta.15">
77
<title data-react-helmet="true">Private Network | Fula Network</title><meta data-react-helmet="true" name="twitter:card" content="summary_large_image"><meta data-react-helmet="true" property="og:url" content="https://functionland.github.io/RFCs/private-network"><meta data-react-helmet="true" name="docusaurus_locale" content="en"><meta data-react-helmet="true" name="docusaurus_version" content="current"><meta data-react-helmet="true" name="docusaurus_tag" content="docs-default-current"><meta data-react-helmet="true" property="og:title" content="Private Network | Fula Network"><meta data-react-helmet="true" name="description" content="- Start Date: 2022-02-01"><meta data-react-helmet="true" property="og:description" content="- Start Date: 2022-02-01"><link data-react-helmet="true" rel="icon" href="/img/favicon.webp"><link data-react-helmet="true" rel="canonical" href="https://functionland.github.io/RFCs/private-network"><link data-react-helmet="true" rel="alternate" href="https://functionland.github.io/RFCs/private-network" hreflang="en"><link data-react-helmet="true" rel="alternate" href="https://functionland.github.io/RFCs/private-network" hreflang="x-default"><link rel="stylesheet" href="/assets/css/styles.550d40eb.css">
8-
<link rel="preload" href="/assets/js/runtime~main.8cca506e.js" as="script">
8+
<link rel="preload" href="/assets/js/runtime~main.25f17c7f.js" as="script">
99
<link rel="preload" href="/assets/js/main.f9a67ef5.js" as="script">
1010
</head>
1111
<body>
@@ -18,7 +18,7 @@
1818
In the <a href="https://github.com/functionland/fula/blob/main/apps/box/src/config.ts" target="_blank" rel="noopener noreferrer">Config</a> we should add to support to load <code>config.json</code> in this format:</p><div class="codeBlockContainer_I0IT language-json theme-code-block"><div class="codeBlockContent_wNvx json"><pre tabindex="0" class="prism-code language-json codeBlock_jd64 thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_mRuA"><span class="token-line" style="color:#393A34"><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"> </span><span class="token property" style="color:#36acaa">&quot;nodes&quot;</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"> </span><span class="token string" style="color:#e3116c">&quot;/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ&quot;</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"> </span><span class="token string" style="color:#e3116c">&quot;/dnsaddr/bootstrap.libp2p.io/ipfs/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN&quot;</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"> </span><span class="token string" style="color:#e3116c">&quot;/dnsaddr/bootstrap.libp2p.io/ipfs/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa&quot;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre><button type="button" aria-label="Copy code to clipboard" class="copyButton_wuS7 clean-btn">Copy</button></div></div><p>Which will be used for creating <code>js-libp2p-bootstrap</code> <a href="https://github.com/libp2p/js-libp2p-bootstrap" target="_blank" rel="noopener noreferrer">config</a>.</p><h3 class="anchor anchorWithStickyNavbar_mojV" id="fula-client-1">FULA-client<a class="hash-link" href="#fula-client-1" title="Direct link to heading"></a></h3><p>In <a href="https://github.com/functionland/fula/blob/main/libraries/fula-client/src/index.ts" target="_blank" rel="noopener noreferrer">fula-client</a> We have to change pkey to fulaSecret so:</p><div class="codeBlockContainer_I0IT language-ts theme-code-block"><div class="codeBlockContent_wNvx ts"><pre tabindex="0" class="prism-code language-ts codeBlock_jd64 thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_mRuA"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">createClient</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">config</span><span class="token operator" style="color:#393A34">?</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token maybe-class-name">Partial</span><span class="token operator" style="color:#393A34">&lt;</span><span class="token maybe-class-name">Libp2pOptions</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&amp;</span><span class="token plain"> constructorOptions</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> pKey </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token keyword nil" style="color:#00009f">undefined</span><span class="token punctuation" style="color:#393A34">)</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token known-class-name class-name">Promise</span><span class="token operator" style="color:#393A34">&lt;</span><span class="token maybe-class-name">Fula</span><span class="token operator" style="color:#393A34">&gt;</span><br></span></code></pre><button type="button" aria-label="Copy code to clipboard" class="copyButton_wuS7 clean-btn">Copy</button></div></div><p>to</p><div class="codeBlockContainer_I0IT language-ts theme-code-block"><div class="codeBlockContent_wNvx ts"><pre tabindex="0" class="prism-code language-ts codeBlock_jd64 thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_mRuA"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">createClient</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">config</span><span class="token operator" style="color:#393A34">?</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token maybe-class-name">Partial</span><span class="token operator" style="color:#393A34">&lt;</span><span class="token maybe-class-name">Libp2pOptions</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&amp;</span><span class="token plain"> constructorOptions</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> fulaSecret </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token keyword nil" style="color:#00009f">undefined</span><span class="token punctuation" style="color:#393A34">)</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token known-class-name class-name">Promise</span><span class="token operator" style="color:#393A34">&lt;</span><span class="token maybe-class-name">Fula</span><span class="token operator" style="color:#393A34">&gt;</span><br></span></code></pre><button type="button" aria-label="Copy code to clipboard" class="copyButton_wuS7 clean-btn">Copy</button></div></div><p>and change connect interface to get a list of peerId`s from:</p><div class="codeBlockContainer_I0IT theme-code-block"><div class="codeBlockContent_wNvx"><pre tabindex="0" class="prism-code language-text codeBlock_jd64 thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_mRuA"><span class="token-line" style="color:#393A34"><span class="token plain">connect: (peerId: string) =&gt; Connection</span><br></span></code></pre><button type="button" aria-label="Copy code to clipboard" class="copyButton_wuS7 clean-btn">Copy</button></div></div><p>to</p><div class="codeBlockContainer_I0IT theme-code-block"><div class="codeBlockContent_wNvx"><pre tabindex="0" class="prism-code language-text codeBlock_jd64 thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_mRuA"><span class="token-line" style="color:#393A34"><span class="token plain"> connect: (peerId: [string]) =&gt; Connection</span><br></span></code></pre><button type="button" aria-label="Copy code to clipboard" class="copyButton_wuS7 clean-btn">Copy</button></div></div><p>We need to change <a href="https://github.com/functionland/fula/blob/main/libraries/fula-client/src/connection.ts" target="_blank" rel="noopener noreferrer"><code>Connection</code></a> in the way that:</p><ul><li>Connection <code>Status</code><ul><li>If we connect to at least one box we are <code>Online</code>.</li><li>When we are not connected to any box and try to connect we are at <code>Connecting</code>.</li><li>When connection fails to all the serverPeerIds we Are <code>Offline</code>.</li></ul></li><li>Connection should have a list of <code>serverPeerId</code>.</li><li>Connect to all the <code>serverPeerId</code> and keep the connection alive.</li></ul><h2 class="anchor anchorWithStickyNavbar_mojV" id="case-study">Case Study<a class="hash-link" href="#case-study" title="Direct link to heading"></a></h2><p>For dogfooding of new changes we can use a copy of <a href="https://github.com/functionland/fula/tree/main/examples/react-gallery" target="_blank" rel="noopener noreferrer">react-gallery</a> and change
1919
the <a href="https://github.com/functionland/fula/blob/main/examples/react-gallery/src/components/BoxConfig.jsx" target="_blank" rel="noopener noreferrer"><code>BoxConfig</code></a>
2020
to get list of comma seperated peerIds and <a href="https://github.com/functionland/fula/blob/main/examples/react-gallery/src/App.js" target="_blank" rel="noopener noreferrer"><code>App</code></a> should change to pass the list of peerId&#x27;s to fula-client.</p><p>Note: if example repo would be outside mono-repo we can just use branch for describing every functionality.</p><h2 class="anchor anchorWithStickyNavbar_mojV" id="alternative-approaches">Alternative approaches<a class="hash-link" href="#alternative-approaches" title="Direct link to heading"></a></h2><h3 class="anchor anchorWithStickyNavbar_mojV" id="vpn">VPN<a class="hash-link" href="#vpn" title="Direct link to heading"></a></h3><p>Using VPN for creating the private network.</p><p>Disadvantage:</p><ul><li>It adds another point of failure to the system.</li><li>It is also not that decentralized.</li></ul></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"><div class="pagination-nav__item"><a class="pagination-nav__link" href="/RFCs/fula-sec/encryption"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Two-way Encryption Mechanism</div></a></div><div class="pagination-nav__item pagination-nav__item--next"><a class="pagination-nav__link" href="/RFCs/document-syncing"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Document Syncing</div></a></div></nav></div></div><div class="col col--3"><div class="tableOfContents_cNA8 thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#background" class="table-of-contents__link toc-highlight">Background</a><ul><li><a href="#current-network" class="table-of-contents__link toc-highlight">Current Network</a></li></ul></li><li><a href="#problem-statement" class="table-of-contents__link toc-highlight">Problem Statement</a></li><li><a href="#motivation" class="table-of-contents__link toc-highlight">Motivation</a></li><li><a href="#proposal" class="table-of-contents__link toc-highlight">Proposal</a></li><li><a href="#scope-of-work" class="table-of-contents__link toc-highlight">Scope of work</a><ul><li><a href="#box" class="table-of-contents__link toc-highlight">Box</a></li><li><a href="#fula-client" class="table-of-contents__link toc-highlight">FULA-Client</a></li></ul></li><li><a href="#implementation" class="table-of-contents__link toc-highlight">Implementation</a><ul><li><a href="#box-1" class="table-of-contents__link toc-highlight">Box</a></li><li><a href="#fula-client-1" class="table-of-contents__link toc-highlight">FULA-client</a></li></ul></li><li><a href="#case-study" class="table-of-contents__link toc-highlight">Case Study</a></li><li><a href="#alternative-approaches" class="table-of-contents__link toc-highlight">Alternative approaches</a><ul><li><a href="#vpn" class="table-of-contents__link toc-highlight">VPN</a></li></ul></li></ul></div></div></div></div></main></div></div></div>
21-
<script src="/assets/js/runtime~main.8cca506e.js"></script>
21+
<script src="/assets/js/runtime~main.25f17c7f.js"></script>
2222
<script src="/assets/js/main.f9a67ef5.js"></script>
2323
</body>
2424
</html>

0 commit comments

Comments
 (0)