Solidity

Solidity logo

Solidity é uma linguagem de alto nível para implementação de smart contracts. Ela foi influenciada por C++, Pythom e JavaScript e feita para rodar na Ethereum Virtual Machine (EVM).

Solidity é estaticamente tipada, suporta herança, bibliotecas e tipos complexos definidos pelo usuário entre outros recursos.

Como você verá, é possível criar contratos para a votação, crowdfunding, leilões, carteiras multi-assinatura e muito mais.

Nota

A melhor maneira de experimentar a Solidity agora é usando o Remix (Pode levar algum tempo para carregar, seja paciente).

Tradução

Esta documentação é traduzida em vários idiomas por voluntários da comunidade, mas a versão em inglês é a principal referência.

Available Solidity Integrations

  • Remix
    Browser-based IDE with integrated compiler and Solidity runtime environment without server-side components.
  • IntelliJ IDEA plugin
    Solidity plugin for IntelliJ IDEA (and all other JetBrains IDEs)
  • Visual Studio Extension
    Solidity plugin for Microsoft Visual Studio that includes the Solidity compiler.
  • Package for SublimeText — Solidity language syntax
    Solidity syntax highlighting for SublimeText editor.
  • Etheratom
    Plugin for the Atom editor that features syntax highlighting, compilation and a runtime environment (Backend node & VM compatible).
  • Atom Solidity Linter
    Plugin for the Atom editor that provides Solidity linting.
  • Atom Solium Linter
    Configurable Solidty linter for Atom using Solium as a base.
  • Solium
    A commandline linter for Solidity which strictly follows the rules prescribed by the Solidity Style Guide.
  • Solhint
    Solidity linter that provides security, style guide and best practice rules for smart contract validation.
  • Visual Studio Code extension
    Solidity plugin for Microsoft Visual Studio Code that includes syntax highlighting and the Solidity compiler.
  • Emacs Solidity
    Plugin for the Emacs editor providing syntax highlighting and compilation error reporting.
  • Vim Solidity
    Plugin for the Vim editor providing syntax highlighting.
  • Vim Syntastic
    Plugin for the Vim editor providing compile checking.

Discontinued:

  • Mix IDE
    Qt based IDE for designing, debugging and testing solidity smart contracts.
  • Ethereum Studio
    Specialized web IDE that also provides shell access to a complete Ethereum environment.

Solidity Tools

  • Dapp
    Build tool, package manager, and deployment assistant for Solidity.
  • Solidity REPL
    Try Solidity instantly with a command-line Solidity console.
  • solgraph
    Visualize Solidity control flow and highlight potential security vulnerabilities.
  • evmdis
    EVM Disassembler that performs static analysis on the bytecode to provide a higher level of abstraction than raw EVM operations.
  • Doxity
    Documentation Generator for Solidity.

Third-Party Solidity Parsers and Grammars

Documentação da Linguagem

Nas proximas páginas, primeiro veremos um simples smart contract escrito em Solidity seguido pelo básico sobre blockchains e Ethereum Virtual Machine.

A próxima seção explicara várias features do Solidity e suas vantagens contrato exemplo Lembre-se você pode testar seus contractos no seu navegador!

A última e mais extensa seção abordará todos os aspectos da Solidity em profundidade.

If you still have questions, you can try searching or asking on the Ethereum Stackexchange site, or come to our gitter channel. Ideas for improving Solidity or this documentation are always welcome!

Contents

Keyword Index, Search Page