Pages:
Author

Topic: [ANN][CHIPS] KMD platform's LN app with realtime betting+decentralized shuffling - page 22. (Read 44581 times)

full member
Activity: 476
Merit: 133
Wow, just read it fast, this is purely amazing!
Pangea finally living! A true decentralized poker (betting) platform! A dream is becoming true.
Among many other amazing Komodo features, i'm very glad to see this (part of) 'old' vision taking shape in the komodo ecosystem (and expand it at the same time)!
will run a node Smiley

dont get too excited yet.

I abstracted out the card shuffling/dealing and generalized it into the privatebet (BET) platform. I will be adding the CHIPS betting into that.

Once that is stable, then the PANGEA (and many other) game statemachine can be added on top of it. This isolates the gameplay for each game from the decentralized shuffling/dealing and betting.

Due to some practical limitations, I will start by using various oracle type of services so we can get something working, sooner rather than later
member
Activity: 64
Merit: 10
Wow, just read it fast, this is purely amazing!
Pangea finally living! A true decentralized poker (betting) platform! A dream is becoming true.
Among many other amazing Komodo features, i'm very glad to see this (part of) 'old' vision taking shape in the komodo ecosystem (and expand it at the same time)!
will run a node Smiley
full member
Activity: 476
Merit: 133
If you are not too quick to make an announcement, I think this project is not quite ready to make an announcement, I will see the progress of this thread the next few days, I hope you make this project more convincing, good luck team
Also there wont be any fancy charts or marketing materials, or any marketing in general. This is a technical thread about a technical coin providing a technical service to the komodo ecosystem

whether CHIPS will have any market value, I cannot say. It will be able to be traded on barterDEX using the decentralized atomic swaps
full member
Activity: 476
Merit: 133
This is very interesting.

Had you considered an alternative to LN? I seem to remember that geist geld, a sha256 clone, with merge mining, being lightning fast(created to push the speed boundary)  and might be easier to add multi sig if it doesn't have it already.

Also will chips have a 21 mil limit and be able to be mined?


CHIPS has a 10 second blocktime (if we can get enough miners), currently about 30 seconds per block.

And from what I can tell LN is working and will have a fairly large infrastructure of GUI, etc. so I prefer to stick with industry standard.

CHIPS has multisig, its just that LN itself is a protocol that assumes single party ownership of addresses. I have make a request to the lightning-rfc issues https://github.com/lightningnetwork/lightning-rfc/issues

hopefully in the future there will be a built in solution for this. in the meantime, I will make an addon layer to provide this functionality
full member
Activity: 476
Merit: 133
How will the coin be distributed?
Identical to bitcoin. pure SHA256 mining. As few changes to the current bitcoin 0.14 as possible.
full member
Activity: 476
Merit: 133
If you are not too quick to make an announcement, I think this project is not quite ready to make an announcement, I will see the progress of this thread the next few days, I hope you make this project more convincing, good luck team
Too early to not ask for any funds?

There wont be an ICO.

I only announced it so it is publicly announced and that people cant complain later about some sort of stealth mining.

I am probably one of the few currently mining CHIPS, but anybody is welcome to. It works, so it is not too early to announce that it exists.

There could well be several hardforks that will need to be made, but hopefully not.
full member
Activity: 476
Merit: 133
...
make chipsd
make chips-cli
# make -> will build everything, including QT wallet
sudo ldconfig /usr/local/lib
./chipsd -addnode=5.9.253.195 &
cp ~/chips3/src/chips-cli /usr/bin
...

Please don't ask me to explain what problem arises (i.e. I'm clueless), but you should add the above green to your instructions exactly where I placed it.  Some will not be able to run chipsd without this step.


 Smiley


indeed an important step. I forgot I had to do that on some nodes. updated my post above
sr. member
Activity: 332
Merit: 250
This is very interesting.

Had you considered an alternative to LN? I seem to remember that geist geld, a sha256 clone, with merge mining, being lightning fast(created to push the speed boundary)  and might be easier to add multi sig if it doesn't have it already.

Also will chips have a 21 mil limit and be able to be mined?

sr. member
Activity: 560
Merit: 251
This is a great start, meaning you believe this project will be successful, all the great things in this world happen because of trust. High confidence keeps you from giving up a single second. Although it fails, that trust will raise you up again. Hopefully run well and good luck.
sr. member
Activity: 546
Merit: 257
Have you found the Yellow Sign?
How will the coin be distributed?
full member
Activity: 420
Merit: 100
If you are not too quick to make an announcement, I think this project is not quite ready to make an announcement, I will see the progress of this thread the next few days, I hope you make this project more convincing, good luck team
full member
Activity: 476
Merit: 133
When will you release ? Keep on your hard work, I'll be  back for more information soon.
Until there is a GUI, any release will have limited value.
The LN needs to get to beta stage first though, there are some important things like state persistence that it needs before it can be used with real money.

However, since it is just using CHIPS, maybe we can ignore such issues. I just figured out what needs to be done to manage the LN side of things and once that layer is in place, the privatebet code needs to integrate it in.

with so many different things that can interrupt me, I am reluctant to make any time estimates. only that this is currently my default project when there arent bugs to fix for barterDEX
full member
Activity: 476
Merit: 133
So there is NO ICO for this project, that will means there is no bounties open right now and the future.
Just hoping that the project will have a good success in the near future.
The project has enough funding, but for now we are just looking for GUI devs
hero member
Activity: 596
Merit: 500
When will you release ? Keep on your hard work, I'll be  back for more information soon.
sr. member
Activity: 770
Merit: 250
So there is NO ICO for this project, that will means there is no bounties open right now and the future.
Just hoping that the project will have a good success in the near future.
full member
Activity: 476
Merit: 133
After posting various questions and issues with LN it seems that multisig wont be available for quite a while as it will require a spec change before it can even be implemented. in my experience 6 months for that would be extremely fast.

So, I need to have a different method to deal with table bets.

Here is what I propose:

1. Each table has a "dealer" who is the responsible node for managing CHIPS. Externally, each dealer would have posted a performance bond of up to XXX KMD with some arbiter.

2. Each player that joins a table would have their independent amount of CHIPS, but they open a payment channel to the dealer.

2b. the dealer opens a payment channel to each player as they join, which means the dealer needs to have at least N times the average number of CHIPS for each player's channel.

3. For each hand, the LN payments are made to the dealer. At the end of each hand, the dealer pays out to the winner player(s)

In the even the dealer does not make the required payment, the arbiter would be contacted and the validated amount would be distributed from the performance bond.

There is some risk of a dealer using the same performance bond for many games and waiting until there is more than his performance bond in his hands... So, reputation of dealer will need to be a factor in how much people would feel safe in betting per game.

For the early stages, this wont be an issue and eventually we should be able to have a multisig (or blockchain) controlled LN account
full member
Activity: 476
Merit: 133
The LN code is still pretty low level, but I finally manage to get a micropayment across!

cli sendpay '[{ "id" : "02779b57b66706778aa1c7308a817dc080295f3c2a6af349bb1114b8be328c28dc", "channel" : "2646:1:0", "msatoshi" : 1000, "delay" : 10 } ]' a7a29267cb1b2502773152d3eb20b4985989afadf586eac21c0c3e2ec24a4b8bestimatefee.(-1
) -> default to 0.00010000
lightningd(17765): Unable to estimate fee, default to 0.00020000

lightningd(17765): Connected json input
lightningd(17765): Sending 1000 over 1 hops to deliver 1000
lightningd_channel(17953): REPLY WIRE_CHANNEL_OFFER_HTLC_REPLY with 0 fds
lightningd_channel(17953): UPDATE WIRE_CHANNEL_SENDING_COMMITSIG
lightningd_channel(17953): UPDATE WIRE_CHANNEL_GOT_REVOKE
lightningd_channel(17953): UPDATE WIRE_CHANNEL_GOT_COMMITSIG
lightningd_channel(17953): UPDATE WIRE_CHANNEL_GOT_COMMITSIG
{ "preimage" : "c1d017f084e2c0afc9b24387836ecaef88a35fe86bf43cc353b5ef3732b3a7c6" }

at least I think I did. Not easy to see balances yet

A lot of what LN is doing is similar to barterDEX and it certainly isnt simple to do.
full member
Activity: 476
Merit: 133
building it properly is a pain (as usual). here are the steps I used to get a stable build:

sudo apt-get install software-properties-common autoconf git build-essential libtool libprotobuf-c-dev libgmp-dev libsqlite3-dev python python3 zip jq libevent-dev pkg-config libssl-dev libcurl4-gnutls-dev cmake
add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev

cd
wget https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.zip
unzip boost_1_64_0.zip
cd boost_1_64_0
./bootstrap.sh
./b2
./b2 install

cd
git clone https://github.com/jl777/chips3
cd ~/chips3
./autogen.sh
./configure --with-boost=/usr/local/
cd src
make -j8 chipsd
make chips-cli
cp chips-cli /usr/bin # just need to get chips-cli to work from command line
# make -> will build everything, including QT wallet
sudo ldconfig /usr/local/lib # thanks smaragda!
./chipsd -addnode=5.9.253.195 &

cd
git clone https://github.com/jl777/lightning
cd lightning
make
daemon/lightning-cli stop; lightningd/lightningd --log-level=debug &
cd privatebet
./m_bet
./client or ./host

Please post here if you get a node up and running. I am actively enhancing it so we can get some realtime transactions between nodes soon. I plan to have 10 live nodes today


######
seems bitcoin ppa doesnt have bdb 4.8 anymore. here are manual compile instructions:
ou could compile it from source as well.
wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix/
../dist/configure --enable-cxx
make
make install

Tell your system where to find db4.8
export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"
ln -s /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so /usr/lib/libdb-4.8.so
full member
Activity: 476
Merit: 133
Really interesting.

No idea how you manage to keep all these development threads running simultaneously Smiley

It helps that it is a single system https://bitcointalksearch.org/topic/m.20787389

also I avoid doing GUI
Pages:
Jump to: