thelazyliz
    • 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
    • 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 No publishing access yet

      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.

      Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Explore these features while you wait
      Complete general settings
      Bookmark and like published notes
      Write a few more notes
      Complete general settings
      Write a few more notes
      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
    • 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
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
  • 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 No publishing access yet

    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.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    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
    3
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Deep Funding: A Prediction Market For Open Source Dependencies *[Elizabeth Yeung](https://x.com/thelazyliz), [Clément Lesaege](https://x.com/clesaege), [Devansh Mehta](https://x.com/TheDevanshMehta). Special thanks to [David Gasquez](https://x.com/davidgasquez), [Eliza Oak](https://x.com/eliza_oak) and [Davide Crapis](https://x.com/DavideCrapis) for their feedback on earlier versions of the draft, and to [Vitalik Buterin](https://x.com/VitalikButerin) for the initial inspiration and extensive discussions.* ## Executive Summary Deep Funding uses a network of bots, models and traders to predict the value of open source repositories to Ethereum if they were to be judged by a jury. **Goal**: A public key that anyone can send money to for supporting Ethereum, with exact allocations to projects determined by a market based mechanism. **Allocation Mechanism**: Bots, models and traders bet on the value of a repository to Ethereum if it was to be judged by a jury. These values are used to distribute funding. **Interface**: Upload a CSV file with weights between up to 128 repos such that they add to 1. **Reward**: Earn money based upon the accuracy of predictions and the amount staked to back it. **Resolution**: Judges assess select repos with high volatility or showing signs of market manipulation to get a higher weight. These can then take precedence over the market value of the repo for the allocation mechanism. **What’s Different**: Earlier Deep Funding rounds took the form of a simple data science competition (like kaggle) with prizes given to top models on the leaderboard. This structure is different in 2 ways: - Models can put money behind their submissions. The higher the money, the more a model's prediction influences the weights of repos. - The payout function to participants is not reliant on exogenous prize money. It instead depends on liquidity in the market, the amount other participants put in to back their predictions and the accuracy of submissions. In case model builders do not have money to back their predictions, they can still take part in the [data science competition](https://cryptopond.xyz/modelfactory/detail/2564617) on Pond. If they want a variable reward function, they can now also submit models on deep.seer.pm in addition to Pond. ## Problem Statement Credibly neutral funding systems as they exist today do not scale very well. For example, Grow the Pie, an Ethereum analytics dashboard, received the same amount of funding in the Octant epoch 8 as Protocol Guild, a collection of all consensus and execution clients on Ethereum. While this parity might make sense for smaller, one-time grants, it becomes unsustainable when allocating millions of dollars in recurring funding. If we want participants in decentralized systems to earn rewards across a vast network based on contribution instead of social games, we have to design funding mechanisms that can [scale human judgment](https://vitalik.eth.limo/general/2025/02/28/aihumans.html) and distribute funding across the complex web of projects that underpin the success of an ecosystem like Ethereum. ## Overview One approach to this challenge is [Deep Funding](https://www.deepfunding.org/), which consists of a weighted graph showing the relative importance between core Ethereum repositories and their dependencies. Its current iteration includes a data science [competition](https://cryptopond.xyz/modelfactory/detail/2564617) (like on Kaggle) where developers build models predicting the weights of each repo. Models with the least error rate on scores given to a subset of the repos by jurors get their weights chosen across the entire dependency graph. This post summarizes a key trajectory shift in how Deep Funding will operate: moving from a one-time competition where participants are required to submit weights for every single repo in the graph, to an automatically recurring [prediction market](https://app.seer.pm/markets/10/what-will-be-the-juror-weight-computed-through-huber-loss-minimization-in-the-lo-2/) where participants can stake money on the answers that they have confident opinions on. They are essentially betting on the value of a repo *if* it were to be evaluated. This has a number of benefits: 1. It solves the sybil problem where builders have an incentive to submit multiple models and get prizes for whichever one of their submissions is accurate. 2. It allows participants to specialize, and only express their views on a subset of weights. 3. It greatly reduces the "maintenance load" of the mechanism, allowing it to function in a much more automated way without relying on heavy manual intervention. 4. The mechanism of having automatically recurring discrete rounds keeps the values fresh and relevant, while keeping the mechanism simple and analyzable. The overall structure is a market for each edge in a dependency graph that is traded based on its value if it were evaluated. We can then use these values to allocate funding across a decentralized network. Periodically, N markets are selected for spot-checking by a jury to resolve the market, based on either high volatility or external payment for an edge to be evaluated. This design aims to keep the values both dynamic and scalable as the network evolves. A pilot proof-of-concept with 45 repos belonging to Protocol Guild, Argot Collective and the Dev Tooling Guild is ongoing, with anyone able to stake money on the relative value between these repos [here](deep.seer.pm). An additional 45-60 repos shall be added as part of Gitcoin Grants Round 24 with $350,000 in funding channeled based on weights of repos in the graph. ## Design At a high level, the new version of deep funding has 3 steps: 1. **Mapping the Dependency Graph**: Identify the web of core projects in a target ecosystem (e.g. Ethereum) and their dependencies. Our experience has shown this to be a non-trivial task, with repo maintainers either raising concerns that their core dependencies are not present or that there were too many irrelevant dependencies. It is also a living graph, so a process for including new projects and excluding older ones is required. We propose a structure where anyone can post a bond for inclusion of a new edge into the graph, which gets slashed in case it does not make the top 128 as assessed by the market or an evaluator. At a time, only 128 repos can count towards their contribution to a node and receive any funding at all, with 129 and above getting their weight redistributed to 128 and below (assuming zipf's law that highest and lowest child differ by a factor of ~128). 2. **Markets Determine Weights**: The base rate is the starting weight for each project in the graph. Traders then purchase or sell a projects shares if they think it is under or overvalued. Periodically, a judgment is made on a repo's actual weight based on which the market clears and traders win or lose money. The starting base rate for these markets should be well thought out to prevent loss of liquidity and anchor repo weights for traders and maintainers. Anyone proposing entry of a node into the graph must post a bond such thats its base rate gets it into the top 128. 3. **Distribute the Rewards**: Funding is channeled across the dependency graph based on the prevailing weights of its edges, which are determined by the market predicting a juror's score if that edge were to be evaluated. If someone believes that a weight is wrong, they may counter-trade or pay to have that weight evaluated by a jury. This evaluation mechanism is intended as a deterrent: the knowledge that it can be invoked should reduce manipulation incentives, so actual paid evaluations are expected to be rare. An edge weight with high volatility may also trigger an investigation into its actual value, with juror payments coming from either bond confiscations or external funding. ### Data Structure This section is technical in nature, introducing a notation schema for a directed graph of edges between a target node and its dependencies. Edges are labelled with weights representing credit allocation between the dependencies. For example, Ethereum could be the target node while Grow The Pie, Solidity, etc are nodes with a weighted edge in their relation to Ethereum. Similarly, Sphinx would have its own weighted edge towards Solidity as one of its dependencies. Note that the following description is a specific implementation, and a general design of the directed dependency graph can be found in the [Appendix](#Appendix). ![Deep Funding](https://www.deepfunding.org/images/home/formula-diagram.svg) _Source: deepfunding.org_ Nodes: - **Target Node** (Project `T`): The target node `T` is the starting point, representing the ecosystem (e.g. Ethereum) that we want to determine credit allocation in order to channel funding to its key contributors. - **Seed Nodes** (Projects `S`): Seed nodes `S` are direct dependencies of `T`, which are software repository URLs in the case of Ethereum. - **Child Nodes** (Projects `C`): Similarly, child nodes `C` are direct dependencies of `S`. Edges and weights: - **Edges**: There are two types of edges in this graph, `T->S` and `S->C`, representing the dependencies between the nodes. - **Edge Weights**: Each edge `X->Y` is assigned a weight `W`, where $W \in [0,1]$. This weight is interpreted as "`Y` deserves `W` (eg. 20%) of the credit for `X`". - Here, an invariant is maintained such that the weights on the edges going into a node have to sum to 1. If `{Y_1, Y_2,..., Y_k}` is the set of all children of `X`, then this must hold: $\sum_{i=1}^{k} W(X\rightarrow Y_i) = 1$. - **Originality Score**: The originality score, `OS`, of a seed node `S` is interpreted as "`OS` is the share of credit attributed to `S`'s own work". For example, the Brave browser might have an originality score of 0.2 since it is a fork of Chromium, while Solidity could have 0.8 as it aims to be dependency-minimized. We can think of the originality score as a type of weight for the seed node itself. - It follows that `1-OS` represents the weight that should be passed on to the dependencies of `S`, which is the set of nodes `C`. ![example_output](https://hackmd.io/_uploads/B1x9hmXOxe.png) _An example of how nodes, edges and weights work for philosophical contributions to Ethereum. Source: [deepfunding/scoring/example_output.png](https://github.com/deepfunding/scoring/blob/main/example_output.png)_ In summary, there are three types of weights: `W(T->S)`, `OS(S)`, and `W(S->C)`. These weights are constantly changing, based on the collective wisdom of the market. ### Market Types **Seed Nodes**: The market for seed nodes would be structured as a multi-scalar market where the different project weights collectively add up to 1 (similar to multiscalar prediction markets in proportional elections like [this](https://app.seer.pm/markets/100/how-many-seats-will-party-name-win-in-japans-2025-house-of-council-elections-sea?outcome=Liberal+Democratic+Party+%28LDP%29) where participants try to predict the share of the seats each party will get). We introduce the following notations: - $w_{0,j}$ represents the true value of $W(X\rightarrow Y_j)$ (cannot be measured in practice). - $\hat{w}_{0,j}$ represents the estimation of $w_{0,j}$ by the jurors. - $W_{0,j}$ represents a token which redeems for $\hat{w}_{0,j}$. - $\dot{w}_{0,j}$ represents the value of the token $W_{0,j}$ . We have $\hat{w}_{0,j}$ acting as an estimator of $w_{0,j}$. Since the number of jurors is small, this estimator is expect to be high variance and potentially high bias. The expected value of $W_{0,j}$ is $E[\hat{w}_{0,j}]=w_{0,j}+b_{0,j}$ where $b_{0,j}$ is the expected bias in juror evaluation. A perfectly informed trader would therefore buy/sell $W_{0,j}$ until $\dot{w}_{0,j}=w_{0,j}+b_{0,j}$ But if the bias of jurors is an information not publicly available to markets participants (a simple way to achieve that is not to select jurors in advance or hide their identities during the trading period), those would trade buy/sell $W_{0,j}$ until $\dot{w}_{0,j}=w_{0,j}$. In practice, market participants (expected to be AIs) would not be fully informed about $w_{0,j}$, so $\dot{w}_{0,j}$ would act an estimator of $w_{0,j}$. This mechanism would then act as a "denoisifier" of the juror scores. To make those markets efficient we: - Allow anyone to exchange an unit of currency for a full set of $W_{0,j}$ tokens (and the other way around). - We provide liquidity for all $W_{0,j}$ on an automated market maker. **Originality Score**: Each market for gauging originality of a seed node can be structured as a single scalar market with an "UP" token and "DOWN" token that sum up to 1, *conditional* on the node originality being evaluated. - $o_{j}$ represents the true value of the originality score of node $j$. - $\hat{o}_{j}$ represents the estimation of $o_{j}$ by the jurors. - $e_j$ is a variable equal to 1 if the originality score of $j$ is evaluated, 0 otherwise. - $S_j$ represents a token which redeems for $\frac{1}{s}$ if the originality score of $j$ is evaluated, with $s$ being the number of nodes whose originality is evaluated. - $O_{j}$ is the "UP" token which redeems for $\hat{o}_{j}$, if the originality score of $j$ is evaluated. - $\dot{o}_{j}$ represents the value of the token $O_{j}$ expressed in term of $S_j$. If node $j$ is evaluated, $\hat{o}_{j}$ acts as an estimator of $o_j$. The expected value of $O_{j}$ is $E[\hat{o}_{j} | e_j = 1]=o_{j}+b_{j}$ units of $S_j$, where $b_{j}$ is the expected bias in juror evaluation. If we evaluate originality randomly, $O_j$ and $e_j$ are uncorrelated. Therefore, we have $E[\hat{o}_{j}] = E[\hat{o}_{j} | e_j = 1]=o_{j}+b_{j}$. Using a logic simlar to previous section, but adding that "Market participants are not aware in advance of which originality scores will be evaluated", we see that in addition to acting as a "denoisifier" of the juror scores, the market acts as a way to scale juror evaluation. Since market participants are not aware of which scores will be evaluated, they should trade on all markets assuming the corresponding score will be evaluated (a bit like a student would need to study all topics of a class in case this topic will end up at the exam). In order to make this market more efficient: - We have "DOWN" tokens ($\bar{O}_{j}$) which redeem for 1 - originality score if $j$ is evaluated. This allows markets participants to "short" the originality score of one project. - Allow anyone to exchange a unit of currency for a full set of $S_j$ tokens (and the other way around). - Allow anyone to exchange a unit of $S_j$ for a $O_{j}$ and $\bar{O}_{j}$ (and the other way around). - We provide liquidity for the pairs $S_j - O_{j}$ and $S_j - \bar{O}_{j}$. Note that we don't need to provide liquidity between the token $S_j$ and the currency token. **Child Nodes**: The market for child nodes should be a multiscalar market that add up to 1 with respect to the seed node, *conditional* on the children of this node being evaluated. For child nodes, we combine the two previous approaches. We introduce the following notations: - $w_{i,j}$ represents the true value of $W(X_i\rightarrow Y_j)$. - $\hat{w}_{i,j}$ represents the estimation of the jurors. - $C_i$ represents a token which redeems for $\frac{1}{c}$ if the weights of $X_i$ children are evaluated, with $c$ being the number of nodes whose children are evaluated. - $W_{i,j}$ represents a token which redeems for $\frac{\hat{w}_{i,j}}{c}$ if the weights of $X_i$ children are evaluated. - $\dot{w}_{i,j}$ represents the value of the token $W_{i,j}$ expressed in term of $C_i$. Using the same logic as the two previous sections, we see that $\dot{w}_{i,j}$ acts an estimator of $w_{i,j}$. Here the mechanism denoisifies and scales the evaluation of human jurors. ## Juror Evaluation Strategy Unlike regular prediction markets that resolve based on an objective truth in the world, these markets depend on subjective assessment by jurors. This not only adds more pressure on judges but also implies the need for a jury improvement track that's as rigorous as the prediction mechanism improvement track. While we haven't fully formalized juror design, here are some broad considerations: * The information presented to jurors is as important as selection of the jury itself. This can take the form of a juror UI that includes the ability to get summaries from various LLMs. Another option is to separate roles: analysts who dig deeply into a repo's worth, and judges who use the information from the analysts to make the final evaluation. * A related consideration is the mix of expertise within the jury. Some jurors may be domain specialists while others are generalists. Scores that are agreed upon by both specialized and generalized jurors should be given higher priority. * There should be some method to identify and reduce the impact of outlier ratings from jurors. In its current phase, we have decided to use the [Huber loss](https://en.wikipedia.org/wiki/Huber_loss) function for the [multiscalar prediction market on Seer](https://deep.seer.pm/), and continue with the L2 norm for the [competition on Pond](https://cryptopond.xyz/modelfactory/detail/2564617), to process the pairwise comparisons from jurors in log-space. ## Call to Action 1. **Model builders** can participate in 3 competitions, which carry a prize pool and trading subsidies. - **Seed Nodes**: There are currently two ways to participate for credit allocation between seed nodes to Ethereum - The currently [open deep funding contest](https://cryptopond.xyz/modelfactory/detail/2564617) lets participants propose weights for all 45 OSS repos that are either part of Protocol Guild, Argot Collective or the Dev Tools Guild. This competition will go on until October 6th. - The same competition is also available as a [multiscalar prediction market](https://deploy-preview-389--seer-pm.netlify.app/markets/10/what-will-be-the-juror-weight-computed-through-huber-loss-minimization-in-the-lo-2?outcome=argotorg%2Fsolidity) where anyone can bet on the value of a repo if it were to be evaluated. Unlike on Pond, the payout function here is not dependent on exogenous prize money but on the accuracy of your predictions vs the total amount wagered by all participants in the market. The current setup is: If you want to bet money on your models results, submit in the prediction market; if you just want to test your model without money, submit on Pond. - **Originality Score**: Later this month, you can predict the originality score that repos would receive if it were to be evaluated. This will indicate how much of the funding should remain with seed nodes versus passed on to its dependencies. To take part, simply build a model that makes originality score predictions, load it up with some money and let it make predictions. - **Child Nodes**: The final segment is a competition on Pond for model builders to predict the weights between dependencies of seed nodes. The results of this competition can again be taken as the base rate for launching a multi-scalar market on the value of each dependency to a seed node. 2. **Jurors** who want to provide comparisons between seed nodes can apply [here](https://research.allo.capital/t/join-the-deep-funding-jury/99) to become a part of the jury. 3. **Maintainers**: If you are a maintainer for repos that are part of Deep Funding, we need your help to: - Create an [accurate dependency graph](https://github.com/deepfunding/dependency-graph/tree/main/datasets/v2-graph), which includes identifying missing repos or removing irrelevant ones, and - Submit scores indicating the importance between various dependencies in your repos, and you can apply [here](https://research.allo.capital/t/join-the-deep-funding-jury/99). Lastly, if you simply want to follow along with the experiment, express your ideas or have further questions, please join the [Deep Funding telegram group](https://t.me/AgentAllocators). ## Appendix ### A generalized structure for the directed dependency graph Here, we propose a more formal, generalized version of what is described in the above [specification](#Data-Structure). For each project `P`, we define three types of nodes that have edges directed into `P`. 1. `P:SELF`: This node represents the project's own contributions. - The edge `P->P:SELF` with edge `W` is interpreted as "`W` is the share of credit attributed to `P`'s own work". For example, the Brave browser might have a weight of 0.2 since it is a fork of chromium, while Solidity could have a weight of 0.8 as it aims to be dependency-minimized. This can also be called the `originality` of a project. - This type of node does not have any children, and there's only 1 for each `P`. 2. `P:OTHER`: Nodes of this type can be seen as the collective set of direct dependencies of `P`. Under this type of node, we can further classify it into two subtypes: - `P:OTHER_KNOWN`: These are known dependencies of `P`, and are projects themselves. - `P:OTHER_UNKNOWN`: This represents all unknown dependencies of `P`. - This type of node does not have any children, and there's only 1 for each `P`. Therefore, for any project with known dependencies (i.e. type `P:OTHER_KNOWN`) $D_1,...,D_k$, we have $$ W(P\rightarrow P_{self}) + \sum_{i=1}^k W(P \rightarrow D_i) + W(P\rightarrow P_{other\_unknown}) = 1 $$ Alternatively, we can also simply say $$ W(P\rightarrow P_{self}) + W(P\rightarrow P_{other}) = 1 $$ The following equations also hold $$ \begin{align} P_{other\_known} &= \sum_{i=1}^k W(P \rightarrow D_i) \\ W(P \rightarrow D_j) &= W(P \rightarrow P_{other\_known})\cdot W(P_{other\_known}\rightarrow D_j) \\ 1 &= \sum_{i=1}^k W(P_{other\_known} \rightarrow D_i) \end{align} $$ Note that here, we treat $W(P \rightarrow D_i)$ as the weight that has been scaled or normalized by $P_{other\_known}$. The unscaled weight is $W(P_{other\_known} \rightarrow D_i)$. As an example, if we reference again the following graph, we can see that: - `Cypherpunk Movement->Cypherpunk Movement:SELF` = 0.4 - `Cypherpunk Movement->Cypherpunk Movement:OTHERS_KNOWN` = 0.6 - `Cypherpunk Movement->Cypherpunk Movement:OTHERS_UNKNOWN` = 0 - `Cypherpunk Movement:OTHERS_KNOWN->Swiss direct democracy` = 0.050 - `Cypherpunk Movement->Swiss direct democracy` = 0.6*0.050 = 0.03 ![example_output](https://hackmd.io/_uploads/B1x9hmXOxe.png) _Source: [deepfunding/scoring/example_output.png](https://github.com/deepfunding/scoring/blob/main/example_output.png)_

    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
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    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