Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gno/dao): add social feed message create post daokit for govdao #1509

Merged
merged 34 commits into from
Feb 18, 2025

Conversation

MikaelVallenet
Copy link
Member

@MikaelVallenet MikaelVallenet commented Feb 17, 2025

i created a new file named messages_daokit, this could be rename when we remove completely the old dao systems

Example of proposal:

package main

import (
	"gno.land/p/teritori/daokit"
	"gno.land/r/teritori/govdao"
	"gno.land/r/teritori/social_feeds"
)

func main() {
	proposal := daokit.ProposalRequest{
		Title:       "Proposal to create a new post in the feed",
		Description: "The post explain the benefits of the GovDAO",
		Message: social_feeds.NewCreatePostDaokitMsg(&social_feeds.MsgCreatePostDaokit{
			FeedID:   1,
			ParentID: 0,
			Category: 1,
			Metadata: "This is a post",
		}),
	}
	govdao.Propose(proposal)
}

Copy link

netlify bot commented Feb 17, 2025

Deploy Preview for gno-dapp ready!

Name Link
🔨 Latest commit f69662f
🔍 Latest deploy log https://app.netlify.com/sites/gno-dapp/deploys/67b48fb52fa4970008148b56
😎 Deploy Preview https://deploy-preview-1509--gno-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 17, 2025

Deploy Preview for teritori-dapp ready!

Name Link
🔨 Latest commit f69662f
🔍 Latest deploy log https://app.netlify.com/sites/teritori-dapp/deploys/67b48fb5dddf860008940a80
😎 Deploy Preview https://deploy-preview-1509--teritori-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@MikaelVallenet MikaelVallenet changed the title WIP feat(gno/dao): add social feed message create post daokit for govdao feat(gno/dao): add social feed message create post daokit for govdao Feb 18, 2025
@MikaelVallenet MikaelVallenet marked this pull request as ready for review February 18, 2025 13:51
@n0izn0iz n0izn0iz merged commit 385c235 into main Feb 18, 2025
23 of 26 checks passed
@n0izn0iz n0izn0iz deleted the dev/gno/connect-social-feed branch February 18, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants