tls-n / Tlsnutils
Licence: mit
Solidity Library for parsing and verifying TLS-N proofs.
Stars: ✭ 13
Programming Languages
javascript
184084 projects - #8 most used programming language
solidity
1140 projects
Labels
Projects that are alternatives of or similar to Tlsnutils
Adchainregistrydapp
Decentralized Application to interact with the adChain Registry Smart Contracts
Stars: ✭ 23 (+76.92%)
Mutual labels: ethereum
Finch
An Open Source Cryptocurrency Payment Processor.
Stars: ✭ 27 (+107.69%)
Mutual labels: ethereum
Miner Manager
Miner Manager for nVidia and/or AMD RX GPUs
Stars: ✭ 11 (-15.38%)
Mutual labels: ethereum
Node
Stampery API for NodeJS. Notarize all your data using the blockchain
Stars: ✭ 23 (+76.92%)
Mutual labels: ethereum
Multy Back
Back-end of the Multy - mobile multy-blockchain wallet.
Stars: ✭ 26 (+100%)
Mutual labels: ethereum
Ruby To Solidity
(Secure) Ruby to Solidity (Source-to-Source) Cross-Compiler Cheat Sheet / White Paper
Stars: ✭ 7 (-46.15%)
Mutual labels: ethereum
Wanx
Utility for making crosschain transactions on the Wanchain network
Stars: ✭ 12 (-7.69%)
Mutual labels: ethereum
Stromdao Businessobject
Abstract BusinessObject for StromDAO Energy Blockchain. Abstraction layer between blockchain technology and business logic providing energy market related entities and use cases.
Stars: ✭ 10 (-23.08%)
Mutual labels: ethereum
Aeternity
æternity: solving scalability problems by making sense of state-channels
Stars: ✭ 923 (+7000%)
Mutual labels: ethereum
Gdai.io
gDAI - Gas less DAI transfers by using GSN, Fulcrum and KyberNetwork
Stars: ✭ 26 (+100%)
Mutual labels: ethereum
Token Core Ios
a blockchain private key management library on iOS
Stars: ✭ 850 (+6438.46%)
Mutual labels: ethereum
Smartift Contract
The solidity code for the SIFT smart contract.
Stars: ✭ 11 (-15.38%)
Mutual labels: ethereum
Awesome Blockchain
⚡️Curated list of resources for the development and applications of blockchain.
Stars: ✭ 937 (+7107.69%)
Mutual labels: ethereum
Wait Transaction
A promisified web3.eth.sendTransaction that waits for confirmation.
Stars: ✭ 12 (-7.69%)
Mutual labels: ethereum
Textmessage.eth
Send SMS Text Messages within the Ethereum Blockchain - TextMessage.ETH
Stars: ✭ 11 (-15.38%)
Mutual labels: ethereum
TLS-N Utility Library
Overview
This library allows the verification and parsing of TLS-N proofs. This version supports proofs with chunk-level granularity signed by a TLS certificate using secp256r1. The TLS-N Utility Library makes use of solidity-bytesutils to parse the proofs.
Examples
Verifying a proof
bytes memory proof = '\x20\x00\x10....
bool res = tlsnutils.verifyProof(proof);
Getting the generator's response
bytes memory proof = '\x20\x00\x10....
bytes memory response = tlsnutils.getResponse(proof);
Getting the requested URL in case of HTTP
bytes memory proof = '\x20\x00\x10....
bytes memory url = tlsnutils.getHTTPRequestURL(proof);
Getting the generator's HTTP body (the HTTP response) in case of HTTP
bytes memory proof = '\x20\x00\x10....
bytes memory body = tlsnutils.getHTTPBody(proof);
Full Example
For a full example of the library in action, please see BTCPriceFeed.
Ropsten Deployment
The tlsnutils library is deployed on Ropsten (Ethereum's test network) at address 0x92522f31816307715736bf49062f6edd80187bbf.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].