https://github.com/baitun/voteex
🔐 Blockchain-based site reviews Chrome extension (part of Decentralized Web Hackathon)
https://github.com/baitun/voteex
arweave blockchain chrome-extension fluence react
Last synced: about 1 year ago
JSON representation
🔐 Blockchain-based site reviews Chrome extension (part of Decentralized Web Hackathon)
- Host: GitHub
- URL: https://github.com/baitun/voteex
- Owner: baitun
- License: mit
- Created: 2019-06-22T11:25:49.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:43:56.000Z (over 2 years ago)
- Last Synced: 2025-03-29T12:35:08.556Z (about 1 year ago)
- Topics: arweave, blockchain, chrome-extension, fluence, react
- Language: JavaScript
- Homepage:
- Size: 4.36 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blockchain-based site reviews Chrome extension

## How to run
- Run script
```bash
# build files to './dev'
# start webpack development server
$ npm run dev
```
- [Load unpacked extensions](https://developer.chrome.com/extensions/getstarted#unpacked) with `./dev` folder.
### For production:
```bash
# compress build folder to {manifest.name}.zip and crx
$ npm run build
$ npm run compress
```
## Build with
- [react-chrome-extension-boilerplate](https://github.com/jhen0409/react-chrome-extension-boilerplate) - Boilerplate for Chrome Extension React.js project
## Arweave
Default address is -uUlJ3b5YiY06C99aPBogOkxpECXMgkhm45ZugrdyHk
Keyfile is loacated in keyfiles/example.json
Passphrase is 12345678
Tx example: http://arweave.net/tx/CMUFSPIakmNfjWXmWlAbRZxJCTX5c-lMVcCc8x-QZgc
## Fluence
ETH address is 0x3B3AC9B65c2f9602865f0E6d8EEcD468920938f7
How to work with it?
```javascript
let contract = '0xeFF91455de6D4CF57C141bD8bF819E5f873c1A01'; // Fluence contract address
let appId = 252; // Deployed database id
let ethereumUrl = 'http://geth.fluence.one:8545'; // Ethereum light node URL
// Connect to your app
fluence.connect(contract, appId, ethereumUrl).then((s) => {
console.log('Session created');
window.session = s;
});
```
```javascript
// Send a request
session.request('SET A 10');
// Send a request, and read its result
session
.request('GET A')
.result()
.then((r) => {
console.log('Result: ' + r.asString());
});
```
## Contributors ✨
This project is part of [Decentralized Web Hackathon](https://web3hack.dev/), sponsored by [fluence](http://fluence.network/) and [arweave](http://arweave.org/) (Jun 22-23 2019, Minsk, Belarus).

Yury Savin
💻

execc
💻 📢

Yuliya Palamarchuk
🤔

AndreKuren
🤔
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! If you have any questions, feel free to contact me via telegram: https://t.me/savinyurii