0xBin is a decentralized version of Pastebin built on EVM-compatible blockchains. It allows users to create, share, and access text snippets (called "pastes") with the power of blockchain technology, ensuring censorship resistance and permanent storage.
- Create public, private, or paid pastes
- Decentralized storage on the blockchain
- End-to-end encryption for private and paid pastes
- Pay-to-access functionality for monetizing content
- Tipping system for supporting paste creators
- Fully responsive web interface
- Smart Contracts: Solidity
- Frontend: React.js
- Web3 Integration: ethers.js
- Wallet Connection: Web3-Onboard
- Styling: Tailwind CSS
- Node.js (v14 or later)
- npm or yarn
- MetaMask or another Web3 wallet
-
Clone the repository:
git clone https://github.com/yourusername/0xbin.git cd 0xbin
-
Install dependencies:
npm install
-
Create a
.env
file in the project root from.env.example
and add your environment variables: -
Start the development server:
npm run dev
-
Open http://localhost:5173 in your browser to view the app.
The 0xBin smart contract is deployed & verified on the Arbitrum Sepolia testnet.
- Connect your Web3 wallet to the app.
- To create a paste, click on "Create Paste" and fill in the required information.
- To view a paste, go to the paste URL or find it in the "Explore Pastes" section.
- For paid pastes, you'll need to pay the specified amount to access the content.
- For private pastes, you'll need to sign a message with your wallet to prove ownership of the allowed address.
We welcome contributions to 0xBin! Please feel free to submit issues, create pull requests, or fork the repository to make your own changes.
- Fork the repository
- Create your feature branch:
git checkout -b feature/AmazingFeature
- Commit your changes:
git commit -m 'Add some AmazingFeature'
- Push to the branch:
git push origin feature/AmazingFeature
- Open a pull request
This project is licensed under the MIT License. See the LICENSE
file for details.
dr00.eth - @dr00shie - [email protected]
Project Link: https://github.com/dr00-eth/zeroxbin-vite
- OpenZeppelin for secure smart contract components
- Arbitrum for providing a scalable Ethereum Layer 2 solution
- ethers.js for Ethereum wallet integration
- Web3-Onboard for multi-wallet support
- React for the frontend framework
- Tailwind CSS for styling