
A comparison of BTFS, Amazon S3 and CDN
In the realm of data storage and transmission technologies, three prominent players emerge: BitTorrent File System (BTFS), Content Delivery Network (CDN), and Amazon Simple Storage Service (Amazon S3). These technologies constitute critical components in the modern digital age, handling copious amounts of data every second. Even though they all play a pivotal role in data handling, their design, implementation, and use cases vary significantly. In this comprehensive guide, we will delve into ...
Solidity vs. Rust: Choosing the Right Weapon for Solana Development
The Solana blockchain has emerged as a major player in the crypto space, known for its blazing-fast transaction speeds and low fees. But for developers, the question arises: what language should you use to build smart contracts on Solana? This blog post dives into the two main contenders: Solidity (with Solang) and Rust, helping you choose the right tool for the job. Solidity: The Familiar Friend Solidity is the de-facto standard for smart contract development on Ethereum. Its object-oriented...

Disconnecting vs. Revoking: Are You Really Cutting Off Access to Your Wallet?
When using a dApp, you might have seen a "Disconnect" button that allows you to remove your wallet connection. But did you know that disconnecting does not revoke authorization? If you want to truly disconnect from a dApp, simply clicking "Disconnect" is not enough—you need to revoke permissions in your wallet settings.Disconnecting: What It Really DoesMost dApps provide a "Disconnect" option, but this is mainly a frontend feature. When you disconnect: ✔️ The dApp removes your wallet address ...
Blockchain Engineer | Ex-PayPal | DeFi Hacker | Writer | Investor National University of Singapore



A comparison of BTFS, Amazon S3 and CDN
In the realm of data storage and transmission technologies, three prominent players emerge: BitTorrent File System (BTFS), Content Delivery Network (CDN), and Amazon Simple Storage Service (Amazon S3). These technologies constitute critical components in the modern digital age, handling copious amounts of data every second. Even though they all play a pivotal role in data handling, their design, implementation, and use cases vary significantly. In this comprehensive guide, we will delve into ...
Solidity vs. Rust: Choosing the Right Weapon for Solana Development
The Solana blockchain has emerged as a major player in the crypto space, known for its blazing-fast transaction speeds and low fees. But for developers, the question arises: what language should you use to build smart contracts on Solana? This blog post dives into the two main contenders: Solidity (with Solang) and Rust, helping you choose the right tool for the job. Solidity: The Familiar Friend Solidity is the de-facto standard for smart contract development on Ethereum. Its object-oriented...

Disconnecting vs. Revoking: Are You Really Cutting Off Access to Your Wallet?
When using a dApp, you might have seen a "Disconnect" button that allows you to remove your wallet connection. But did you know that disconnecting does not revoke authorization? If you want to truly disconnect from a dApp, simply clicking "Disconnect" is not enough—you need to revoke permissions in your wallet settings.Disconnecting: What It Really DoesMost dApps provide a "Disconnect" option, but this is mainly a frontend feature. When you disconnect: ✔️ The dApp removes your wallet address ...
Share Dialog
Share Dialog
Blockchain Engineer | Ex-PayPal | DeFi Hacker | Writer | Investor National University of Singapore

Subscribe to DeFi Simon

Subscribe to DeFi Simon
<100 subscribers
<100 subscribers
This guide introduces two methods to deploy the front-end of a web application on BTFS, and compares the differences between BTFS, CDN, and Amazon S3.
Please refer to: Install BTFS Node
Execute the btfs add command:
$ btfs add <file-name>
// Output
added QmdBX8seLx4TGHwr8Tu9L2QSByaJ9bbFUpxFvKAYyxCmnb <file-name>
163 B / 163 B [=======================================================] 100.00%
$ btfs add -r <dir-name>
// Output
added QmdBX8seLx4TGHwr8Tu9L2QSByaJ9bbFUpxFvKAYyxCmnb <dir-name/file-name>
added QmdBX8seLx4TGHwr8Tu9L2QSByaJ9bbFUpxFvKAYyxCmnb <dir-name/file-name>
......
added QmdBX8seLx4TGHwr8Tu9L2QSByaJ9bbFUpxFvKAYyxCmnb <dir-name>
163 B / 163 B [=======================================================] 100.00%
Upload files to the BTFS network:
$ btfs storage upload <file-hash>
$ btfs storage upload <session-id> status | jq '.Status'
Open your browser and enter the URL: https://gateway.btfs.io/btfs/<file-hash> to view the deployed website.
Execute the btfs get command:
// get file
$ btfs get <file-hash>
// get dir(files)
$ btfs get <dir-hash>
This will download the respective file from the BTFS network.
To delete files from the network, run:
$ btfs rm <file-hash>
This guide introduces two methods to deploy the front-end of a web application on BTFS, and compares the differences between BTFS, CDN, and Amazon S3.
Please refer to: Install BTFS Node
Execute the btfs add command:
$ btfs add <file-name>
// Output
added QmdBX8seLx4TGHwr8Tu9L2QSByaJ9bbFUpxFvKAYyxCmnb <file-name>
163 B / 163 B [=======================================================] 100.00%
$ btfs add -r <dir-name>
// Output
added QmdBX8seLx4TGHwr8Tu9L2QSByaJ9bbFUpxFvKAYyxCmnb <dir-name/file-name>
added QmdBX8seLx4TGHwr8Tu9L2QSByaJ9bbFUpxFvKAYyxCmnb <dir-name/file-name>
......
added QmdBX8seLx4TGHwr8Tu9L2QSByaJ9bbFUpxFvKAYyxCmnb <dir-name>
163 B / 163 B [=======================================================] 100.00%
Upload files to the BTFS network:
$ btfs storage upload <file-hash>
$ btfs storage upload <session-id> status | jq '.Status'
Open your browser and enter the URL: https://gateway.btfs.io/btfs/<file-hash> to view the deployed website.
Execute the btfs get command:
// get file
$ btfs get <file-hash>
// get dir(files)
$ btfs get <dir-hash>
This will download the respective file from the BTFS network.
To delete files from the network, run:
$ btfs rm <file-hash>
No activity yet