import { Button, Input } from "antd"; import { ContentLayout } from "../../../../Components/ContentLayout"; import { NewcoinRecept } from "../../../../Components/Recepts"; import { ProgressButton } from "../../../../Components/ProgressButton"; import { useActions, useAppState } from "../../../../overmind"; import { useForm } from "antd/lib/form/Form"; import { useState } from "react"; import Form from "antd/lib/form"; const DaoCreate = () => { const [form] = useForm(); const actions = useActions(); const state = useAppState(); const [tx, setTx] = useState(""); return (

{" "} Create your own DAO

actions.newcoin.daoCreate(v).then(({ TxID_createDao }: { TxID_createDao: string }) => setTx(TxID_createDao)) } wrapperCol={{ span: 24 }} autoComplete="off" >
Describe your dao. The description is stored onchain and cannot be changed.
Create DAO
actions.routing.historyPush({ location: "/dao/" + state.api.auth.user?.username })} tx={tx} visible={!!tx} >

Congratulations, your own DAO is live!


Start by creating a whitelist proposal for the first person you would like to participate in DAO decisions.

Are they still not on Newlife? Click below to invite them!

); }; export default DaoCreate;