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

Split into unit and e2e tests #2

Merged
merged 2 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions out/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><link rel="preload" as="font" href="/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/d0a69a99c2ba0935.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/0ae83fa39e3fd19d.css" data-precedence="next"/><meta name="next-size-adjust"/><title>NOMO Demo Plugin</title><meta name="description" content="A showcase of NOMO plugin functionality"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="any"/><script src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js" noModule=""></script></head><body class="__className_a64ecd"><main class="page_main__ibFHK"><div class="page_description__s_Lqk"><p>NOMO Demo Plugin - Get started by editing src/app/page.tsx. Scroll down to explore features of NOMO-plugins!</p></div><div class="page_flex__es1Vt"><div style="height:10px"></div><img alt="NOMO Logo" fetchPriority="high" width="180" height="37" decoding="async" data-nimg="1" class="page_logo__M5piD" style="color:transparent" src="/nomo-logo-square.jpg"/><div style="height:10px"></div><div style="width:100%"><b>Platform info:</b> <!-- -->null</div><div style="height:10px"></div><div style="width:100%"><b>Wallet addresses:</b> <!-- -->null</div><div style="height:10px"></div><div style="width:100%"><b>Chat messenger address:</b> <!-- -->null<!-- -->..</div><div style="height:10px"></div><div style="width:100%"><b>NOMO theme:</b> <!-- -->null<!-- -->..</div><div style="height:10px"></div><div style="width:100%"><b>Device name:</b> <!-- -->null</div><div class="page_card__ftWzl"><h2>Sign EVM transaction with web3.js<span>-&gt;</span></h2><p>Send a transaction to the ZENIQ Smartchain, signed by the Nomo app with web3js-nomo-plugins.</p></div><div class="page_card__ftWzl"><h2>Sign EVM transaction with ethers.js<span>-&gt;</span></h2><p>Send a transaction to the ZENIQ Smartchain, signed by the Nomo app with ethersjs-nomo-plugins.</p></div><div class="page_card__ftWzl"><h2>Take picture <span>-&gt;</span></h2><p>Use the NOMO-app for getting a picture into the plugin.</p></div><div>Your camera image will be shown here</div><div class="page_card__ftWzl"><h2>Open gallery<span>-&gt;</span></h2><p>Upload documents or images from a NOMO-plugin.</p></div><div>Your gallery image will be shown here</div><div class="page_card__ftWzl"><h2>Open a chat <span>-&gt;</span></h2><p>Open a chat with a human or with a chat-bot, powered by the zeniq.chat service.</p></div><div class="page_card__ftWzl"><h2>Speech to text<span>-&gt;</span></h2><p>Say something to the NOMO-app and get the text into the plugin.</p></div><div class="page_card__ftWzl"><h2>NOMO-Auth<span>-&gt;</span></h2><p>NOMO-Auth is a protocol for seamless authentication of plugins, utilizing the NOMO-wallet.</p></div><div class="page_card__ftWzl"><h2>NOMO-ID<span>-&gt;</span></h2><p>Log in instantly with NOMO-ID. With NOMO-plugins, there is no need to scan a QRCode.</p></div><div class="page_card__ftWzl"><h2>Send assets<span>-&gt;</span></h2><p>With consent from the user, plugins can send assets from the NOMO-wallet.</p></div><div class="page_card__ftWzl"><h2>Sign EVM message<span>-&gt;</span></h2><p>With consent from the user, plugins can sign messages to prove that the user controls a specific wallet.</p></div><div class="page_card__ftWzl"><h2>Add custom token<span>-&gt;</span></h2><p>Plugins can expand the list of tokens</p></div><div class="page_card__ftWzl"><h2>Unittest transaction signing <span>-&gt;</span></h2><p>Unittest for signing a transaction with the Nomo app.</p></div></div></main><script src="/_next/static/chunks/webpack-d9a1fd122aa2cc03.js" async=""></script><script src="/_next/static/chunks/2443530c-0a6f94e70d430d82.js" async=""></script><script src="/_next/static/chunks/139-17ed572570f5a2bf.js" async=""></script><script src="/_next/static/chunks/main-app-1a57ea009a1e68dc.js" async=""></script></body></html><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2\",{\"as\":\"font\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/d0a69a99c2ba0935.css\",{\"as\":\"style\"}]\n0:\"$L3\"\n"])</script><script>self.__next_f.push([1,"4:HL[\"/_next/static/css/0ae83fa39e3fd19d.css\",{\"as\":\"style\"}]\n"])</script><script>self.__next_f.push([1,"5:I{\"id\":\"7858\",\"chunks\":[\"272:static/chunks/webpack-d9a1fd122aa2cc03.js\",\"667:static/chunks/2443530c-0a6f94e70d430d82.js\",\"139:static/chunks/139-17ed572570f5a2bf.js\"],\"name\":\"\",\"async\":false}\n7:I{\"id\":\"3055\",\"chunks\":[\"272:static/chunks/webpack-d9a1fd122aa2cc03.js\",\"667:static/chunks/2443530c-0a6f94e70d430d82.js\",\"139:static/chunks/139-17ed572570f5a2bf.js\"],\"name\":\"\",\"async\":false}\n8:I{\"id\":\"9544\",\"chunks\":[\"272:static/chunks/webpack-d9a1fd122aa2cc03.js\",\"667:static/chunks/2443530c-0a6f94e70d430d82.js\",\"13"])</script><script>self.__next_f.push([1,"9:static/chunks/139-17ed572570f5a2bf.js\"],\"name\":\"\",\"async\":false}\n9:I{\"id\":\"99\",\"chunks\":[\"272:static/chunks/webpack-d9a1fd122aa2cc03.js\",\"667:static/chunks/2443530c-0a6f94e70d430d82.js\",\"139:static/chunks/139-17ed572570f5a2bf.js\"],\"name\":\"\",\"async\":false}\na:I{\"id\":\"9457\",\"chunks\":[\"272:static/chunks/webpack-d9a1fd122aa2cc03.js\",\"667:static/chunks/2443530c-0a6f94e70d430d82.js\",\"139:static/chunks/139-17ed572570f5a2bf.js\"],\"name\":\"\",\"async\":false}\nb:I{\"id\":\"1460\",\"chunks\":[\"722:static/chunks/722-9e0a1b774e20"])</script><script>self.__next_f.push([1,"76c0.js\",\"931:static/chunks/app/page-84f0a425fcdcf910.js\"],\"name\":\"\",\"async\":false}\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/d0a69a99c2ba0935.css\",\"precedence\":\"next\"}]],[\"$\",\"$L5\",null,{\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/\",\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialHead\":[\"$L6\",[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\"}]],\"globalErrorComponent\":\"$7\",\"notFound\":[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_a64ecd\",\"children\":[\"$undefined\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]]]}]}],\"asNotFound\":false,\"children\":[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_a64ecd\",\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"hasLoading\":false,\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"asNotFound\":false,\"childProp\":{\"current\":[[\"$\",\"$La\",null,{\"propsForComponent\":{\"params\":{}},\"Component\":\"$b\"}],null],\"segment\":\"__PAGE__\"},\"styles\":[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0ae83fa39e3fd19d.css\",\"precedence\":\"next\"}]]}]}]}],null]}]]\n"])</script><script>self.__next_f.push([1,"6:[[[\"$\",\"meta\",null,{\"charSet\":\"utf-8\"}],[\"$\",\"title\",null,{\"children\":\"NOMO Demo Plugin\"}],[\"$\",\"meta\",null,{\"name\":\"description\",\"content\":\"A showcase of NOMO plugin functionality\"}],null,null,null,null,null,null,null,null,[\"$\",\"meta\",null,{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],null,null,null,null,null,null,null,null,null,null,[]],[null,null,null,null],null,null,[null,null,null,null,null],null,null,null,null,[null,[[\"$\",\"link\",null,{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"any\"}]],[],null]]\n"])</script>
Binary file added out/nomo.tar.gz
Binary file not shown.
Binary file added out/nomo_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions out/nomo_manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"nomo_manifest_version": "1.1.0",
"webon_id": "demo.nomo.app",
"webon_name": "DEMO APP",
"webon_version": "0.1.0",
"min_nomo_version": "0.3.1",
"permissions": []
}
Loading