Skip to main content

16 docs tagged with "solidity"

View all tags

Coding Standards

This guide outlines the coding standards and best practices for developing smart contracts in the Meta Contract project. Adhering to these standards ensures consistency, readability, and maintainability across the codebase.

DevKit API Details

This section provides detailed documentation for the Solidity contracts and libraries that make up the Meta Contract DevKit.

ERC-1155 Example

This example demonstrates how to implement an ERC-1155 multi-token standard using Meta Contract.

ERC-20 Example

This example demonstrates how to implement an ERC20 token using Meta Contract.

ERC-4337 Example

This example demonstrates how to implement ERC-4337, focused on account abstraction.

ERC-721 Example

This example demonstrates how to implement an ERC-721 token using Meta Contract.

Examples

This section contains examples that guide you through various implementations of smart contracts and decentralized applications using the Meta Contract framework.

Examples of DeFi

This section provides examples of implementing various DeFi protocols, such as lending, borrowing, and staking.

Simple DAO Example

This example demonstrates a simple DAO structure in Solidity, including a voting mechanism for proposals and handling votes.

Simple DEX Example

This example demonstrates a simple decentralized exchange (DEX) using Solidity, including liquidity pool management and token swapping mechanism.

Stable Credit Example

This example demonstrates a stablecoin system using Solidity, including stablecoin issuance and redemption, pegging mechanisms, and credit scoring.

Test Strategy

This document outlines the comprehensive test strategy for the Meta Contract smart contracts. It provides guidelines for writing and maintaining tests, ensuring code quality, and optimizing gas usage.

TextDAO Example

This example demonstrates a TextDAO structure in Solidity, including a voting mechanism for proposals and handling votes.