{"_id":"@0xbudisantoso/ether-test","name":"@0xbudisantoso/ether-test","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"dependencies":{"hello-npm-tito":"^1.0.5"},"name":"@0xbudisantoso/ether-test","description":"## Overview","version":"1.0.0","main":"index.js","devDependencies":{},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/a1budisantoso/ether-test.git"},"author":"","license":"ISC","bugs":{"url":"https://github.com/a1budisantoso/ether-test/issues"},"homepage":"https://github.com/a1budisantoso/ether-test#readme","_id":"@0xbudisantoso/ether-test@1.0.0","gitHead":"111d64dd2c6dac76218b7ee84823630476112f85","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-JzI/P54J5xd5dkRJoU/sBAUnvPrIjVD0BbDAwpxhxQkAkoIEjmq0yvfpP5t4ESqOGKzaAFSZWqHa/dt6UQ9INA==","shasum":"b3c207154bc8d764a7b4cbaee50c7d3601c810bc","tarball":"https://registry.npmjs.org/@0xbudisantoso/ether-test/-/ether-test-1.0.0.tgz","fileCount":15,"unpackedSize":278862,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHhdTYIanqOivSwWQJJGjJbOwSHkhVTbx57LSBsHDh95AiBh8BXNyqFB/OkwjIMQWxFJ4K93tD2vl8X/8OOp2OAWnw=="}]},"_npmUser":{"name":"0xbudisantoso","email":"a1budi.santoso@gmail.com"},"directories":{},"maintainers":[{"name":"0xbudisantoso","email":"a1budi.santoso@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ether-test_1.0.0_1710490144242_0.49820023655279555"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-15T08:09:04.171Z","1.0.0":"2024-03-15T08:09:04.445Z","modified":"2024-03-15T08:09:04.973Z"},"maintainers":[{"name":"0xbudisantoso","email":"a1budi.santoso@gmail.com"}],"description":"## Overview","homepage":"https://github.com/a1budisantoso/ether-test#readme","repository":{"type":"git","url":"git+https://github.com/a1budisantoso/ether-test.git"},"bugs":{"url":"https://github.com/a1budisantoso/ether-test/issues"},"license":"ISC","readme":"# Go Ethereum Test Suite\n\n## Overview\n\nThis project contains a suite of tests written in Go for interacting with Ethereum smart contracts and performing various blockchain-related operations. The tests demonstrate how to connect to the Ethereum network, send transactions, and interact with a custom smart contract.\n\n## Prerequisites\n\n- Golang: Ensure you have Go installed on your system. [Download Go](https://golang.org/dl/)\n- Ethereum Node: Access to an Ethereum node is required. This can be either a local node or a remote service \n- Solidity Contract: A deployed instance of the smart contract on the Ethereum network.\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/filswan/ether-test\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd ether-test\n   ```\n3. Install dependencies:\n   ```bash\n   go mod tidy\n   ```\n\n## Configuration\n\nSet up your `.env` file with the necessary environment variables:\n\n```\nSENDER_PRIVATE_KEY=your_private_key\n```\n\n## Test Files\n\n- `ethclient_test.go`: Demonstrates how to connect to an Ethereum client and fetches basic blockchain data like the latest block number and network ID.\n\n- `ethclient_fund_test.go`: Contains tests for transferring Ether to an Ethereum address. It demonstrates how to construct, sign, and send transactions.\n\n- `config_test.go`: (Provide a brief description of what this file does).\n\n## Running Tests\n\nTo run the tests, use the following command:\n\n```bash\ngo test -v ./...\n```\n","readmeFilename":"readme.md"}