
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
github.com/douglasmakey/blockchain
Simple example to understand and learn about Blockchain.
go build
Next
$ ./blockchain history
Mining the block with data "GenesisBlock"
00002bcb38688ce4b1ca7b4b7dd28a079d5de93c01e8fae26e326f8b1c983fc3
Prev. hash:
Data: GenesisBlock
Hash: 00002bcb38688ce4b1ca7b4b7dd28a079d5de93c01e8fae26e326f8b1c983fc3
PoW Validation: true
$ ./blockchain add -data "Pay 1 BTC for a car"
Mining the block with data "Pay 1 BTC for a car"
0000613f831bf20420fe5465405b23631d5422514161d8fa9db4b1abe69d6d1b
Done!
$ ./blockchain history
Prev. hash: 00002bcb38688ce4b1ca7b4b7dd28a079d5de93c01e8fae26e326f8b1c983fc3
Data: Pay 1 BTC for a car
Hash: 0000613f831bf20420fe5465405b23631d5422514161d8fa9db4b1abe69d6d1b
PoW Validation: true
Prev. hash:
Data: GenesisBlock
Hash: 00002bcb38688ce4b1ca7b4b7dd28a079d5de93c01e8fae26e326f8b1c983fc3
PoW Validation: true
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.