FluenceBin a fully decentralized application for sharing code.
The frontend of this project is based on ipfsbin. By using Fluence as the backend instead of ipfs, FluenceBin allows users update content without changing urls.
Fluence backend config:
let contractAddress = "0xeFF91455de6D4CF57C141bD8bF819E5f873c1A01";
let ethUrl = "http://rinkeby.fluence.one:8545/"
let appId = "366";
- User profile
- Access control
- Line comment
- Repl
- Live coding
- Build
$ cd backend
$ cargo +nightly build --target wasm32-unknown-unknown --release
- Run debug
$ docker run --rm -v `pwd`/target/wasm32-unknown-unknown/release/fluencebin.wasm:/code/code.wasm -p 30000:30000 fluencelabs/frun
- Deploy (doc)
- Build
$ cd frontend
$ npm install
$ npm build
- Run dev
$ npm start
- Deploy
$ IPFS_ADDR=$(host ipfs.fluence.one | awk '/has address/ { print $4 }')
$ ipfs --api /ip4/$IPFS_ADDR/tcp/5001 add -r path/to/built/frontend