tezit
    • 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
    • Engagement control
    • 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 Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control 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
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Baker Registry FAQ **Q: What is the purpose of a baker registry?** A: There are two primary goals. * First is to demonstrate a great use case for blockchain -- the sharing of information between independent parties without central control. * Second is to reduce the friction/cost for bakers and aggregators by helping the bakers to more easily communicate timely updates to their policies and status. **Q: How does it work?** A: The core component is a smart contract that keeps each baker's public information in its storage. Each baker will add themselves by calling the contract from their baker account specifying their information as a parameter. **Q: What if someone else tries to update my information?** A: The contract will require that an update to change the data for a given baker account be sent from that account; this means that you must be in possession of the private key for that account in order to call the contract to update the data. **Q: What if I don't want to use my baker account private key to call a contract?** A: The contract will allow you to specify an alternative account which is allowed to update your information. This way you can keep your baker account key more secure by not using it for any additional operations. But the very first time you call the Baker Registry contract you must do it from your baker account in order to specify your alternative account. After you have done this, you can perform all actions by calling the contract from your alternative account. <!-- Q: How do I call the contract and specify the parameters? A: For security you are expected to always be in control of your keys. In addition to a smart contract, there will be a related web app. This web app will never need your keys and is not a wallet to hold your keys. The web app will only provide you with a simple interface to query the contract storage in order to retrieve your current data in its storage. Using the app you will be able to edit your data and then the app will generate the command text and parameters that you will need to call the contract from the Tezos client or from any other wallet of your choice that supports parameters. --> **Q: Why would this be better than what we do today?** A: By utilizing the Tezos blockchain we remove the unecessary and time consuming work that both bakers and listing services currently need to do to communicate any changes to policy and status. As the number of bakers and listing services continues to grow this will be increasingly costly and is error prone when having to update multiple systems. But this does not remove the need for listing services, it just removes some of the work. The listing, ranking, and auditing services will still provide value through offchain proprietary analysis, marketing, and helping the community to validate the baker policy. **Q: What is left to do to make this ready for use?** A: The registry now exists on the mainnet. Due to limitations in the origination operation size it was pre-populated with 103 bakers. All bakers should go to the web interface and lookup their baker pkh; if you are already in the registry then verify the existing data and add any missing information. If you you are not in the registry then add yourself as a new baker. If you have any questions ask them on Agora. We need to get the bakers, listing services, audit services, and indexers to provide feedback on the currently implemented baker data schema shown below. 1. Bakers need to confirm that the schema correctly defines all the data they want to communicate publicly 2. Listing and Ranking Services need to confirm that the schema captures all the data they need to provide their services 3. Audit Services need to confirm that the schema captures all the data needed to accurately audit historical payouts according to the specified split/payout information at that time. 4. Indexer Providers need to confirm that the proposed schema is a good fit for indexing and API inclusion (especially for historical analysis by audit services) We should also start a discussion for the creation of working groups made up of Bakers, Listers/Rankers, Auditors, and Indexers to have a voice in evolving the standards related to the data schema, its associated meta data for auditing/indexing, and APIs that will be used by other parties such as wallets. As baker business models evolve and especially as the protocol amends we will all need to work together to keep these standards, APIs, and tools up to date. **Q: Why does the schema no longer have a fee model. What is a split?** A: There was discussion in the community about how it is best to have the registry use terminology that most aligned with how the protocol functions. In the Tezos protocol the rewards belong to the baker. At no point does the baker custody the funds of another entity. The baker makes an offchain agreement to pay the delegator for the act of delegating to the baker. This payment is described in the current schema as a split of the reward calculation. So, for example, rather than charging a fee of 10% and implying custody, the more accurate description is that the baker pays a 90% split for the delegation. Over time we might decide that there is need to add a "fixedPaymentForDelegation" field, but that is why we want to have the ecosystem start using the registry so we can learn and determine the best way forward. The current proposed baker data schema has 2 components. The **onchain** baker split/payout information which includes a link to the **offchain** additional baker details data. **On Chain:(updated 13 Nov 2019)** ``` { "bakerName": "Baker Public Name", "bakerAccount": "Bakers account that users set as delegate", "reporterAccount": "Optional account which can also submit changes to the bakers data, it's a security feature to limit the need for baker to use their primary key to submit subsequent changes to their onchain data", "openForDelegation": true, "bakerOffchainRegistryUrl": "link to where the baker stores the json document with offchain info", "bakerRegistryLastUpdated": 2019-05-23T18:25:43.511Z, "paymentModel" : { "bakerPaysFromAccounts": ["payout account 1 address", "payout account 2 address"], "split": 0.90, "minDelegation": 0.5, "subtractPayoutsLessThanMin": true, "payoutDelay": 6, "payoutFrequency": 1, "minPayout": 0, "subtractRewardsFromUninvitedDelegation": true, "bakerChargesTransactionFee": true, "paymentConfig": { "payForOwnBlocks": true, "compensateMissedBlocks": false, "payForStolenBlocks": true, "payForEndorsements": true, "compensateMissedEndorsements": false, "compensateLowPriorityEndorsementLoss": false, "payGainedFees": true, "payForAccusationGains": true, "subtractLostDepositsWhenAccused": true, "subtractLostRewardsWhenAccused": true, "subtractLostFeesWhenAccused": true, "payForRevelation": true, "subtractLostRewardsWhenMissRevelation": true, "subtractLostFeesWhenMissRevelation": true } } } ``` **Off Chain:** ``` { "signupRequired": false, "country": "USA", "website": "Bakers website URL that will be called directly as is, e.g. bakenrolls.com", "bakerDescription": "Text to describe bakers details, 280 character limit", "nonStandardPaymentDescription": "Optional text to describe the split/payouts if baker is using a non standard approach", "upcomingPaymentModelDescription": "Optional text to describe future plans to modify split/payouts e.g. In cycle 200 our split is changing from 90% to 85%", "branding": { "logo256":"https://atticlab.net/atticlab-logo-256.png", "logo1024":"https://atticlab.net/atticlab-logo-1000.png", "logoSvg":"https://atticlab.net/atticlab-logo-1000.svg" }, "support": { "email": "supportname@site.com", "supportUrl": "link to get support" }, "projects": [{"projectName": "first project name", "projectUrl": "link to project"}, {"projectName": "second project name", "projectUrl": "link to project"}], "social": { "twitter": "twitter link", "telegram": "telegram link", "reddit": "reddit link", "riot": "riot link", "youtube": "youtube link", "keybase": "keybase link" }, "team": [{"teamMemberName": "first and last name1", "teamMemberProfile": "url for profile/linkedIn", "teamMemberImageUrl": "url for image"}, {"teamMemberName": "first and last name1", "teamMemberProfile": "url for profile/linkedIn", "teamMemberImageUrl": "url for image"}] } ``` **Q: Will this be open source?** A: Yes. All associated code (which includes the smart contract, a web app, and a library to call and parse the contract storage) will be released fully open source. **Q: What is being done to prevent spam?** A: The contract will require an additional amount of "dues" with each call to the contract by a baker. Currently the first version of the Registry on mainnet will set the dues to 1.5 xtz to signup a new baker and 0.5 xtz for each subsequent update. These dues are considered a donation to the Tezos Commons Foundation. Once the final version of the contract is deployed it is expected that the community will help TCF decide the appropriate amount of dues to require. **Q: Who will originate the contract?** A: TCF (Tezos Commons Foundation) will use the open source code to originate the contract. As the contract owner TCF will have the following contract capabilities: * Update the dues amount required for baker signup and data updates. * Transfer all the previously paid dues to TCF. <!-- Q: What are payoutModels? A: Currently have only 2 but likely need to determine with bakers/verifiers how they want to model additional parameters and plan for future flexibiity. payoutModel = 1 is Dynamic (the currently most common) payoutModel = 2 is Fixed (example of CryptoDelegate paying exactly the global inflation rate) --> **Q: What if a baker provides inaccurate data?** A: Much like today, if a baker misrepresents their status or policy it is up to the Tezos community to identify these mistakes and communicate clearly to the baker that this behavior is not acceptable. The listing services will play a fundamental role in validating the truthfulness of a baker as they do today. The difference is that with the data now recorded onchain in a contract we have an immutable ledger of the data updates. **Q: What if a baker signs up using my name or something similar?** A: This is another example of inaccurate data as described above. It will be up to the Tezos community, with the help of listing services, to denounce this behavior. Much like today, the listing services will ultimately decide what data they will display on their websites. The contract just makes it easier for them to retrieve a reliable and updated source of baker information. **Note:** The baker registry is not intended to be a general purpose Tezos Name Service (TNS). Such a service is actively being discussed in the community and if a TNS is launced then the registry will adopt the TNS.

    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