---
# System prepended metadata

title: IPFS Metadata
tags: [Product]

---

---
tags: Product
---

# IPFS Metadata


### Off chain voting

json on ipfs








NO GOOD:
can we easily query by the moloch cid?

```javascript=
moloch: {
    molochAddress: string,
}

proposal: {
    moloch: link = proposal.cid,
    offChain: boolean = true,
    proposalId: number = arbitrary,
    proposalIndex: number = arbitrary,
    molochAddress: string,
    details: string OR
        title: string,
        description: string,
        link: string,
    votingPeriodStarts: string = seconds,
    votingPeriodEnds: string = seconds,
    gracePeriodStarts: string = seconds,
    proposer (or memberAdress): string = adddress,
    createdAt: string = seconds
} 

vote: {
    proposal: link = proposal.cid,
    memberAddress: string,
    uintVote: number,
    molochAddress: string,
    createdAt: string = seconds
}

```

sponsor flow too?


Server:
- generate signatures
- validate client signed signatures
- validate address is a dao member

- create proposal

- query and build meaningful res for fe



### metadata
- could dump the json file just like s3
- would be in a directory - need a way to indicate the newest







Needs
- ipfs node vs. pinata




inputs
- app.daohaus.club

outputs
- app.daohaus.club

potential:
https://filecoin.io/
https://ceramic.network/