![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Here we have "Language Server" functions for Solidity via the npm package solc
.
The functions are the underlying workhorse function that would be used to implement the Microsoft Language Server Protocol Specification which is defined here.
To get started and make sure what we have is complete, there is a prototype using this on the client side to provide a VSCode extension for Solidity.
I hope to incorporate this in the remix, etheratom, VSCode solidity and other JavaScript projects that benefit from the information in Solidity's AST.
You need to have installed:
One of the npm dependencies is solc
. This npm package has a dependency on the scrypt
cryptographic package. Nodejs version 12
doesn't work with this. See https://github.com/barrysteyn/node-scrypt/issues/193. I developed and tested this on node version 10.16.0.
When used as a client library with the VSCode extension, I also needed to replace script.js
with script-js
which is currently in the web3-eth-accounts
package. Otherwise, VSCode will crash silently. When used inside VSCode with the language server protocol, this won't happen.
$ npm install solc-lsp
Clone the repository.
$ git clone https://github.com/rocky/solc-lsp.git
Cloning into 'solc-lsp
remote: Enumerating objects: 169, done.
...
$ cd solc-lsp
$ npm install
$ npm test
This code runs solc
. Specific versions of the Solidity compiler are downloaded when it is detected they are needed.
A big thanks to my employer, ConsenSys, for giving me the opportunity to work on this and providing the funding for this project.
FAQs
A library for Solidity LSP functions
The npm package solc-lsp receives a total of 5 weekly downloads. As such, solc-lsp popularity was classified as not popular.
We found that solc-lsp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.