Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Lighthouse <img src="https://img.shields.io/badge/v0.4.3-green"/>
# Lighthouse <img src="https://img.shields.io/badge/v0.4.4-green"/>

Lighthouse is a permanent decentralized file storage protocol that allows the ability to pay once and store forever. While traditionally, users need to repeatedly keep track and pay for their storage after every fixed amount of time, Lighthouse manages this for them and makes sure that user files are stored forever. The aim is to move users from a rent-based cost model where they are renting their own files on cloud storage to a permanent ownership model. It is built on top of IPFS, Filecoin, and Polygon. It uses the existing miner network and storage capacity of the filecoin network.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lighthouse-web3/sdk",
"version": "0.4.3",
"version": "0.4.4",
"description": "NPM package and CLI tool to interact with lighthouse protocol",
"main": "./dist/Lighthouse/index.js",
"types": "./dist/Lighthouse/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Command.prototype.helpInformation = function (context: any) {
}

widgets.addHelpText('before', 'Welcome to lighthouse-web3')
widgets.version('0.4.3')
widgets.version('0.4.4')

widgets
.command('wallet')
Expand Down
51 changes: 0 additions & 51 deletions src/Commands/podsi.ts

This file was deleted.

22 changes: 3 additions & 19 deletions src/Lighthouse/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,27 @@ import getFileInfo from './getFileInfo'
import createWallet from './createWallet'
import deleteFile from './deleteFile'

// Pay per deal
import fund from './payPerDeal/fund'
import getPrice from './payPerDeal/getPrice'
import oneTimeAuth from './payPerDeal/oneTimeAuth'

// Encryption
import shareFile from './encryption/shareFile'
import getAuthMessage from './encryption/getAuthMessage'
import revokeFileAccess from './encryption/revokeFileAccess'
import fetchEncryptionKey from './encryption/fetchEncryptionKey'
import applyAccessCondition from './encryption/applyAccessCondition'
import getAccessConditions from './encryption/getAccessConditions'

// Upload
import upload from './upload/files'
import uploadText from './upload/text'
import uploadBuffer from './upload/buffer'
import uploadCAR from './upload/car'
import decryptFile from './uploadEncrypted/decrypt'
import uploadEncrypted from './uploadEncrypted/encrypt/file'
import textUploadEncrypted from './uploadEncrypted/encrypt/text'

// IPNS
import generateKey from './ipns/generateKey'
import publishRecord from './ipns/publishRecord'
import getAllKeys from './ipns/getAllKeys'
import removeKey from './ipns/removeKey'

//PODSI
import posdi from './podsi'

export {
fund,
getPrice,
oneTimeAuth,
getQuote,
getApiKey,
getBalance,
Expand All @@ -57,21 +44,18 @@ export {
upload,
uploadText,
uploadBuffer,
uploadCAR,
uploadEncrypted,
textUploadEncrypted,
decryptFile,
generateKey,
publishRecord,
getAllKeys,
removeKey,
posdi,
deleteFile,
}

export default {
fund,
getPrice,
oneTimeAuth,
getQuote,
getApiKey,
getBalance,
Expand All @@ -88,13 +72,13 @@ export default {
upload,
uploadText,
uploadBuffer,
uploadCAR,
uploadEncrypted,
textUploadEncrypted,
decryptFile,
generateKey,
publishRecord,
getAllKeys,
removeKey,
posdi,
deleteFile,
}
222 changes: 0 additions & 222 deletions src/Lighthouse/payPerDeal/fund/abi/erc20.ts

This file was deleted.

Loading