István Deák
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Tezos # Email > In this regard, may I ask you to work out a plan of what work needs to be done, within what time frame, taking into account the circumstances mentioned, so that the agreed milestones and the purpose of the grant can still be fulfilled? > I will gladly take this summary with me to discuss it with my team. Hi Nicolas, Thanks for coming back to us and as requested, here are the requirements: For completion by 31 October 2022 by Istvan and Matej: • 3 existing use cases require content written which is to be added to the website. • 4 additional use cases need to be developed and content written for the website as follows: 1) DeFi primitives: distribute incentives to staked token balances custodied in a smart contract. [for Devs + UI] 2) Smart contract architecture for upgradability and cross contract interaction. (insights and learnings from wXTZ running in production over 1 year) 3) Token interfaces, FA1.2., FA2 tzip - simple UI to check for active allowances. [beginner Devs & UI] 4) Tickets and all of the latest additions in jakarata (that is the validation layer): [advanced devs] In addition to the above, we have discussed within our expanded team some really great things we could provide to enhance the ecosystem - including new devs who are RUST, UI and testing specialists - who could focus on Optimistic Rollups for example, but that’s just a small part of what we have in mind. We’ve booked a meeting with you for Tuesday – because it’d at least be great to meet you properly! Have a great weekend Nicolas, and we look forward to chatting with you! ## Status-quo 9 use-cases needed Have submitted 4 use-cases, but built only content for notary. Need for 4 additional use cases. ## PoC idea bucket Concepts: * farming * time-lock * tickets * on-chain views with parameter * global constants * sapling * contract events * Verifiable Delay Functions VDF (randomness) Easy dApp (could be marketing): * check for all FA1.2 and FA2 token allowances Advanced for future project: * RUST/WASM for SCORUs - writing custom kernel for Tezos (transaction engine) * PoC could be for sending assets using the kernel * need to know about tickets * could be also its own exchange AMM in L2, which needs to be in WASM/RUST ### Use-case #1: Active allowance checker Users should learn about FA1.2, FA2, TZIP and interfaces. We build a website that enables to user to check for active FA1.2. and FA2 token allowances. ### Use-case #2: Farm launcher Launching your farm with a website. We provide code + content how the farm works. We build a farm launcher. Free of charge to use it. FA1.2 compatible ### Use-case #3: Ticket FA1.2 to ticket exchanger ## Concepts ### Tickets Simplest explanation of what it is: In ERC20/FA1.2 you do not hold the token, but the ledger in the smart contract does. Thus each token has a smart contract. With tickets this is different, because they are recognized on a protocol level and can be moved independently of a smart contract. [Marigold Ticket Intro](https://www.marigold.dev/post/tickets-for-dummies) new validations for tickets * [ticket accounting feature](https://hackmd.io/lutm_5JNRVW-nNFSFkCXLQ?view) (balance table) and the [PR](https://gitlab.com/tezos/tezos/-/merge_requests/3495) * [ticket scanner API](https://gitlab.com/tezos/tezos/-/merge_requests/3591) to scan for ticket value and type ### Timelock Block miners can "front-run" certain transactions. Real name is not front-running, but "Miner Extractable Value" (MEV in ETH community) or "Block Producer Extractable Value". Solution is a time-lock encryption / time-lock puzzle. New types: * `chest`, which represents time-locked arbitrary bytes with the necessary public parameters to open it. * `chest_key`, which represents the decryption key, alongside with a proof that the key is correct. New Opcode `open_chest :: chest_key → chest → time → or (bytes, bool)` > open_chest takes a chest and chest_key, and produces either the underlying plaintext or indicates that the chest or the chest_key is malicious. [Proof of conept in .ml](https://gist.github.com/murbard/23a29454a107d03d8a98393b0b98466d) [Docs](https://tezos.gitlab.io/alpha/timelock.html) [nomadic labs article](https://research-development.nomadic-labs.com/timelock-a-solution-to-minerblock-producer-extractable-value.html) ### On-chain Michelson views [TZIP](https://gitlab.com/tezos/tzip/-/blob/master/drafts/current/draft_views.md) ### Global constants `Tezos-client` is used to save a Micheline expression in a global table of constants. Multiple smart contracts can reference by the index to that code. Advantage: * originate large(r) contracts * share code between contracts ### Transaction Optimistic Rollups (TORUs) Needed for decentralized L2. Tezos ecosystem wants to encourage developers to build rollup infrastructure (opportunity?!). Still at experimental stage for Tezos, therefore it is introduced with a "sunset" of 1 year. To understand TORUs, we need to have good knowledge of Michelson tickets, because deposited assests in rollups are represented as such. [Nomadic Labs intro](https://research-development.nomadic-labs.com/toru-introduction.html) [Using a TORU](https://research-development.nomadic-labs.com/toru-introduction.html#using-a-toru) ### A note on zero-knowledge, TORUs, zk-rollups and zk-proofs Problem: > Sending assets to a rollup and transacting inside it has the same finality as the main chain. But to withdraw assets back to the main chain, you must wait for the dispute period to pass. On Arbitrum, a popular rollup system on Ethereum, the period is currently seven days. Solution: > In parallel to the work of implementing optimistic rollups, we are therefore also exploring zero-knowledge rollups, or zk-rollups. > The principle of moving transactions off-chain and posting commitments to the main chain is the same as with optimistic rollups, but zk-rollups attach a cryptographic proof of correctness with the commitment. No need for a waiting period for withdrawals. Drawback: > The downside is that zk-proofs are currently highly time consuming to generate. It requires a disproportionate amount of computing power, especially when dealing with smart contracts. The zero-knowledge team at Nomadic Labs is however working on improving this. (Opportunity for RUST/WASM in Client/UI?) [Nomadic source](https://research-development.nomadic-labs.com/tezos-is-scaling.html) ### TODO: Sapling Protocol Used for privacy preserving transactions. A user can send tez to a shielded pool (shielding). Within the shielded pool transactions are private. When a user wants to access the tez, he/she needs to withdraw from the shielded pool (unshielding). ### Call for builders TODO: Understand long term opportunity WASM/RUST Tezos Kernel https://research-development.nomadic-labs.com/next-generation-rollups.html#calling-all-builders ### TODO: Verifiable Delay Function (VDF) Improved randomness. TODO: Find out if accessible by smart contracts. Use cases: * NFT minting * gambling ### Contract Events On-chain events. [GitLab](https://tezos.gitlab.io/alpha/event.html) ## Overview on protocol upgrades ### Note on EDO2 (not exhaustive) * Sapling protocol ### Granada 7th upgrade (Aug 2021) * Blocktime 30 sec instead of 60 sec * Liquidity baking (tez<->tzBTC) * Gas cheaper ### Hangzhou 8th upgrade (Dec 2021) * on-chain Michelson views * global constants * gas cheaper thanks to cache (new [RPCs](https://tezos.gitlab.io/protocols/011_hangzhou.html#cache)) ### Ithaca 9th upgrade > A new `SUB_MUTEZ instruction has been added, it is similar to the mutez case of the SUB instruction but its return type is option mutez instead of mutez. * ditching roll-based model for bakers * instead rewards based on current stake * min stake reduction: XTZ 8k -> 6k required to be a validator * stake not frozen for 5 cycles, but credited instantly ### Jakarta 10th upgrade (28th June 2022) * Transaction Optimistic Rollups (TORUs) * decentralized Layer 2 solution * smart contract TORUs comes later (SCORUs) * [opens up Tezos](https://research-development.nomadic-labs.com/next-generation-rollups.html#opening-up-tezos) to RUST developers * more work to harden tickets (big_map, map, token validation layer etc) * changes to voting procedure (rolls are no more) ### Kathmandu 11th upgrade * SCORUs * Event logging * Verifiable Delay Functions

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully