- Run script
# build files to './dev'
# start webpack development server
$ npm run dev
- Load unpacked extensions with
./dev
folder.
# compress build folder to {manifest.name}.zip and crx
$ npm run build
$ npm run compress
- react-chrome-extension-boilerplate - Boilerplate for Chrome Extension React.js project
Default address is -uUlJ3b5YiY06C99aPBogOkxpECXMgkhm45ZugrdyHk Keyfile is loacated in keyfiles/example.json Passphrase is 12345678
Tx example: http://arweave.net/tx/CMUFSPIakmNfjWXmWlAbRZxJCTX5c-lMVcCc8x-QZgc
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());
});
This project is part of Decentralized Web Hackathon, sponsored by fluence and arweave (Jun 22-23 2019, Minsk, Belarus).
Yury Savin 💻 |
execc 💻 📢 |
Yuliya Palamarchuk 🤔 |
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