{"_id":"55tools-block","name":"55tools-block","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"55tools-block","version":"1.0.0","description":"A block tools set for working with Web3 and Ethereum smart contracts.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["web3","ethereum","smart contract"],"author":{"name":"Kasi34"},"license":"MIT","dependencies":{"web3":"^1.5.0"},"repository":{"type":"git","url":"git+https://github.com/Kasi34/55tools-block.git"},"_id":"55tools-block@1.0.0","bugs":{"url":"https://github.com/Kasi34/55tools-block/issues"},"homepage":"https://github.com/Kasi34/55tools-block#readme","_nodeVersion":"21.6.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-Jchva8jOXSaEi2ZW1x1j/qfxK8ILwSAJB2Pks4m7Ba2yEcPCD7dUGaRTpBllNq+EmbRGpCPWdflyFjOILGtIcw==","shasum":"eeba2239e6fd7a2c219470ec15446c4255bf2434","tarball":"https://registry.npmjs.org/55tools-block/-/55tools-block-1.0.0.tgz","fileCount":3,"unpackedSize":4830,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXxShfkR3RKAW0z6jGzCcF/d50cRSYmTQHiTwHXfG5IQIgD1kO7AlvYhOEW7Xs4gDKNZJ5Dio5Ke8U57Au2JaA95A="}]},"_npmUser":{"name":"ksu.avdeeva","email":"ksu.avdeeva.19@gmail.com"},"directories":{},"maintainers":[{"name":"ksu.avdeeva","email":"ksu.avdeeva.19@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/55tools-block_1.0.0_1710530050244_0.838744895241802"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-15T19:14:10.243Z","1.0.0":"2024-03-15T19:14:10.408Z","modified":"2024-03-15T19:14:10.933Z"},"maintainers":[{"name":"ksu.avdeeva","email":"ksu.avdeeva.19@gmail.com"}],"description":"A block tools set for working with Web3 and Ethereum smart contracts.","homepage":"https://github.com/Kasi34/55tools-block#readme","keywords":["web3","ethereum","smart contract"],"repository":{"type":"git","url":"git+https://github.com/Kasi34/55tools-block.git"},"author":{"name":"Kasi34"},"bugs":{"url":"https://github.com/Kasi34/55tools-block/issues"},"license":"MIT","readme":"55tools-block is a collection of utilities for interacting with Web3 and Ethereum smart contracts.\n\n\n## Features\n\n- Fetch the latest block number on the Ethereum blockchain.\n- Get the balance of an Ethereum address.\n- Call methods of Ethereum smart contracts.\n\n## Installation\n\nYou can install Simple Web3 Project via npm:\n\n```bash\nnpm install 55tools-block\n```\n## Usage\n\nconst Web3Tools = require('55tools-block');\n\n// Initialize Web3Tools with your Ethereum provider URL\nconst web3Tools = new Web3Tools('https://mainnet.infura.io/v3/your-infura-project-id');\n\n// Example usage:\nasync function exampleUsage() {\n    try {\n        // Get the current block number\n        const blockNumber = await web3Tools.getBlockNumber();\n        console.log('Current block number:', blockNumber);\n\n        // Get the balance of an Ethereum address\n        const balance = await web3Tools.getBalance('0x1234567890123456789012345678901234567890');\n        console.log('Balance:', balance);\n\n        // Deploy a smart contract\n        const deployedContract = await web3Tools.deployContract(abi, bytecode, '0xYourAddress', 3000000);\n        console.log('Deployed contract:', deployedContract);\n    } catch (error) {\n        console.error('Error:', error);\n    }\n}\n\nexampleUsage();\n\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Acknowledgments\n\nWeb3.js - https://github.com/ethereum/web3.js/\njavascript\n","readmeFilename":"README.md"}