إستخدام إدارة داش#

Dash's Decentralized Autonomous Organization (DAO) is a novel voting and funding platform. This documentation introduces and details the theory and practice to use the system.

فهم العملية#

المقدمة#

  • DAO consists of three components: Proposals, Votes, and Budgets

  • يمكن لأي شخص تقديم اقتراح مقابل رسوم رمزية

  • Each valid masternode can vote for, against or abstain on proposals

  • تصبح المقترحات المعتمدة ميزانيات

  • يتم دفع الميزانيات مباشرة من بلوكشين إلى مالك الاقتراح

الإقتراحات#

  • المقترحات هي طلب لتلقي الأموال

  • Proposals can be submitted by anyone for a fee of 1 Dash. The proposal fee is irreversibly destroyed on submission.

  • لا يمكن تغيير الاقتراحات بمجرد تقديمها

التصويت#

  • Votes are cast using the registered voting address

  • The voting address can be delegated to a third party

  • يمكن تغيير الأصوات في أي وقت

  • يتم احتساب الأصوات كل 16616 قطعة (حوالي 30.29 يومًا)

الميزانية#

  • الميزانيات هي المقترحات التي تحصل على مجموع الأصوات الصافية نعم يعادل أو أكبر من 10 ٪ من مجموع الأصوات الممكنة (على سبيل المثال أكثر من 448 من أصل 4480)

  • يمكن إبطال الميزانيات في أي وقت إذا كانت مجاميع الأصوات (المدلى بها أو التي أعدت) أقل من الحد الأدنى للموافقة

  • تتم معالجة الميزانيات (مدفوعة) من أجل نعم بدون طرح أي أصوات. تحصل الميزانيات الأكثر شعبية على أولوية الدفع.

  • تتوفر تقريبا 6176 داش (في 2018) لكل دورة الميزانية ، وتناقص بنسبة 7.14 ٪ كل 210240 كتل (حوالي 383.25 يوما).

هيكل الكائن#

المعلومات التالية مطلوبة لإنشاء اقتراح:

  • اسم الاقتراح: تصنيف فريد ، 20 حرفًا أو أقل

  • عنوان: عبارة عن صفحة ويب أو موقع منتدى تم إنشاؤه من قِبل مقدم الاقتراح يحتوي على معلومات مفصلة حول الاقتراح

  • حساب الدفع: عدد الدورات التي يطلبها الدفع

  • block-start: البداية المطلوبة لمدفوعات الاقتراح

  • عنوان - داش: عنوان لتلقي دفعات الاقتراح

  • دفع الدفعة الشهرية: مبلغ الدفعة المطلوبة

إصرار#

  • تصبح المقترحات نشطة بعد يوم من تقديمها

  • ستظل المقترحات مرئية على الشبكة إلى أن يتم رفضها أو الوصول إلى دورة الدفع الأخيرة للمقترح

  • وتحدث الموافقة عندما تكون الأصوات الصحيحة ناقصًا أي أصوات تساوي 10٪ أو أكثر من إجمالي الأصوات المتاحة.

  • يحدث الرفض عند عدم وجود أصوات ناقص نعم أصوات تساوي 10٪ أو أكثر من إجمالي الأصوات المتاحة.

  • إجمالي الأصوات المتوفرة هو عدد الأصوات عبر الإنترنت والاستجابة ويمكن رؤيته من خلال تشغيل الأمر "عدد ماسترنود" في نافذة debug للمحفظة debug. يمكن العثور على رسم بياني من إجمالي عدد ماسترنود هنا

قوالب#

يتوفر نموذجا Microsoft Word التاليان من مجموعة داش كور للمساعدة في تسهيل تقديم المقترحات والتحديثات الموحدة. يوصى بالاستخدام ، ولكن غير مطلوب.

مزانية الدورات#

عند إعداد اقتراح ، يجب أن تكون على دراية بموعد حدوث الدورة التالية والتخطيط وفقًا لذلك. يوصى باختيار منع بدء دفعة الاقتراح الخاص بك على الأقل دورة واحدة في المستقبل لإتاحة الوقت للمناقشة وجمع الدعم والأصوات. لاحظ أنه لن يتم تحويل الأصوات إلى 1662 قالبًا (حوالي 3 أيام) قبل superblock.

ارتفاع كتلة

التاريخ التقريبي

1212968

Thu Jan 30 02:38:52 UTC 2020

1229584

Sat Feb 29 09:43:54 UTC 2020

1246200

Mon Mar 30 16:48:56 UTC 2020

1262816

Wed Apr 29 23:53:58 UTC 2020

1279432

Sat May 30 06:59:00 UTC 2020

1296048

Mon Jun 29 14:04:02 UTC 2020

1312664

Wed Jul 29 21:09:04 UTC 2020

1329280

Sat Aug 29 04:14:06 UTC 2020

1345896

Mon Sep 28 11:19:08 UTC 2020

1362512

Wed Oct 28 18:24:10 UTC 2020

1379128

Sat Nov 28 01:29:12 UTC 2020

1395744

Mon Dec 28 08:34:14 UTC 2020

يمكنك عرض التعليمات البرمجية المصدر لهذا الحساب هنا

خلق مقترحات#

بمجرد الانتهاء من إعداد نص اقتراحك وإعداد موقع ويب أو مشاركة في منتدى ، فقد حان الوقت لتقديم اقتراحك إلى بلوكشين للتصويت. على الرغم من إمكانية تنفيذ جميع المهام المتعلقة بإنشاء اقتراح ميزانية من وحدة تحكم لوحة مفاتيح داش كور ، فقد تم تطوير العديد من الأدوات التي توفر واجهة مستخدم لتبسيط هذا الإجراء.

داش الميزانية اقتراح مولد#

The Dash Budget Proposal Generator supports creating budget proposals on both mainnet and testnet. In the first step, you must enter a short, clear and unique name for the proposal as it will appear on the blockchain. Proposal names are limited to 40 characters. You can then provide a link to the forum or DashCentral where your proposal is described in more detail (use a URL shortening service if necessary), as well as select the amount of payment you are requesting, how often the payment should occur, and the superblock date on which you are requesting payment. This allows you to control in which budget period your proposal will appear, and gives you enough time to build support for your proposal by familiarising voters with your project. Note that the payment amount is fixed and cannot be modified after it has been submitted to the blockchain.

../../../_images/proposal-create.png
../../../_images/proposal-burn-prepare.png

الخطوتين 1 & 2: إنشاء الاقتراح الخاص بك وإعداد الأمر#

Next, the proposal generator will provide you with a command to run from the console of your Dash Core wallet to prepare your budget proposal governance object. Running this command will cost you 1 DASH, which will be "burnt" or permanently removed from circulation. This one-time fee protects the governance system from becoming overwhelmed by spam, poorly thought out proposals or users not acting in good faith. A small transaction fee is charged as well, so make sure slightly more than 5 DASH is available in your wallet. Many budget proposals request reimbursement of the 1 DASH fee.

First unlock your wallet by clicking Settings > Unlock wallet, then open the console by clicking Window > Console and paste the generated command. The transaction ID will appear. Copy and paste this into the proposal generator response window. As soon as you do this, the system will show a progress bar as it waits for 6 confirmations as follows:

../../../_images/proposal-burn-console.png
../../../_images/proposal-burn-confirming.png

الخطوة 3: إنشاء معاملة الاقتراح وانتظار 6 تأكيدات من معرف المعاملة#

وبمجرد وجود 6 تأكيدات للحجب ، سيظهر أمر آخر لإرسال كائن الإدارة الذي تم إعداده إلى الشبكة للتصويت. انسخ هذا الأمر والصقه ، وسيظهر معرف كائن الإدارة كما يلي:

../../../_images/proposal-submit.png
../../../_images/proposal-submit-console.png

الخطوة 4: إرسال كائن الإدارة إلى الشبكة#

يمكنك استخدام هذا المعرّف لتعقب التصويت على الاقتراح حتى تغلق الميزانية وتتلقى عائدك. يمكنك أيضًا إرسال المعرّف إلى داش سنترال للمطالبة باقتراحك وتمكين التصويت المبسّط على داش سنترال باستخدام خدمات التصويت داش سنترال.

مقترحات داش سنترال#

يتضمن داش سنترال أيضًا أداة لإنشاء مقترحات الميزانية ، أو المطالبة بمقترحات حالية حتى تتمكن من إضافة وصف على داش سنترال وبدء المناقشة مع المجتمع. تتطابق الخطوات التي يجب اتخاذها تقريبًا مع الإجراء الموضح أعلاه ، وتتوفر الوثائق هنا.

Dash Core Wallet Console#

Creating a proposal using the wallet console follows the same process as using the Dash budget proposal generator, but it requires several additional steps to manually construct the proposal governance object.

Assemble the proposal data#

To prepare a proposal, put the proposal details such as name and payout address into a JSON object similar to the example shown below.

{
  "name": "Test-proposal_1",
  "payment_address": "yd5KMREs3GLMe6mTJYr3YrH1juwNwrFCfB",
  "payment_amount": 10,
  "url": "https://www.mydashtestproposal.com",
  "start_epoch": 1635750000,
  "end_epoch": 1636750000,
  "type": 1
}

Set the type field to 1 for all proposals.

The start_epoch and end_epoch fields are Unix epoch timestamps indicating the time range in which the proposal can receive payments. Typically you will set the start_epoch to approximately halfway between the superblock where payment is first desired and the preceding one. Set end_epoch to approximately 2 weeks after the superblock where the final payment is desired. You can use a site like https://www.epochconverter.com/ to convert the start and end dates to the epoch values for these fields.

Serialize the proposal data#

The proposal information must be serialized to hex before it can be submitted to the network. Remove all spaces from the JSON object:

{"name":"Test-proposal_1","payment_address":"yd5KMREs3GLMe6mTJYr3YrH1juwNwrFCfB","payment_amount":10,"type":1,"url":"http://test.com","start_epoch":1635750000,"end_epoch":1636750000}

Convert the resulting JSON to its hex equivalent. Sites like https://codebeautify.org/string-hex-converter provide an easy way to do this:

7b226e616d65223a22546573742d70726f706f73616c5f31222c227061796d656e745f61646472657373223a227964354b4d52457333474c4d65366d544a597233597248316a75774e777246436642222c227061796d656e745f616d6f756e74223a31302c2274797065223a312c2275726c223a22687474703a2f2f746573742e636f6d222c2273746172745f65706f6368223a313633353735303030302c22656e645f65706f6368223a313633363735303030307d

Prepare the collateral transaction#

Finally, open your Dash Core wallet console and use the gobject prepare command to complete the proposal preparation and submit the collateral transaction. See the Core developer documentation for additional details.

تحذير

Running this command will create a transaction spending 1 DASH from the wallet as collateral for the proposal being created. Only run this command once you have verified all the proposal information. The transaction is not reversible once sent.

gobject prepare <parent-hash> <revision> <time> <data-hex>
  • parent-hash - set to 0

  • revision - set to 1

  • time - set to the current Unix epoch time (does not have to be precise)

  • data-hex - set to the hex string from the previous step

Example command:

gobject prepare 0 1 1636000000 7b226e616d65223a22546573742d70726f706f73616c5f31222c227061796d656e745f61646472657373223a227964354b4d52457333474c4d65366d544a597233597248316a75774e777246436642222c227061796d656e745f616d6f756e74223a31302c2274797065223a312c2275726c223a22687474703a2f2f746573742e636f6d222c2273746172745f65706f6368223a313633353735303030302c22656e645f65706f6368223a313633363735303030307d

The command will execute and respond with a transaction ID for the collateral payment:

9192fb57953baba168f685e32378aa6471061301a097598c68ef1a4c136c9ea3

Submit the proposal#

Once the transaction has six confirmations, use the gobject submit command to submit the prepared governance object to the network for voting. See the Core developer documentation for additional details.

gobject submit <parent-hash> <revision> <time> <data-hex> <fee-txid>
  • parent-hash - use the same value as in the gobject prepare command

  • revision - use the same value as in the gobject prepare command

  • time - use the same value as in the gobject prepare command

  • data-hex - use the same value as in the gobject prepare command

  • fee-txid - the transaction ID returned by the gobject prepare command in the previous step

Example command:

gobject submit 0 1 1636000000 7b226e616d65223a22546573742d70726f706f73616c5f31222c227061796d656e745f61646472657373223a227964354b4d52457333474c4d65366d544a597233597248316a75774e777246436642222c227061796d656e745f616d6f756e74223a31302c2274797065223a312c2275726c223a22687474703a2f2f746573742e636f6d222c2273746172745f65706f6368223a313633353735303030302c22656e645f65706f6368223a313633363735303030307d 9192fb57953baba168f685e32378aa6471061301a097598c68ef1a4c136c9ea3

The command will execute and respond with a transaction ID for the proposal which can be used to track voting on the proposal:

3108b76c8735132a0b6de856b434a40d75924ba0a535c4a61be4dba0bf83263f

التصويت على الإقتراحات#

يجب عليك التصويت قبل ثلاثة أيام على الأقل من إنشاء Superblock أو لن يتم احتساب صوتك. الموعد النهائي هو 1662 قطعة قبل superblock

Voting on DAO proposals is an important part of operating a masternode. Since masternodes are heavily invested in Dash, they are expected to critically appraise proposals each month and vote in a manner they perceive to be consistent with the best interests of the network. Each masternode may vote once on each proposal, and the vote can be changed at any time before the voting deadline. The following sites and tools are available to view and manage proposals and voting:

للحصول على معلومات حول كيفية إنشاء اقتراح ، راجع هنا.

داش سنترال#

يقوم العديد من مشغلي ماسترنود بتخزين المفتاح الخاص ماسترنود محمية بكلمة مرور على داش سنترال لتمكين التصويت البسيط باستخدام واجهة سهلة الاستخدام. جعلت شعبية هذا الموقع مكانًا مشتركًا لمناقشة المقترحات بعد تقديمها إلى نظام الحوكمة. للتصويت من واجهة الويب داش سنترال ، أضف أولاً المفتاح الخاص ماسترنود إلى حسابك وفقًا للتعليمات الواردة هنا. لاحظ أن المفتاح الخاص ماسترنود الخاص ليس هو نفسه المفتاح الخاص الذي يتحكم في ضمانات داش 1000 ، لذلك لا يوجد خطر فقدان ضماناتك. مطلوب كلمة مرور منفصلة لفتح المفتاح الخاص ماسترنود للتصويت ، وبالتالي فإن خطر مشغل الموقع التصويت باسمك هو الحد الأدنى

عندما تكون مستعدًا للتصويت ، انتقل إلى مزانية الإقتراح. ما عليك سوى النقر لعرض المقترحات ، ثم النقر إما على تصويت نعم ، تصويت محايد أو تصويت لا.

../../../_images/vote-dashcentral.png

واجهة التصويت على داش سنترال#

ادوات ماسترنود داش (DMT)#

إذا كنت بدأت ماسترنود الخاص بك من استخدام أجهزة محفظة DMT, يمكنك أيضًا استخدام الأداة للإدلاء بالأصوات. انقر فوق الأدوات> الاقتراحات وانتظر حتى يتم تحميل قائمة المقترحات. يمكنك بسهولة مشاهدة حالة التصويت لكل اقتراح ، ويعرض اختيار اقتراح تفاصيل حول علامة التفاصيل في النصف السفلي من النافذة. قم بالتبديل إلى علامة تصويت إلى تصويت نعم ، تصويت لا أو تصويت محايد مباشرة من DMT.

../../../_images/vote-dmt.png

واجهة التصويت في DMT#

محفظة داش كور او ماسترنود#

If you started your masternode using the Dash Core Wallet (not recommended), you can vote manually from Window > Console, or directly from your masternode via SSH using dash-cli. First click on the proposal you want to vote on at either DashCentral or Dash Ninja. You will see a command for manual voting below the proposal description. Copy and paste the command and modify it as necessary. As an example, take this proposal from Dash Ninja (or DashCentral). The voting code for Dash Core Wallet is as follows:

gobject vote-many 6ed7418455e07f4b30b99f0d4a24a2b83282e12b26fe3415673ecbea04ff6c9d funding yes
gobject vote-many 6ed7418455e07f4b30b99f0d4a24a2b83282e12b26fe3415673ecbea04ff6c9d funding no
gobject vote-many 6ed7418455e07f4b30b99f0d4a24a2b83282e12b26fe3415673ecbea04ff6c9d funding abstain

لاحظ أنه للتصويت من ماسترنود مباشرة ، تحتاج إلى بادئة الأمر مع dash-cli ، والذي يوجد عادة في المجلد dashcore. يجب أن يكون الأمر مشابهًا لما يلي:

~/.dashcore/dash-cli gobject vote-many 6ed7418455e07f4b30b99f0d4a24a2b83282e12b26fe3415673ecbea04ff6c9d funding yes
~/.dashcore/dash-cli gobject vote-many 6ed7418455e07f4b30b99f0d4a24a2b83282e12b26fe3415673ecbea04ff6c9d funding no
~/.dashcore/dash-cli gobject vote-many 6ed7418455e07f4b30b99f0d4a24a2b83282e12b26fe3415673ecbea04ff6c9d funding abstain

ملاحظة سيؤدي هذا الأمر إلى إجراء تصويت من جميع الأعداد التي تم تكوينها في dash.conf. إذا كان لديك عدة ماسترنود مع كل ملف .conf الخاص بها ، أو إذا كنت ترغب في التصويت مع بعض من ماسترنود الخاص بك فقط ، يجب تغيير الأمر من تصويت-كتير إلى تصويت. إذا كان تصويتك ناجحًا ، يجب أن ترى رسالة تأكيد تقرأ تم التصويت عليها بنجاح.

../../../_images/vote-dashcore.png

التصويت من وحدة تصحيح الأخطاء في محفظة داش كور#

يمكنك أيضًا عرض قائمة من المقترحات بتنسيق JSON من وحدة التحكم لنسخ ولصق تجزئة الاقتراح للتصويت كما يلي:

gobject list

Delegating votes#

Masternodes feature a key designated only for voting, which makes it possible to delegate your vote to a representative. Simply enter a Dash address provided by the delegate when registering your masternode, or update your masternode registration to delegate the vote of a running masternode. The wallet controlling the private key to this address will then cast votes on behalf of this masternode owner simply by following the Dash Core voting procedure described above. No further configuration is required.