npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

smart-contract-very-verifier

v1.0.0

Published

Verificador de contratos inteligentes para multiples blockchains

Downloads

71

Readme

Smart Contract Very Verifier

npm version downloads

Una herramienta interactiva para verificar contratos inteligentes de manera sencilla y eficiente en múltiples blockchains.


Tabla de Contenidos


Características

  • Verificación Automática de Contratos: Permite la verificación de contratos en diversas blockchains seleccionando la versión de Solidity, la blockchain y otros parámetros de manera sencilla.
  • Detección Automática de Argumentos del Constructor: Analiza el código fuente del contrato para detectar y codificar los parámetros del constructor automáticamente.
  • Soporte para Múltiples Blockchains: Verifica contratos en Ethereum, Avalanche, Binance Smart Chain, Polygon, Arbitrum, Scroll, Base, Optimism y sus respectivas testnets.
  • Interfaz Interactiva: Prompts y menús intuitivos que facilitan la interacción del usuario con la herramienta.
  • Comentarios y Explicaciones Detalladas: Código comentado y documentado para facilitar su comprensión y personalización.

Instalación

Requisitos Previos

  • Node.js (versión 14 o superior)
  • npm (versión 6 o superior)

Instalación Global

Puedes instalar smart-contract-very-verifier de manera global usando npm:

npm install -g smart-contract-very-verifier

Uso

Una vez instalado, puedes ejecutar la herramienta desde la línea de comandos con:

smart-contract-very-verifier

Sigue las instrucciones en pantalla para verificar tus contratos inteligentes en la blockchain de tu elección.


Ejemplos

Verificar un Contrato en Avalanche Fuji Testnet

  1. Ejecuta smart-contract-very-verifier.
  2. Selecciona la opción "Fuji (Avalanche Testnet)".
  3. Ingresa tu API Key de Snowscan.
  4. Ingresa la dirección del contrato y el nombre exactamente como aparece en el código fuente.
  5. Selecciona la versión del compilador usada y la licencia deseada.
  6. La herramienta detectará automáticamente los argumentos del constructor y procederá a verificar el contrato.

Verificar un Contrato en Ethereum Mainnet

  1. Ejecuta smart-contract-very-verifier.
  2. Selecciona la opción "Ethereum".
  3. Ingresa tu API Key de Etherscan.
  4. Ingresa la dirección del contrato y el nombre exactamente como aparece en el código fuente.
  5. Selecciona la versión del compilador usada y la licencia deseada.
  6. La herramienta realizará el resto del proceso automáticamente.

Soporte de Blockchains

La herramienta soporta las siguientes blockchains y sus testnets:

  • Ethereum: Mainnet y Sepolia Testnet.
  • Avalanche: Mainnet y Fuji Testnet.
  • Binance Smart Chain: Mainnet y BSC Testnet.
  • Polygon: Mainnet y Mumbai Testnet.
  • Arbitrum: Mainnet y Arbitrum Goerli Testnet.
  • Scroll: Mainnet y Testnet.
  • Base: Mainnet y Base Goerli Testnet.
  • Optimism: Mainnet y Optimism Goerli Testnet.

Dependencias

El proyecto utiliza las siguientes librerías:

  • axios - Cliente HTTP para interactuar con las APIs de los exploradores de bloques.
  • chalk - Estilización de la salida en la consola.
  • figlet - Creación de texto en ASCII art.
  • inquirer - Creación de interfaces interactivas en la línea de comandos.
  • ora - Indicadores de carga y spinners.
  • solc - Compilador de Solidity para generar ABI y bytecode.
  • web3 - Interacción con Ethereum y codificación de argumentos ABI.

Contribución

¡Las contribuciones son bienvenidas! Por favor, sigue estos pasos:

  1. Haz un fork del repositorio.
  2. Crea una nueva rama para tu función o arreglo de bug (git checkout -b feature/nueva-funcionalidad).
  3. Realiza tus cambios y haz commit (git commit -m 'Agrega nueva funcionalidad').
  4. Sube tus cambios a tu fork (git push origin feature/nueva-funcionalidad).
  5. Abre un Pull Request en el repositorio original.

Autor

David Zapata


Notas Importantes

  • Actualizaciones: Revisa regularmente si hay actualizaciones disponibles para garantizar que estás utilizando la versión más reciente y segura de la herramienta.

Contacto

Si tienes preguntas, problemas o sugerencias, por favor abre un issue en GitHub o contáctame directamente.


¡Gracias por utilizar Smart Contract Very Verifier! Espero que esta herramienta te sea útil en tu aprendizaje y gestión de contratos inteligentes.