![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
For converting Ethereum smart contract ABIs into interactive HTML user interface.
PyContractUI is a Python package that simplifies the process of creating interactive HTML user interfaces for Ethereum smart contracts. It automates the conversion of smart contract ABIs into web-based UIs, making it easier for developers to build GUIs .
You can install PyConttractUI using pip:
pip install py-contract-ui
If you want to interact with your smart contracts you might want to generate the GUI on a local server (without exporting it). If you want to export the GUI please read the next section.
To start the server you can execute the command below in the same folder where your smart contract ABI is located:
contract-ui-gen --serve
For example, if your ABIS is placed on the folder named contract/abis first you have to navigate into the folder contract/abis and then execute the command above command After running the local server, the GUI is available on the URL http://0.0.0.0:8000
If you want instead to specify a custom path of the directory of the smart contract ABIs, you can add the optional parameter as per below:
contract-ui-gen --contract /contracts/abis --serve
The command above generates the GUI using the ABI found in the folder contracts/abis
You can export your smart contract ABIs into HTML using the below command
contract-ui-gen
The command will create a folder with the GUI in the directory where the command has been executed. Alternatively, you can add optional parameters to the source folder of the ABI and/or the destination folder where the GUI has to be exported to. For example:
contract-ui-gen --contract /contracts/abis --output gui_output
The command above generates the GUI using the ABI found in the folder /contracts/abis and exports to the gui_output folder
FAQs
For converting Ethereum smart contract ABIs into interactive HTML user interface.
We found that py-contract-ui demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.