diff --git a/README.md b/README.md index cb3781b..cf4e978 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # Tezos tutorial applications -This repository contains completed applications from the tutorials on https://docs.tezos.com/tutorials/. +This repository contains completed applications from the tutorials on https://docs.tezos.com/tutorials/ and https://docs.etherlink.com. diff --git a/etherlink-marketpulse/LICENSE.md b/etherlink-marketpulse/LICENSE.md deleted file mode 100644 index 8e6bbaa..0000000 --- a/etherlink-marketpulse/LICENSE.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2025 NOMADIC-LABS - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/etherlink-marketpulse/README.md b/etherlink-marketpulse/README.md deleted file mode 100644 index 680c865..0000000 --- a/etherlink-marketpulse/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Marketpulse tutorial application - -This guide is an Etherlink tutorial to create a real application from scratch for a betting platform. -It allows users to bet cryptocurrency on the outcome of Super Bowl Championship as a way of demonstrating how to deploy and run dApps on the Etherlink platform. - -For complete instructions, see its [Introduction](https://docs.etherlink.com/tutorials/marketpulse) on docs.etherlink.com. diff --git a/etherlink-marketpulse/app/.gitignore b/etherlink-marketpulse/app/.gitignore deleted file mode 100644 index fc5ae9f..0000000 --- a/etherlink-marketpulse/app/.gitignore +++ /dev/null @@ -1,25 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* - -node_modules -dist -dist-ssr -*.local - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -.DS_Store -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? -.vercel diff --git a/etherlink-marketpulse/app/README.md b/etherlink-marketpulse/app/README.md deleted file mode 100644 index 74872fd..0000000 --- a/etherlink-marketpulse/app/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# React + TypeScript + Vite - -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. - -Currently, two official plugins are available: - -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh - -## Expanding the ESLint configuration - -If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: - -- Configure the top-level `parserOptions` property like this: - -```js -export default tseslint.config({ - languageOptions: { - // other options... - parserOptions: { - project: ['./tsconfig.node.json', './tsconfig.app.json'], - tsconfigRootDir: import.meta.dirname, - }, - }, -}) -``` - -- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked` -- Optionally add `...tseslint.configs.stylisticTypeChecked` -- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config: - -```js -// eslint.config.js -import react from 'eslint-plugin-react' - -export default tseslint.config({ - // Set the react version - settings: { react: { version: '18.3' } }, - plugins: { - // Add the react plugin - react, - }, - rules: { - // other rules... - // Enable its recommended rules - ...react.configs.recommended.rules, - ...react.configs['jsx-runtime'].rules, - }, -}) -``` diff --git a/etherlink-marketpulse/app/eslint.config.js b/etherlink-marketpulse/app/eslint.config.js deleted file mode 100644 index 5e6b472..0000000 --- a/etherlink-marketpulse/app/eslint.config.js +++ /dev/null @@ -1,23 +0,0 @@ -import js from '@eslint/js' -import globals from 'globals' -import reactHooks from 'eslint-plugin-react-hooks' -import reactRefresh from 'eslint-plugin-react-refresh' -import tseslint from 'typescript-eslint' -import { defineConfig, globalIgnores } from 'eslint/config' - -export default defineConfig([ - globalIgnores(['dist']), - { - files: ['**/*.{ts,tsx}'], - extends: [ - js.configs.recommended, - tseslint.configs.recommended, - reactHooks.configs.flat.recommended, - reactRefresh.configs.vite, - ], - languageOptions: { - ecmaVersion: 2020, - globals: globals.browser, - }, - }, -]) diff --git a/etherlink-marketpulse/app/index.html b/etherlink-marketpulse/app/index.html deleted file mode 100644 index e4b78ea..0000000 --- a/etherlink-marketpulse/app/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - -
- - - -