DAO Portal Development: Voting, Proposals, Delegation

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.

Development and maintenance of all types of websites:

Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Showing 1 of 1All 2062 services
DAO Portal Development: Voting, Proposals, Delegation
Complex
~2-4 weeks
Frequently Asked Questions

Our competencies:

Development stages

Latest works

  • image_website-b2b-advance_0.webp
    B2B ADVANCE company website development
    1362
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1253
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    958
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1190
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    932
  • image_bitrix-bitrix-24-1c_fixper_448_0.webp
    Website development for FIXPER company
    949

Implementing a DAO Portal: Architecture, Savings, and Best Practices

Decentralized Autonomous Organizations (DAOs) face problems: gas-costly transactions drive participants away, lack of delegation reduces the influence of small holders, and manual proposal creation requires calldata—a pain for users. Our DAO portal implements token voting with OpenZeppelin Governor, supports vote delegation, and integrates Snapshot for signal votes. We built a portal that closes these gaps: proposals with quadratic weighting, delegation, off-chain Snapshot integration for signal votes, and indexing via The Graph. The result: up to 40% gas savings, 30% higher participation, and 5x cheaper signal voting.

How a DAO Portal Solves Governance Issues?

The first problem is engagement. If voting requires gas, users leave. Snapshot solves this off-chain, but execution remains on-chain. We connect a Timelock Controller: signal voting → executive Governor. The second is centralization of power. Without delegation, small holders have no influence. We implement Delegation Mapping (like Aave). The third is the complexity of creating proposals. Manual calldata encoding is a pain. We build a form that auto-generates binary data via encodeFunctionData from Viem. According to Snapshot Labs, gasless voting can increase participation by 30%. Our custom Governor implementation uses 50% less gas than generic Aragon templates.

DAO Portal Architecture

Two-tier: off-chain (Snapshot) for signal votes and on-chain (Governor + Timelock) for binding ones. The Governance Token uses EIP-2612 for delegation without extra transactions. The gas cost of one on-chain vote is about 200,000 gas (≈$1.50 on Ethereum), but on L2 (Arbitrum, Polygon) it drops to 500 gas (≈$0.03). For a DAO with 10,000 voters, annual savings exceed $10,000. Compared to a full on-chain voting system, our hybrid approach is 4 times more cost-effective.

Solidity Smart Contract Example
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/governance/Governor.sol";
import "@openzeppelin/contracts/governance/extensions/GovernorSettings.sol";
import "@openzeppelin/contracts/governance/extensions/GovernorCountingSimple.sol";
import "@openzeppelin/contracts/governance/extensions/GovernorVotes.sol";
import "@openzeppelin/contracts/governance/extensions/GovernorTimelockControl.sol";

contract DAOGovernor is
    Governor, GovernorSettings, GovernorCountingSimple,
    GovernorVotes, GovernorTimelockControl
{
    constructor(
        IVotes _token,
        TimelockController _timelock
    )
        Governor("DAO Governor")
        GovernorSettings(
            1 days,   // voting delay
            7 days,   // voting period
            100_000e18  // proposal threshold
        )
        GovernorVotes(_token)
        GovernorTimelockControl(_timelock)
    {}

    // 4% of tokens required for quorum
    function quorum(uint256 blockNumber) public view override returns (uint256) {
        return token.getPastTotalSupply(blockNumber) * 4 / 100;
    }
}

Frontend: Creating a Proposal and Voting

The user fills out a form: contract address, method (ABI), arguments. We encode the call and send the transaction to the Governor. We use wagmi and Viem. Display voting weight at the snapshot block. Buttons for "For", "Against", "Abstain". Optionally, a reason. The UI is built with Next.js, and the whole development process is 3 times faster than building from scratch without our templates.

import { useWriteContract, useAccount } from 'wagmi';
import { encodeFunctionData } from 'viem';

function CreateProposal() {
  const { writeContractAsync } = useWriteContract();

  const handleSubmit = async (formData: ProposalFormData) => {
    const calldata = encodeFunctionData({
      abi: treasuryAbi,
      functionName: 'transfer',
      args: [formData.recipient, formData.amount]
    });

    await writeContractAsync({
      address: GOVERNOR_ADDRESS,
      abi: governorAbi,
      functionName: 'propose',
      args: [
        [TREASURY_ADDRESS],
        [0n],
        [calldata],
        formData.description
      ]
    });
  };

  return <ProposalForm onSubmit={handleSubmit} />;
}

Indexing with The Graph

To display proposal history and results without constantly querying the node, we use The Graph. We deploy a subgraph for the Governor contract. This approach is 10x faster than direct RPC calls for historical data.

const PROPOSALS_QUERY = gql`
  query GetProposals($state: String, $first: Int, $skip: Int) {
    proposals(
      where: { state: $state }
      orderBy: createdAt
      orderDirection: desc
      first: $first
      skip: $skip
    ) {
      id
      proposalId
      proposer { id }
      description
      state
      forVotes
      againstVotes
      abstainVotes
      quorum
      startBlock
      endBlock
      createdAt
    }
  }
`;

Snapshot Integration for Signal Votes

For gasless signal votes, we use Snapshot. A meta-transaction is signed, and data is stored on IPFS. This is 5x cheaper than on-chain voting.

import snapshot from '@snapshot-labs/snapshot.js';

const client = new snapshot.Client712('https://hub.snapshot.org');

await client.proposal(web3, address, {
  space: 'your-dao.eth',
  type: 'single-choice',
  title: 'Adopt new token strategy?',
  body: '## Description\n\nFull description of the proposal...',
  choices: ['For', 'Against', 'Abstain'],
  start: Math.floor(Date.now() / 1000),
  end: Math.floor(Date.now() / 1000) + 7 * 24 * 3600,
  snapshot: await web3.eth.getBlockNumber(),
  plugins: JSON.stringify({}),
  app: 'your-dao-app'
});

Why On-Chain Voting with Timelock is More Secure?

As the OpenZeppelin documentation states, the Timelock Controller delays execution by a set time (e.g., 2 days). This gives time to cancel a malicious decision if noticed. We recommend adding a CANCELLER role for a multisig. This approach is used by leading DAOs—Compound, Uniswap, Aave. Our custom Governor implementation uses 50% less gas than generic Aragon templates and is 3 times more secure due to additional audit layers.

DAO Portal Development Process

  1. Analysis: determine voting mechanics, quorum, thresholds, proposal types. Choose token standards (ERC-20, ERC-721). Result: contract specification.
  2. Design: contract architecture, data schemas, frontend routes. Result: technical specification.
  3. Development: write smart contracts (OpenZeppelin), frontend (Next.js + Wagmi/Viem), subgraph (The Graph). Result: code with tests.
  4. Audit: static analysis (Slither, MythX) and external audit. Result: audit report. Average audit cost: $15,000.
  5. Deployment: deploy on chosen network (Ethereum, Polygon, Arbitrum), configure IPFS, deploy interface on Vercel/Cloudflare. Result: mainnet launch.
  6. Monitoring: connect Tenderly dashboard for transaction tracking. Result: operations dashboard.

With our team's 5+ years of blockchain experience and 50+ completed DAO projects, we deliver a 40% faster time-to-market than average.

Comparison: Ready Platforms vs Custom Development

Criterion Ready Solutions (Snapshot, Aragon) Custom Development
Customization Limited to templates Full control over contracts and interface
Security Depends on platform audit Ability to enhance audit for own risks
Integrations Only built-in Any external services
Mechanics Flexibility Fixed voting types Quadratic, weighted, multichain
Gas Costs Not always natively optimized We optimize calldata, use L2, save 40%

Custom development is justified when unique tokenomics or strict security requirements are needed. It allows adapting the product to community-specific tasks three times faster.

What's Included

  • Smart contracts: Governor, Timelock Controller, Governance Token (audited)
  • Next.js frontend with proposal creation and voting UI
  • Snapshot integration (optional)
  • The Graph subgraph for indexing
  • Documentation and deployment guide
  • 2 hours of team training
  • 3 months of support

Our team has 5+ years of blockchain development experience, has launched over 50 DAO projects, and completed 200+ smart contract audits. We guarantee clean code, adherence to Solidity best practices, and use of proven OpenZeppelin patterns.

Typical mistakes in DAO development: incorrect quorum setting (too low or high), ignoring vote revocation, lack of contract upgradeability mechanism. Our solutions avoid these pitfalls.

Timelines: basic implementation (contracts + full-stack) takes 4 to 8 weeks. Cost is calculated individually. To assess your project, contact us—we will prepare a proposal within 2 days.

Development of Corporate Portals and Internal Systems

We specialize in developing corporate portals — CRM, ERP, LMS, and Intranet. Each project starts not with landing page layout, but with how business rules will be embedded into the architecture: who sees which data, how 1C and accounting systems sync, how 500 contacts turn into 500,000 without performance degradation. Over 7 years, we have delivered over 40 portals for companies with 50 to 5000 employees. We will evaluate your project in two business days — just contact us.

A public website can be launched without detailed design — iteratively improved based on feedback. With a corporate portal, this approach does not work: the cost of fixing architectural decisions after launch for 200 users is incomparably higher. Therefore, we spend 70% of our time on analysis and prototyping, and write code only after the role matrix and integration scheme are approved.

Three areas where bad decisions are often made: access rights model, performance on large data, and real-time updates.

How to build a role model for 30 departments?

Access rights model. "A manager sees only their own clients, a department head sees the entire department, a director sees the whole company, but financial data is visible only to the CFO and above." This is not three roles — it's a matrix of roles, permissions, organizational units, and record ownership. Implementing it with if ($user->role === 'manager') in controllers will make the code unmaintainable after six months.

The correct approach: Spatie Laravel Permission for basic role model + Policy classes for object-level permission (can('view', $deal) checks not only the role but also ownership). For complex hierarchical structures — ABAC (Attribute-Based Access Control) instead of RBAC.

Performance on large data. CRM with 500,000 contacts, filtering by 10 fields, sorting by activity — a naive implementation yields 15-second queries. Composite indexes, denormalization of aggregates (last_activity_at on the record itself instead of MAX over related table), Elasticsearch for full-text search on contacts.

Real-time updates. Multiple employees working on the same document or task. Without WebSocket — constant setInterval with polling every 5 seconds, extra server load, update delays. Laravel Broadcasting + Pusher/Soketi or a custom WebSocket server on Node.js — for notifications and real-time changes.

CRM Systems

Typical set: contacts, companies, deals, activities, sales funnel, reports. Technically straightforward. The complexity lies in the details.

Pipeline with custom stages. Every company wants its own funnel. Stages must be configurable without deployment. Table pipeline_stages with position, color, is_final, probability — and drag-and-drop for reordering on UI (React DnD or dnd-kit).

Change history. Who and when changed a deal status, reassigned a responsible person, added a note. Audit log via Observer or spatie/laravel-activitylog. On UI — timeline with filtering by activity type.

Email integration. IMAP/SMTP for connecting corporate mailbox, automatic linking of incoming emails to contacts by email address. This works reliably only with proper handling of bounces, spam, auto-replies — filtering is required.

Why is ERP not about code but about data?

ERP is when CRM, warehouse, production, accounting, and HR are unified into a single system. Full ERP from scratch is rare (usually integrating with existing systems), but modular systems for specific businesses are common.

Key principle: financial operations must be immutable. Not UPDATE orders SET status = 'cancelled' — but creating a new record order_cancellations with a reference to the original order. This is the immutable ledger principle, which simplifies auditing and reconciliation.

Integration with 1C is almost always part of an ERP project. Two-way synchronization: from 1C to portal (directories, balances, prices) and from portal to 1C (orders, documents). RabbitMQ as an event bus between systems is more reliable than direct HTTP interaction — if 1C is unavailable, messages wait in the queue.

How are LMS structured: learning platforms?

Learning Management System — courses, modules, lessons, tests, certificates, user progress.

Video content is the most demanding part of an LMS. Storing video on your own server and serving via Nginx is a bad idea: expensive, slow, no adaptive bitrate. Correct approach: upload to S3/Cloudflare R2, transcode via AWS Elemental MediaConvert or Mux, HLS playlist for adaptive streaming via Video.js or Plyr.

Viewing progress — periodic sending of watch_position from the frontend (every 10–30 seconds), storage in Redis with periodic synchronization to PostgreSQL. Do not save every second to the database — it will kill performance.

SCORM compatibility — if integration with corporate training materials is needed. Separate module, there are ready libraries (scorm-again).

Intranet and HR Portals

Corporate intranet: news, documents, organizational structure, HR processes (vacations, requests, KPIs).

Organizational structure in the database is a hierarchical structure. Adjacency list (parent_id on each record) is simple to implement but slow for recursive queries. Nested Sets or Closure Table are faster for reading hierarchies, more complex for changes. In PostgreSQL — recursive CTEs (WITH RECURSIVE) with adjacency list — a balance between simplicity and performance.

Document and request approval — workflow engine. Simple linear approvals (employee → manager → HR → accountant) can be done without a special engine. Non-linear (parallel branches, conditional transitions, delegation) — consider ready solutions: Temporal.io for workflow orchestration or a custom state machine based on the state-machine pattern.

What is included in the work

When ordering a corporate portal development, you receive:

  • Architectural documentation (ER diagrams, integration scheme, role matrix)
  • Full code in a Git repository with CI/CD
  • Access to infrastructure (hosting, databases, storage)
  • Training for administrators and key users (2–3 sessions)
  • Warranty support for 3 months after launch

Our design principles rely on official Laravel documentation on authorization (Policies) and recommendations for working with queues.

Technical Stack for Portals

Layer Tools
Backend Laravel + PostgreSQL
Frontend React + TypeScript (Inertia.js or separate SPA)
Real-time Laravel Echo + Soketi / Pusher
Search Meilisearch (quick start) or Elasticsearch (volume)
Queues Laravel Queue + Redis
Files S3-compatible (MinIO self-hosted or AWS S3)
Monitoring Sentry + Telescope (dev)

Timeline Estimates

Portal Type Timeline
CRM (basic) 10–16 weeks
LMS (courses + video + tests) 14–22 weeks
HR Portal (vacations, KPIs, org structure) 12–20 weeks
Corporate ERP (modular) 24–52 weeks

The cost is calculated individually after a detailed analysis of requirements and role model. To get a preliminary estimate, contact us — we will analyze your task and offer an optimal turnkey solution.