Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 25 2020 17:32

    teutsch on master

    update (compare)

  • Dec 12 2019 04:03
    mrsmkl edited as member
  • Dec 12 2019 04:03
    hswick edited as member
  • Dec 12 2019 04:03
    bloodstalker edited as member
  • Dec 12 2019 04:01
    mrsmkl edited as member
  • Dec 12 2019 03:54
    mrsmkl edited as member
  • Dec 12 2019 03:54
    mrsmkl edited as member
  • Dec 12 2019 03:53
    mrsmkl edited as member
  • Nov 08 2019 07:23

    teutsch on master

    Update README.md (compare)

  • Oct 03 2019 12:42
    mrsmkl unassigned #70
  • Oct 03 2019 06:56

    mrsmkl on rollback

    (compare)

  • Oct 03 2019 06:56

    mrsmkl on rollback2

    (compare)

  • Oct 03 2019 06:56

    mrsmkl on master

    (compare)

  • Oct 03 2019 06:56

    mrsmkl on master

    (compare)

  • Oct 03 2019 06:52

    mrsmkl on rollback2

    (compare)

  • Oct 02 2019 14:10

    mrsmkl on master

    (compare)

  • Oct 02 2019 14:09

    mrsmkl on master

    (compare)

  • Oct 02 2019 14:08

    mrsmkl on master

    (compare)

  • Oct 02 2019 14:07

    mrsmkl on two-layer-dispute

    (compare)

  • Oct 02 2019 06:35

    mrsmkl on v2gp

    (compare)

KadiumRA
@KadiumRA
Just now saw the DM. I responded there.
Truebit
@Truebitprotocol_twitter

Hi @KadiumRA Looking forward to meeting on Monday.

To get started:

1- Download Docker- https://www.docker.com/
2- Open your terminal
3- Start up the docker image with this command docker run --rm -ti mrsmkl/wasm-ports:19-04-02 /bin/bash
*This may take a little while to download. Be patient ;)
4- Start Truebit environment cd truebit-os sh scripts/start-private.sh
5- Truebit-OS client for Goerli works inside of Docker. Use this command to enter the client there: npm run truebit
6 - Try and generate a task with the command task
7- You can solve others' tasks with command start solve

Let me know how that goes. see you soon
Jessica

@tesla809 Yoyo! get Truebit running on your computer. I can go to the meetup on Monday and we can play around! Check the instructions above ↑↑↑
Jessica Angel
@J_Angel_Studio_twitter
@KadiumRA meant to write from my Jessica account above. Let me know if you have any questions.
Palakurty
@jpalakurty_twitter
hi guys, just wanted to check how the things are progressing at truebit. I have a question here. Is truebit a competitor to Chainlink or part of it's eco system of oracles?
VSchoch
@VSchoch
Hi, I´ve installed Truebit OS from Source like it´s explained here: https://github.com/TrueBitFoundation/truebit-os
I claimed some tokens, started a solver and a taskgiver and tried to submit the task testWasmAlphabet with the command "task -a 0 -t testWasmAlphabet.json", but while executing I get an error.
Here is the screenshot of the Error: https://imgur.com/a/5DWIEgm
Is there something i have todo first, before submitting this task?
I´m thankfull for every help i can get :)
Sami Mäkelä
@mrsmkl
nope, there shouldn't be anything. that task is a bit broken, so we just have used it to test that everything works correctly if the task fails. it should work the same way as the other test task if you just skip forward
we'll need to clarify the messages somehow
VSchoch
@VSchoch
It says "SOLVER: Revealed correct solution" and "SOLVER: Finalized task"
But where can i find the solutions of the task?
There is nothing in the solutions folder.
It also generates a folder "tmp.solver_o2eabqlu1vo0" which contains the WASM code, alphabet.txt, reverse_alphabet.txt, alphabet.txt.out and reverse_alphabet.txt.out, but both reverse_alphabet files are empty.
Sami Mäkelä
@mrsmkl
well, the task fails so the solution is empty
VSchoch
@VSchoch
ok, is there a way i can change this task to be succesfull?
Sami Mäkelä
@mrsmkl
check the samples from wasm-ports repo for tasks that work
VSchoch
@VSchoch
thank you, i will do that
Sami Mäkelä
@mrsmkl
I think the reverse alphabet task is written in rust, otherwise it can be ran in the same way as other tasks
VSchoch
@VSchoch
reverse alphabet is written in c
Sami Mäkelä
@mrsmkl
VSchoch
@VSchoch
thank you
Sami Mäkelä
@mrsmkl
here is a compilation script for one wasm task written in rust https://github.com/TrueBitFoundation/wasm-ports/blob/v2/samples/wasm/compile.sh
Achala Bhatt
@AchalaSB

Hi, I'm very early stage of understanding TrueBit, Have few question
How Rust/C code is interacting with ethereum? Where is the JSONRPC calls??

If I want to write my rust code and connect it to ethereum I need jsonrpc/web3 calls which is written in rust.

How this is achieved in truebit?

Achala Bhatt
@AchalaSB
Getting error while running trubit-os
npm run deploy

> truebit-client@1.0.0 deploy /home/achala/codes/truebit/example-app/truebit-os
> node deploy.js

(node:26422) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Invalid JSON RPC response: ""
(node:26422) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Sami Mäkelä
@mrsmkl
looks like you're not running ganache-cli or other private node
Truebit tasks work inside the smart contracts, so the smart contracts provide the data. in theory, you could access ethereum blocks, but that cannot be done using jsonrpc, everything has to be deterministic for the verification game to work
Achala Bhatt
@AchalaSB
If interaction is not happen using jsron how it will do? What exactly the deterministic way?? Is oracle taken into picture?
Sami Mäkelä
@mrsmkl
smart contract will just send the data... of course the Truebit client will use jsonrpc to read that data, but it will just be passed to the C program as a file
kericfrank
@kericfrank
Hi,we're recruiting technical evangelists, researchers, developers.It's a cross chain project, The innovation of the project is the design of synerchain and
interactchain, hotstuff consensus, smart virtual machine based on wasm, on chain governance, a production chain framework.
You can join our channel to learn about project. https://gitter.im/marcopoloprotocols/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link
George Roman
@georgeroman
Hi all! I have a few questions regarding TrueBit: Are there any project milestones or roadmap available? Is there any deployed network for interacting with TrueBit (maybe a testnet one)?
Jason Teutsch
@teutsch
@georgeroman Yes- have you tried running Truebit on Görli testnet?https://github.com/TrueBitFoundation/truebit-os
What are you trying to do?
George Roman
@georgeroman
Thanks, I somehow missed that. I have a contract that is too costly to run on-chain (although it doesn't exceed the gas limit) and I'm looking into ways to execute it off-chain in order to lower the costs.
Jason Teutsch
@teutsch
Truebit should save $$ if you can isolate the relevant computational task. Let us know how it goes on testnet
ZHANGSHUAI
@paul_shuai_twitter
hello
any news about ico?
George Roman
@georgeroman
I have some issues testing on Goerli, using the latest mrsmkl/truebit-goerli docker image. Parity stops syncing at block 1561656, displaying some weird unverified transactions. I guess this has to do with the recent Istanbul fork, which occurred at block 1561651. Has anyone else got into this?
George Roman
@georgeroman
My bad, the Parity version was the issue.
Updating from 2.5.0 to 2.6.6 solved this.
Jason Teutsch
@teutsch
@georgeroman Thanks for the heads up!
George Roman
@georgeroman
Hi everyone! As I'm mainly trying to use TrueBit for reducing the cost of executing an expensive smart contract, one that fits within Ethereum's gas limit, performing full on-chain verification from time to time instead of going with the verification game might be a reasonable solution. Is replacing the dispute resolution protocol with full on-chain verification doable with TrueBit?
Jason Teutsch
@teutsch
I suppose you could alternate between Truebit and on-chain verification, but that would be more expensive than just using Truebit. Who pays for the on-chain verification? What are you trying to achieve?
George Roman
@georgeroman
I was thinking to use this approach to speed up the verification process as I think a single on-chain verification is much faster than running the verification game.
Jason Teutsch
@teutsch
If Solvers and Verifiers are rational, you'll never actually run the verification game.
George Roman
@georgeroman
Are there any projects where TrueBit is actively used?
Jason Teutsch
@teutsch
We've done integrations with some projects, e.g. Livepeer, Transmute
andyzhu87
@andyzhu87
@georgeroman can you describe what you're trying to do with the smart contract and truebit verification?
Jason Teutsch
@teutsch
Hey @andyzhu87 what are you buidling?
andyzhu87
@andyzhu87
@teutsch we're a team working on layer2 scaling for eth (optimistic rollups), our implementation is the Interstate Network has a evm hypervisor smart contract deployed on-chain to verify evm sidechain state transitions (the main benefit for developers being a consistent stack across L1 and L2, the evm) I keep hearing comparisons between what we do and what truebit does and was checking it out (I guess because of the verifying off-chain compute concept...?) I don't think I check this often but happy to exchange notes and continue the conversation via andy@interstate.network
Jason Teutsch
@teutsch
@andyzhu87 I just sent you an email
ZHANGSHUAI
@paul_shuai_twitter
hello
any information for ico?
Surya Bakshi
@sbaks0820
what's ico ?
Jason Teutsch
@teutsch
Interactive coin offering
George Roman
@georgeroman
Hi everyone! I'm trying to run a WASM task compiled from Rust on TrueBit. I'm following the steps described in https://github.com/TrueBitFoundation/wasm-ports/tree/master/samples/scrypt. When running prepare.js on my js file (generated alongside the wasm file by compiling Rust to a wasm32-unknown-emscripten target), I get the following strange error: 'unknown import "wasi_unstable"."fd_fdstat_get"'. I've inspected the wat file obtained by running wasm2wat on the wasm file and it looks like there are 5 imports that use 'wasi_unstable' (instead of the usual 'env' used in the rest of the imports): fd_fdstat_get, environ_get, environ_sizes_get, fd_write, fd_close. Any ideas on why this is happening and how to go about solving the issue?