Skip to content

Commit

Permalink
Minor style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mario4tier committed Aug 29, 2024
1 parent b3f4ee8 commit 51d3860
Show file tree
Hide file tree
Showing 11 changed files with 215 additions and 215 deletions.
10 changes: 9 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
*.template
dist/
.changeset/

declarations/
dist/
doc/
lib/

pnpm-lock.yaml
pnpm-workspace.yaml
4 changes: 4 additions & 0 deletions .vscode/ltex.dictionary.en-US.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Suiftly
fetchBlob
Mysten
blobID
24 changes: 13 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,36 @@ Load most Walrus blobs in less than 100 milliseconds!
Join the discussion on [Discord](https://discord.com/invite/Erb6SwsVbH)

# Direct Links
You can load any blob with a direct link:
https://cdn.suiftly.io/blob/{blobID}

You can load any blob with a direct link:
https://cdn.suiftly.io/blob/{blobID}

Example:
https://cdn.suiftly.io/blob/fK7v0bft1JqVbxQaM_KJAYkejbY9FgU9doqZwg7smw8
https://cdn.suiftly.io/blob/fK7v0bft1JqVbxQaM_KJAYkejbY9FgU9doqZwg7smw8

First click is slower to perform one-time aggregation and caching for subsequent fast requests.

Suiftly returns proper MIME Content-Type header (e.g. image/png).

# NPM Packages

See [@suiftly/core](https://www.npmjs.com/package/@suiftly/core)

Works for any Web2/Web3 browser and NodeJS apps.

As simple as `fetchBlob(blobID)`

Features:
- Try CDN first, failover to Walrus
- Blob integrity check.
- Returns standard JS Blob object with proper MIME type.

Installation:
```npm install @suiftly/core```
- Try CDN first, failover to Walrus
- Blob integrity check.
- Returns standard JS Blob object with proper MIME type.

Installation:
`npm install @suiftly/core`

# Thank you!
- [Mysten Labs](https://mystenlabs.com) and the [Sui foundation](https://sui.io) for their innovations and financial support.
- [kkomelin/sui-dapp-starter](https://github.com/kkomelin/sui-dapp-starter) time saver template
- [Solana](https://github.com/solana-labs/solana-web3.js) inspiring monorepo scoped packages structure, which is mostly re-used for this project.

- [Mysten Labs](https://mystenlabs.com) and the [Sui foundation](https://sui.io) for their innovations and financial support.
- [kkomelin/sui-dapp-starter](https://github.com/kkomelin/sui-dapp-starter) time saver template
- [Solana](https://github.com/solana-labs/solana-web3.js) inspiring monorepo scoped packages structure, which is mostly re-used for this project.
Loading

0 comments on commit 51d3860

Please sign in to comment.