Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bittorrent/btfs-status-contract
https://github.com/bittorrent/btfs-status-contract
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/bittorrent/btfs-status-contract
- Owner: bittorrent
- Created: 2022-06-30T06:48:16.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-07T11:28:18.000Z (over 2 years ago)
- Last Synced: 2024-03-29T08:51:56.114Z (9 months ago)
- Language: Solidity
- Size: 20.5 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# btfs-status-contract
## Deploy
deploy btfs status contract to BTTC network, copy the code of contracts to Remix, deploy it with metamask
## Operation
deploy contracts will generate one contract:BtfsStatus
1. call BtfsStatus:reportStatus(...) to report status info from host node.
2. call BtfsStatus:getStatus(peer) to get status info.# Basic Sample Hardhat Project
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.
Try running some of the following tasks:
```shell
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/deployAutoProxy.js
npx hardhat help
```