Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

lukechampine.com/us-bindings

Package Overview
Dependencies
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lukechampine.com/us-bindings

Go Modules
Version
v0.0.0-20210309223530-539a1344f2e6
Version published
Created
Source

us-bindings

Various bindings for us. Highly experimental.

Contracts

The bindings accept contracts in the form of a 96-byte array, consisting of the host public key, file contract ID, and renter secret key. The easiest way to acquire such a contract is via user:

user form [host key] 100SC 1000 example.contract
xxd -ps -s 12 -l 96 example.contract | tr -d '\n'

This will print the contract as a 192-byte hex string. You can convert this to a QR code using a local program/library or any number of online generator services.

It is also possible to convert siad contracts to this format, but it's a little trickier. I will provide a script to perform the conversion upon request.

FAQs

Package last updated on 09 Mar 2021

Did you know?

Socket

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.

Install

Related posts