Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 08 2021 18:50
    onbjerg closed #45
  • May 06 2019 22:56

    ukstv on master

    Publish - @machinomy/wraptso@… Remove dependency on chalk in w… Publish - @machinomy/wraptso@… (compare)

  • May 06 2019 22:56

    ukstv on wraptso@0.1.4

    (compare)

  • May 06 2019 22:56

    ukstv on wraptso@0.1.3

    (compare)

  • May 06 2019 22:52

    ukstv on master

    Publish - @machinomy/wraptso@… Publish - @machinomy/wraptso@… Do not require console.table and 1 more (compare)

  • May 06 2019 22:51

    ukstv on wraptso@0.1.2

    Publish - @machinomy/wraptso@… Publish - @machinomy/wraptso@… (compare)

  • May 06 2019 12:06

    ARyaskov on master

    Up wraptso version. (compare)

  • May 06 2019 12:06

    ARyaskov on master

    Fix wraptso for modern environm… (compare)

  • Feb 21 2019 13:18

    ukstv on master

    Remove isGreaterThanPrevious va… Publish - @machinomy/cli@0.0.… (compare)

  • Feb 05 2019 18:00

    ARyaskov on master

    Fix TravisCI. (compare)

  • Feb 05 2019 08:50

    ukstv on master

    Publish - @machinomy/cli@0.0.… (compare)

  • Feb 05 2019 08:48

    ARyaskov on master

    Introduce updateSettlingUntil m… Fix lint error. Fix SQL quotes. and 4 more (compare)

  • Feb 05 2019 08:48
    ARyaskov closed #260
  • Feb 05 2019 08:48
    ARyaskov synchronize #260
  • Feb 05 2019 08:48

    ARyaskov on updateSettlingUntil-in-DAO

    Inflate channel's settlingUntil… Publish - @machinomy/cli@0.0.… Merge branch 'master' into tech… (compare)

  • Feb 05 2019 08:43

    ukstv on master

    Publish - @machinomy/cli@0.0.… (compare)

  • Feb 05 2019 08:42

    ukstv on master

    Inflate channel's settlingUntil… (compare)

  • Feb 05 2019 08:35

    ukstv on inflate-settling-until

    Inflate channel's settlingUntil… (compare)

  • Jan 30 2019 12:01
    ARyaskov synchronize #260
  • Jan 30 2019 12:01

    ARyaskov on updateSettlingUntil-in-DAO

    Refactor BigNumber operation. (compare)

eyals
@aykesubir
Hey ya'll, this have probably came up dozens of times but, is there a page explaining the differences between Machimony vs microRaiden/Raiden techs?
eyals
@aykesubir
@JezSan Hey, im doing something similar for Sirin Labs. We should talk!
JezSan
@JezSan
@aykesubir Happy to. im on jez@funfair.io - or Skype: JezSan
Evan Schwartz
@emschwartz
@aykesubir Machinomy does unidirectional channels for Ether and ERC20 tokens. When I was looking around for Ethereum micropayment libraries I was comparing them and was disappointed to find that microRaiden uses its own token rather than letting you use any one you want (see https://github.com/raiden-network/microraiden#tokens-and-channel-manager-contract). Raiden uses a more complex multi-hop design, but as far as I know isn't released yet
eyals
@aykesubir
@emschwartz Thank you! So machimony only supports unidirectional channels? Other than the underlying token, is there any difference in the protocol?
eyals
@aykesubir
For example are the funds released immediately upon a cooperative close of channel? (unlike lightning for bitcoin, to the best of my knowledge). Furthermore, is Machimony an implementation of a general state channel specified for payments, or what I've seen that spankchain have developed (https://github.com/SpankChain/general-state-channels) is a generalization of your work?
Sorry for q bombing
Evan Schwartz
@emschwartz

If I'm not mistaken, I believe Machinomy is the library Spankchain is actually using (https://medium.com/machinomy/explaining-vynos-91f73eeb133a).

I think @ukstv was planning to implement bidirectional channels but not sure if that's still on the roadmap (I'd argue that's an optimization that's only really useful if a) the network fees are super high and b) the use case actually involves balanced flows that can net out)

Since the channels are unidirectional, the receiver can always claim the funds they are owed (see https://github.com/machinomy/machinomy-contracts/blob/master/contracts/Unidirectional.sol#L118-L125). It's only the sender that has to wait before getting their money out of the channel

(That's actually a nice part about unidirectional channels)
eyals
@aykesubir
Hey! I'm trying to run your demo and I run into "Error: Invalid engine: C:\Users\eyals.machinomy\storage.db." soon as after I try to run machinomy buy as described. Looking into the folder I don't even see the storage.db file. What did I do wrong?
Michiel de Jong
@michielbdejong
@aykesubir which demo is that? the one from https://github.com/machinomy/machinomy/tree/master/examples?
eyals
@aykesubir
even worse [embarrassed face], the one in the README.md. The simple setup test
Michiel de Jong
@michielbdejong
:) so then during https://github.com/machinomy/machinomy#set-up you will have configured the database options, i think?
eyals
@aykesubir
emmm where? it says it defaults to nedb...
Michiel de Jong
@michielbdejong
ah right
ok, i have the same problem on my machine (just that i have the path /Users/michiel/.machinomy/storage.db)
eyals
@aykesubir
yup same happens here...
Michiel de Jong
@michielbdejong
with that demo, i also noticed it tries to connect to http://playground.machinomy.com/hello but that host is down
that's why i ended up trying the examples
Andrei Riaskóv
@ARyaskov
@aykesubir Hi! Please, specify db path in source code as nedb://storage.db (or mongodb:// or postgresql://). Prefix nedb:// is important. (I don’t think it supports arbitrary absolute system paths at the moment, please, try to use nedb://storage.db-like path).
eyals
@aykesubir
so I should just proceed to the examples. Got it :)
Michiel de Jong
@michielbdejong
do you have geth running, connected to the testnet?
eyals
@aykesubir
Yes. with RPC at default port
geth --testnet --rpc
Michiel de Jong
@michielbdejong
cool! so then i think you can run cd examples; tsc *.ts; node server.js and node clients.js in a different window
eyals
@aykesubir
Got it. I'll give it a try
Michiel de Jong
@michielbdejong
you need tsc installed to compile typescript to javascript for node (or some other way to run the typescript code)
eyals
@aykesubir
@michielbdejong Thanks! :)
eyals
@aykesubir
@ARyaskov And thank you too!
Andrei Riaskóv
@ARyaskov
:) You are welcome
Michiel de Jong
@michielbdejong
@aykesubir can you get the example working?
i wasn't able to sync geth to the testnet myself, so can't try it here. i tried with infura.io, but failed
eyals
@aykesubir
@michielbdejong I'm working on a research paper on the subject while trying to get it work so I'm a bit slow :)
Michiel de Jong
@michielbdejong
ok np, let me know when you do get to it! :)
Michiel de Jong
@michielbdejong
In case you're having trouble compiling the examples, here are compiled server.js and client.js from machinomy v1.7.9: https://github.com/michielbdejong/machinomy/tree/mj-compile-examples/examples
John Dutchak
@jdutchak
whats the proper command to compile / run from source npm ? i have tried node bin/machinomy.ts setup --namespace receiver but this crashes
i have ganache runninng
eyals
@aykesubir
Hey! I'd also to be happy to a link with a description of how to get Machinomy running locally/against Ropsten? I tried everything from the github but it seems not to work...
eyals
@aykesubir
Even after upgrading to v1.8.0...
eyals
@aykesubir
should https://machinomy.com/documentation/getting-started/ work now with the new version?
eyals
@aykesubir
*In Windows10
Sergey Ukustov
@ukstv
@aykesubir Hold on. Upgrading the docs to get started today, first README then Getting Started tutorial. Currently it is invalid.
eyals
@aykesubir
@ukstv Sorry :+1: Got so excited about the new version I couldn't wait :)
Kincaid O'Neil
@kincaidoneil
@ukstv Is there some example code for sending ERC-20 tokens that I could refer to?
ชัยณรงค์ คำแสน
@EIU2gduWGvVtFGc_twitter
Support​
David Aktary
@aktary
@ukstv are docs updated now?
Leon Prouger
@leonprou
Hey guys, nice project
Looks like you were totally inspired by the autonomous cars of Andreas :P
Pankaj Mendki
@pankaj.mendki_gitlab
is anyone able to run test application on Ubuntu ?
vans163
@vans163
@kincaidoneil ditto
Is there a way for the sender to settle?
vans163
@vans163

├── UNMET PEER DEPENDENCY db-migrate-pg@^0.3.0
├── UNMET PEER DEPENDENCY db-migrate-sqlite3@^0.2.1
├─┬ machinomy@1.9.6
│ ├── homedir@0.6.0 (git+https://github.com/ukstv/node-homedir.git#c12f20b3e0b0f2cdf745cfda241ef3702c098098)
│ └─┬ web3@0.20.6
│ └── bignumber.js@2.0.7 (git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934)
├── UNMET PEER DEPENDENCY mongodb@^2.2.31
├── UNMET PEER DEPENDENCY pg@^7.4.1
└── UNMET PEER DEPENDENCY sqlite3@^4.0.0

npm WARN machinomy@1.9.6 requires a peer of db-migrate-pg@^0.3.0 but none was installed.
npm WARN machinomy@1.9.6 requires a peer of db-migrate-sqlite3@^0.2.1 but none was installed.
npm WARN machinomy@1.9.6 requires a peer of mongodb@^2.2.31 but none was installed.
npm WARN machinomy@1.9.6 requires a peer of pg@^7.4.1 but none was installed.
npm WARN machinomy@1.9.6 requires a peer of sqlite3@^4.0.0 but none was installed.