Skip to content

Latest commit

 

History

History
85 lines (61 loc) · 3.26 KB

README.md

File metadata and controls

85 lines (61 loc) · 3.26 KB

Blockchain-based site reviews Chrome extension

Chrome Extension screenshot

How to run

  • Run script
# build files to './dev'
# start webpack development server
$ npm run dev

For production:

# compress build folder to {manifest.name}.zip and crx
$ npm run build
$ npm run compress

Build with

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?

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;
});
// 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, sponsored by fluence and arweave (Jun 22-23 2019, Minsk, Belarus).

Yury Savin
Yury Savin

💻
execc
execc

💻 📢
Yuliya Palamarchuk
Yuliya Palamarchuk

🤔
AndreKuren
AndreKuren

🤔

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