create
π RADAR Documentation - Command: Create Proposal
π€ Command Group: votes
π Command Name: create
π Parameters:
title(required: True) - The title of the proposal. (Type: string)description(required: True) - The description of the proposal. (Type: string)options(required: True) - Comma-separated list of options. Example: "Yes,No,Maybe". (Type: string)mode(required: True) - Voting mode: NFT-Based, Role-Based, or Simple. (Type: string)channel(required: False) - The channel where the proposal will be created. (Type: channel)image(required: False) - Image URL for the proposal. (Type: string)thumbnail(required: False) - Thumbnail URL for the proposal. (Type: string)captcha(required: False) - Protect the proposal with a captcha. (Type: boolean)password(required: False) - Protect the proposal with a password. (Type: string)payment(required: False) - Protect the proposal with a SOL/SPL payment. (Type: boolean)multi(required: False) - Allow users to vote for multiple options at once. (Type: boolean)duration(required: False) - The deadline for voting. (Type: integer)duration_unit(required: False) - The time unit of the duration. (Type: string)
π Description:
Create a proposal for voting.
π Example Usage:
Create a proposal:
!create --title "New Feature Proposal" --description "Vote for adding a new feature" --options "Yes,No" --mode "NFT-Based" --channel #voting-channelThis command is used to create a proposal for voting. You need to provide the title and description of the proposal, a comma-separated list of options, the voting mode (NFT-Based, Role-Based, or Simple), and optionally specify the channel where the proposal will be created.
π Note:
This command allows you to create a proposal for voting in your Solana NFT community.
Specify the
titleparameter as the title of the proposal.Specify the
descriptionparameter as the description of the proposal.Specify the
optionsparameter as a comma-separated list of options for the vote.Specify the
modeparameter as the voting mode: NFT-Based, Role-Based, or Simple.Optionally, provide the
channelparameter to specify the channel where the proposal will be created. If not provided, the default proposal channel for
Last updated
Was this helpful?