# Response to [0xTaylor](https://x.com/0xTaylor_) tweet https://x.com/0xTaylor_/status/1816552157111517440
## AMI Bounty Program on Telegram (Private)
The following are messages from `## <NAME> - <DATE>`
### Luke Schoen - 1st April 2024
* i got a direct message from William from Paraverse Talisman Signet https://forum.polkadot.network/t/decentralized-voices-program-william/6099.
he expressed interest in the background and goals associated with the efforts we're making in terms of creating legal clauses for bounties, and he noticed the clause at the end of the AMI bounty document.
i'm guessing that some wallets that include a governance feature will want to allow users to seamlessly choose from different legal templates/clauses to add to bounty related posts.
### Luke Schoen - 2nd April 2024
* so i attended the OpenGov.Watch Office Hours https://x.com/alice_und_bob/status/1775090340011135405?s=20
i asked if there were already any child bounty templates available.
user with username @jeeper said they'd be publishing those templates (they use Google Forms) in the next couple of weeks.
they'll also be publishing a list of all activate bounties and requirements.
i said i was going to create forms using Polkawallet, but they suggested that if we wanted to integrate those forms to integrate the forms into Polkassembly
---
* FYI, i got Polkassembly running locally created a pull request to update their readme https://github.com/polkassembly/polkassembly/pull/1503/files
### Luke Schoen - 3rd April 2024
below is my understanding of the flow from a bounty proposer/beneficiary creating a bounty proposal/referendum, then parent bounty allocating a curator to the bounty after the bounty is approved, and awarding tasks of that active bounty as child bounties to the curator and proposer/beneficiary:
* community member reviews published Child Bounty Tracker https://docs.google.com/spreadsheets/d/1AVvphW_bOEss5mW365uwy2A8kQXmM-Y9qPHSB6RcmKI to view Wishlist opportunities and those already prepared into an RFP
* community member proposer wishing to use the AMI Bounty Program would create a Discussion https://polkadot.polkassembly.io/post/create, where we'd ask them to associate it with a topic called "AMI Bounty Program" and tag the discussion appropriately.
if they choose the "AMI Bounty Program" topic it would allow them to choose from a selection box one of our MMA-related templates that they wish to use to initiate the discussion with
* TODO:
* "AMI Bounty Program" would be a new topic that i'd need to create a Pull Request to add to Polkassembly/Subsquare
* the selection box and choice of templates would require preparation of templates (guiding them toward an RFP structure) and a Pull Request to add them and associated functionality to Polkassembly/Subsquare
* community member proposer then follows this guide https://www.youtube.com/watch?v=8Cft1-8RWmk to create a Bounty Proposal based on the Discussion and Wishlist item (that may or may not yet have had an RFP created and associated with it), and when they go into Polkassembly to edit that Bounty Proposal ID we could again ask them to associate it with a topic called "AMI Bounty Program" and tag the proposal appropriately.
* if they choose the "AMI Bounty Program" topic it would allow them to choose from a selection box one of our MMA-related templates that they wish to use to initiate the proposal with and click "Submit" to update the proposal.
* TODO:
* currently editing a Proposal doesn't allow adding a topic, or tags, so that'd need a Pull Request to add to Polkassembly/Subsquare
* the selection box and choice of templates would require preparation of templates (RFP structure) and a Pull Request to add them and associated functionality to Polkassembly/Subsquare
* then they'd use Polkadot.js to submit the Bounty Proposal with the preimage associated with it and choose a the Bounty spending track
* that'd add the Bounty Proposal as a Referenda under the chosen Bounty Track in Polkadot.js.
* then they could place the decision deposit.
* then they can go back into Polkassembly to edit that Bounty Referendum ID. we could again ask them to associate it with a topic called "AMI Bounty Program" and tag the proposal appropriately.
* if they choose the "AMI Bounty Program" topic it would allow them to choose from a selection box one of our MMA-related templates that they wish to use to invite comments from the community with.
* note: the current bounty proposal guide here https://wiki.polkadot.network/docs/learn-guides-bounties has only a single template.
* TODO:
* currently editing a Referendum doesn't allow adding a topic, or tags, so that'd need a Pull Request to add to Polkassembly/Subsquare
* the selection box and choice of templates would require preparation of templates (RFP structure) and a Pull Request to add them and associated functionality to Polkassembly/Subsquare
* the templates would need a breakdown of tasks, since each task would correspond to a child bounty that would be associated with a curator and that could be awarded to a beneficiary
* wait for the Bounty Referendum to be an approved bounty with status Bounty (Funded) and listed on the Bounties page
* parent curator (multisig) then follows this guide https://www.youtube.com/watch?v=mLpvx0OQoyM to proposal to assign a Curator (multisig) to the Bounty Approved/Funded and wait for it to be approved so the bounty status changes from Bounty (Funded) to Bounty (Active) so associated funds may be accessed and awarded to the community member proposer of bounty through child bounties based on completion of the Bounty (Active) tasks
* award a child bounty to the curator and beneficiary using a batch call by following this guide https://youtu.be/mLpvx0OQoyM?feature=shared&t=151
* add a child bounty of a specific value
* propose/accept the curator for the child bounty of the bounty
* award the child bounty to a beneficiary
* questions
1) which of the above TODO features do we want, if any?
2) how does the the Bounty Proposal template need to differ from the Bounty Referendum template, if at all? do they both need to contain the same breakdown of tasks that will become its potential child bounties?
---
* Child Bounty User Flow https://docs.google.com/spreadsheets/d/1JRgaMGyEN2jgPNMslkMPWrtrgJXC6xxR8NzPeAcWfAY
---
so when you create a Discussion in Polkassembly, and likewise with Proposals and Referendum, it uses a ContentForm component, which uses this TextEditor component here https://github.com/polkassembly/polkassembly/blob/main/src/ui-components/TextEditor.tsx
where that TextEditor uses a TinyMCE library (tinymce-react), which offers an "Advanced Templates" feature, as shown in this video https://www.youtube.com/watch?v=lG2CVnYCObY
there's a interactive demo showing how you can use example "Advanced Templates" here https://codepen.io/pen.
Try it in the preview window, by going to "Insert > Template...", choose a template, and click "Insert"
but for that "choose a template" functionality, Polkassembly would have to be using TinyMCE Professional edition, which cost $130/month.
the extensive formatting options would be amazing.
i think we should discuss this at an AAG meeting or mention it at OpenGovWatch.
note: I haven't looked into OpenGov on Subsquare
Links:
* TinyMCE pricing plans - https://www.tiny.cloud/pricing/
* TinyMCE technical docs - https://www.tiny.cloud/docs/tinymce/6/template/
---
Subsquare does it differently from Polkassembly in that it doesn't allow you to select a "Topic" when you create a Discussion, but lets you add labels (like tags), but only up to 2 of them for some reason
Subsquare uses their own custom open-source OSN Rich Text Editor here https://github.com/ltfschoen/subsquare/blob/main/packages/next-common/components/editor/index.jsx#L15
The open-source source code is here https://github.com/opensquare-network/rich-text-editor/
## @jeeper on X (Private chat on)
### Luke Schoen - 12th April 2024
Confidential discussion.
Summary: I originally asked @jeeper if he ended up publishing the templates yet for OpenGov that we discussed at the AMA with @alice_und_bob. The discussion continued until 25th April 2024.