### Setup: Install Dependencies Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Installs project dependencies using Yarn, a JavaScript package manager. This command fetches all necessary libraries and tools required to run and build the project. ```bash yarn ``` -------------------------------- ### Setup: Copy Environment File Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Copies the example environment file to a new file named .env, which should be used for local configuration. This is a standard practice for managing sensitive credentials and settings. ```bash cp .env.example .env ``` -------------------------------- ### Setup: Environment Variables Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Defines the required environment variables for the project. These typically include API keys and private keys necessary for interacting with the Ginco platform and blockchain. ```txt PRIVATE_KEY="" GINCO_API_KEY="" ``` -------------------------------- ### Command: Get Account Balance Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Fetches the balance of an account on the specified network ('holesky'). This command is essential for checking token holdings or native currency balances. ```bash yarn getBalance --network holesky ``` -------------------------------- ### Command: Get Chain Information Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Retrieves information about the specified blockchain network ('holesky'). This command is useful for checking network status, block numbers, and other chain-specific details. ```bash yarn getChainInfo --network holesky ``` -------------------------------- ### Command: Compile Smart Contracts Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Compiles the smart contracts within the project. This step is crucial before deployment to ensure the contracts are correctly built and validated. ```bash yarn compile ``` -------------------------------- ### Command: Run Tests Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Executes the test suite for the project. This command runs automated tests to verify the functionality and integrity of the smart contracts and application logic. ```bash yarn test ``` -------------------------------- ### Command: Deploy Smart Contract Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Deploys a specific smart contract ('Lock') to a designated network ('holesky'). This command utilizes Hardhat or a similar framework for deployment. ```bash yarn deploy:Lock --network holesky ``` -------------------------------- ### Command: Verify Smart Contract Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Verifies a deployed smart contract on the blockchain. This process typically involves uploading the source code to a block explorer for public verification. ```bash yarn verify chain-1946 ``` -------------------------------- ### Command: Call Write Method Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Executes a state-changing method on a smart contract. This command is used to perform transactions that modify the blockchain's state. ```bash yarn callWriteMethod --network holesky ``` -------------------------------- ### Command: Call Read-Only Method Source: https://github.com/mashharuki/ginco-one-platform-sample/blob/main/README.md Executes a read-only method on a smart contract. This command is used to query data from the blockchain without altering its state. ```bash yarn callReadMethod --network holesky ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.