{"repo":"ApeWorX/ape-solidity","free":true,"listed":false,"github":"https://github.com/ApeWorX/ape-solidity","clone":"git clone https://github.com/ApeWorX/ape-solidity.git","description":"Solidity compiler plugin for the Ape Framework","language":"Python","stars":22,"topics":["python","ethereum","solidity","smart-contracts","solidity-compiler","apeworx","ape"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"Quick Start Compile Solidity contracts. Dependencies - python3 version 3.9 up to 3.12. Installation via pip You can install the latest release via pip : via setuptools You can clone the repository and use setuptools for the most up-to-date version: Quick Usage In your project, make sure you have a contracts/ directory containing Solidity files ( .sol ). Then, while this plugin is installed, compile your contracts: The byte-code and ABI for your contracts should now exist in a local .json file in a .build/ directory. Solidity Versioning By default, ape-solidity tries to use the best versions of Solidity by looking at all the source files' pragma specifications. However, it is often better to specify a version directly. If you know the best version to use, set it in your ape-config.yaml , like this: EVM Versioning By default, ape-solidity will use whatever version of EVM rules are set as default in the compiler version that gets used. Sometimes, you might want to use a different version, such as deploying on Arbitrum or Optimism where new opcodes are not supported yet. If you want to require a different version of EVM rules to use in the configuration of the compiler, set it in your ape-config.yaml like this: Dependency Mapping By default, ape-solidity knows to look at installed dependencies for potential remapping-values and will use those when it notices you are importing them. For example, if you are using dependencies like: And your source files import from openzeppelin thi","default_branch":null,"files":null,"tree":[],"storefront":"/r/ApeWorX","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ApeWorX/ape-solidity/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}