Bitcoin Forum
November 14, 2024, 03:01:29 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [ANN] 🪙【CoinFlip】 Decentralized Magic Wallet - Smart Contract - Auto payout  (Read 795 times)
CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 14, 2023, 08:58:50 AM
Last edit: October 07, 2023, 04:33:15 PM by CryptorClub
 #1

Simple Decentralized Game
"CoinFlip"
On Smart Contracts

Send exactly amount to address from tables

to get a 50% chance
to "DOUBLE" your amount


Automatic payout every second transaction

All Decentralized Network chooses who is winner
Open Source available

Before you send second/next bet, wait at least one transaction after yours to Contract

on Polygon
BetWallet   Reward
0.1 Matic   0x7196f59B7A17252524Ebb7C75908E452BFf1500E   0.19 Matic
0.2 Matic   0x0a7C520273FF2b37013E844Cd133960Eb31BA52C   0.38 Matic
0.4 Matic   0xCbD963720104934d250DBfA339D82CF60bc6B7D6   0.76 Matic
0.5 Matic   0x16520800e9F33EeC6d77288E373A9C4BED3C17Cc   0.95 Matic
0.8 Matic   0xd0A64F5877884D65C18dd516DFa159C6770c104a   1.52 Matic
1.0 Matic   0xFb28f12544a306237edB88e7E89A56ccD7aD3060   1.90 Matic
2.0 Matic   0x7CccD2331d154Ee07c50e77dD4d2f40b5aeEC5F7   3.80 Matic
4.0 Matic   0xEd4D28730fBD06A25C9712D1C5e83d7d9Ce2a376   7.60 Matic
5.0 Matic   0x07C7B5d355b8c9c72a21876EB85556da163c7Bb3   9.50 Matic
10 Matic   0x41aAA59FFcC0173eE32ee8AE3FC1C900b861b143   19 Matic

on BSC Network
BetWallet   Reward
0.01 BNB   0x8af75e8DE6c766a934871c6ec0733d262fE08089   0.019 BNB

First version of smart contract premiered exactly now with this topic on Polygon Network.

Game logic Polygon
Creation of contract for "doubling" revenue of two players with amount of 0.1Matic each
0x7196f59B7A17252524Ebb7C75908E452BFf1500E

First wallet sends exactly 0.1Matic to contract address 0x7196f59B7A17252524Ebb7C75908E452BFf1500E
- in this tx First wallet checks who is winner in previous stage and executes sent withdrawal 0.19Matic to winner

Second wallet sends exactly 0.1Matic to contract address 0x7196f59B7A17252524Ebb7C75908E452BFf1500E
- in this Second wallet transaction from block timestamp and 9 hashes generates Combo Number, that is written to a smart contract
   from this block gets timestamp and from it chooses 9 "random" hashes in blockchain and generates Combo Numer if it ends with one of this "even" numbers "02468" - Chosen Winner is First Wallet, previous
   if this comboNumer ends with one of this "odd" numbers "13579" - Chosen Winner is Second Wallet, this
- in this tx dev fee in amount 0.01Matic executes

You need to wait two transactions after yours to get payout, if blockchain choose you as a winner...


Game logic BSC Network
Creation of contract for "doubling" revenue of two players with amount of 0.01BNB each
0x8af75e8DE6c766a934871c6ec0733d262fE08089

First wallet sends exactly 0.01BNB to contract address 0x8af75e8DE6c766a934871c6ec0733d262fE08089
- in this tx First wallet checks who is winner in previous stage and executes sent withdrawal 0.19Matic to winner

Second wallet sends exactly 0.01BNB to contract address 0x8af75e8DE6c766a934871c6ec0733d262fE08089
- in this tx Second wallet transaction block timestamp writen to a smart contract
   from this block gets timestamp and from it chooses 9 "random" hashes in blockchain and generates Combo Numer if it ends with one of this "even" numbers "02468" - Chosen Winner is First Wallet, previous
   if this comboNumer ends with one of this "odd" numbers "13579" - Chosen Winner is Second Wallet, this
- in this tx dev fee in amount 0.001BNB executes

Watch video, how this logic works https://y0u.tube/watch?v=sGHf_w5Dhmk



First two pairs of transactions will looks like these, and so on:
1st tx |2nd tx |3rd tx |4th tx |
Winner 1st |Loser 1st |Loser 2nd |Winner 2nd |
1st Bet (0.1Matic) |
(withdraw for previous winner) |
2nd Bet (0.1Matic) |
(withdrawal Dev fee 0.01) |
1st Bet (0.1Matic) |
(0.19Matic withdrawal to first Winner) |
2nd Bet (0.1Matic) |
(withdrawal dev fee 0.01) |




Roadmap
First stage
Seed. First version of Smart Contract published on Polygon Network with 0.1Matic entrance

Second stage
Growing. If interest to this topic will be enough, we publish contract source code on all Networks and on GitHub and will create other Smart Contracts with higher amounts and on other networks (BSC, Fantom, Optimistic, Linea, Ethereum)

Third stage
Stress test. On this stage we can pay for audit services from Dev Fees.

Fourth stage
Next, updated version of contract developed, created UI (User Interface for web and possible to mobile devices)

Bounty with signature campaign here - https://bitcointalk.org/index.php?topic=5463217
---
Will be appreciated for collaboration, advice's, help in promotion, etc.

aioc
Hero Member
*****
Online Online

Activity: 3094
Merit: 578



View Profile
August 14, 2023, 01:33:37 PM
 #2

Sounds interesting but works like a Ponzi scheme to me because the prize depends on people coming in, might as well create a graph for this to fully explain if it's not a Ponzi scheme since you already have a Copper account I don't go for contract based without proper auditing I've been victimized by rug pulls and it's possible here if there is no audit of the contract.

CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 14, 2023, 02:01:56 PM
Last edit: August 15, 2023, 09:14:52 AM by CryptorClub
 #3

Sounds interesting but works like a Ponzi scheme to me because the prize depends on people coming in, might as well create a graph for this to fully explain if it's not a Ponzi scheme since you already have a Copper account I don't go for contract based without proper auditing I've been victimized by rug pulls and it's possible here if there is no audit of the contract.
Hello. Happy for your reply and interest.
This scheme I can't recognize this as ponzi, because ponzi is endless hierarchy, when people, that comes later will always lose, if not invite someone.
This scheme and result depends on hash of transaction, that ends, when only two persons bet.
Also ponzi scheme guarantees profit when next user comes. In this scheme on of two users will lose.

1st tx |2nd tx |3rd tx |4th tx |
Winner 1st |Loser 1st |Loser 2nd |Winner 2nd |
1st Bet (0.1Matic) |
(withdraw for previous winner) |
2nd Bet (0.1Matic) |
(withdrawal Dev fee 0.01) |
1st Bet (0.1Matic) |
(0.19Matic withdrawal to 1st Winner) |
2nd Bet (0.1Matic) |
(withdrawal dev fee 0.01) |

2nd Winner will receive funds in 5th transaction.

Simple graph in this post
https://bitcointalk.org/index.php?topic=5463202.msg62698515#msg62698515

You need to wait two transactions after yours to get payout, if blockchain choose you as a winner.

In short words in this scheme can play two players never inviting someone else. One player is also possible (in this case dev fee only losed).

The contract source code will 100% be published! The only thing I propose is to make a little stress test before. We can decide with community when exactly its better to do.

0.1Matic to test it - is good enough, I think.
Every second transaction contract should be empty (its NOT accumulates Matic), because its withdraws all balance to winner between two users with fee.

For now I propose to see results on blockchain.

aioc
Hero Member
*****
Online Online

Activity: 3094
Merit: 578



View Profile
August 14, 2023, 02:36:03 PM
 #4



The contract source code will be 100% be published! The only thing I propose is to make a little stress test before. We can decide with community when exactly its better to do.

0.1Matic to test it - is good enough, I think.
Every second transaction contract should be empty (its NOT accumulates Matic), because its withdraws all balance to winner between two users with fee.

For now I propose to see results on blockchain.

Since this is still in a testing stage and there is no mainet yet or contract it's better to move this thread in the
Project Developmentwhere it rightly belongs, this is a gambling announcement section and you can only post here if your platform is ready and open to accept players.

Wapfika
Hero Member
*****
Offline Offline

Activity: 1456
Merit: 597


Bitcoin makes the world go 🔃


View Profile
August 14, 2023, 02:41:22 PM
 #5

No website to put landing page for an easy understanding to your work? This is still on testing phase so it’s better if you will still put this topic on project and development since you will still need for testers to try your game instead of releasing it here half baked because you will encounter difficulty here to find user who will send tokens on your smart contract address.

Since this is a smart contract based games. Are you planning to audit your source code to a trusted smart contract auditor?

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 14, 2023, 02:59:51 PM
 #6



The contract source code will be 100% be published! The only thing I propose is to make a little stress test before. We can decide with community when exactly its better to do.

0.1Matic to test it - is good enough, I think.
Every second transaction contract should be empty (its NOT accumulates Matic), because its withdraws all balance to winner between two users with fee.

For now I propose to see results on blockchain.

Since this is still in a testing stage and there is no mainet yet or contract it's better to move this thread in the
Project Developmentwhere it rightly belongs, this is a gambling announcement section and you can only post here if your platform is ready and open to accept players.
Its on mainnet already and accepting players. The addresses in starter post is mainnet. You may let me know, if needed testnet.

No website to put landing page for an easy understanding to your work? This is still on testing phase so it’s better if you will still put this topic on project and development since you will still need for testers to try your game instead of releasing it here half baked because you will encounter difficulty here to find user who will send tokens on your smart contract address.

Since this is a smart contract based games. Are you planning to audit your source code to a trusted smart contract auditor?
I may provide Testnet contract with test transactions to try gameplay. I know that the project is crude right now, that's why I start from smart contract with simple interaction. As described in Roadmap of starter post User Interface will be developed on next stages. I have experience in web development, so will do this by myself, if interest will be on forum.

Regarding audit - Dev fee will be used for next stages developing and grow project, so to buy trusted smart contract auditor service is good proposal. You may propose which is good.

Regarding difficulty - need only three users with 0.1 Matic (sum 0.21$) to start the process and paste here three tx ids, where third withdraw reward to First winner. (Not sure, that is really difficult). Moreover contract will refuse transaction if amount will be more or less than 0.1 Matic, that's why need to send exact amount (Two players should bet same amount).

Seems, I'll create video how to interact on this week.

coin-investor
Hero Member
*****
Online Online

Activity: 3024
Merit: 612


Leading Crypto Sports Betting & Casino Platform


View Profile
August 14, 2023, 03:40:01 PM
 #7



Seems, I'll create video how to interact on this week.

You need to create a video for this, I have a hard time understanding the concept but a graph or better a video on how this thing works will give us a full understanding of the full concept, this is new and interesting I'm not a fan of contract based gambling but I welcome new ideas that deal with contract based gambling, I hope you can come out with a video or better hire a designer to create a flow chart to fully illustrate the whole idea.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
Wapfika
Hero Member
*****
Offline Offline

Activity: 1456
Merit: 597


Bitcoin makes the world go 🔃


View Profile
August 14, 2023, 03:56:28 PM
 #8

Regarding difficulty - need only three users with 0.1 Matic (sum 0.21$) to start the process and paste here three tx ids, where third withdraw reward to First winner. (Not sure, that is really difficult). Moreover contract will refuse transaction if amount will be more or less than 0.1 Matic, that's why need to send exact amount (Two players should bet same amount).

Seems, I'll create video how to interact on this week.

I’m not pertaining to the actual difficulty on how the game work since this just a simple sending of money to smart contract address and wait for the result since payment is automatic due to smart contract. I’m talking about difficulty to find someone here to trust your smart contract for sending their money to money since the project is on early phase.

This is why I suggest for a trial run which involves player here to gain trust of players as you are still on early development phase.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 14, 2023, 08:48:43 PM
 #9



Seems, I'll create video how to interact on this week.

You need to create a video for this, I have a hard time understanding the concept but a graph or better a video on how this thing works will give us a full understanding of the full concept, this is new and interesting I'm not a fan of contract based gambling but I welcome new ideas that deal with contract based gambling, I hope you can come out with a video or better hire a designer to create a flow chart to fully illustrate the whole idea.

The video little bit boring, but from myself and quick posted. Hope next videos will become more interactive.

Welcome to watch video https://y0u.tube/watch?v=sGHf_w5Dhmk

Regarding difficulty - need only three users with 0.1 Matic (sum 0.21$) to start the process and paste here three tx ids, where third withdraw reward to First winner. (Not sure, that is really difficult). Moreover contract will refuse transaction if amount will be more or less than 0.1 Matic, that's why need to send exact amount (Two players should bet same amount).

Seems, I'll create video how to interact on this week.

I’m not pertaining to the actual difficulty on how the game work since this just a simple sending of money to smart contract address and wait for the result since payment is automatic due to smart contract. I’m talking about difficulty to find someone here to trust your smart contract for sending their money to money since the project is on early phase.

This is why I suggest for a trial run which involves player here to gain trust of players as you are still on early development phase.

Its possible, that you're right. Let's see.

CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 15, 2023, 07:43:36 AM
Last edit: August 15, 2023, 06:34:18 PM by CryptorClub
 #10



Seems, I'll create video how to interact on this week.

You need to create a video for this, I have a hard time understanding the concept but a graph or better a video on how this thing works will give us a full understanding of the full concept, this is new and interesting I'm not a fan of contract based gambling but I welcome new ideas that deal with contract based gambling, I hope you can come out with a video or better hire a designer to create a flow chart to fully illustrate the whole idea.
A simple visualization how game process flows.



About how to find Timestamp and to see whole process you may find in this amateur video https://y0u.tube/watch?v=sGHf_w5Dhmk

notblox1
Legendary
*
Offline Offline

Activity: 2254
Merit: 1319


Logo Designer ⛨ BSFL Division1


View Profile WWW
August 15, 2023, 02:56:29 PM
 #11

If this CoinFlip is not available on bitcoin blockchain than I am not really interested and I cant test it if I dont use coins you mentioned.
Smart contracts always have bigger or smaller bugs and it is possible for someone to exploit them like it happened already for many projects.
There is another thing I dont like when you mentioned to send double amount for better chances, that sounds a lot like old scams that offer to double your bitcoin.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 15, 2023, 05:16:29 PM
 #12

If this CoinFlip is not available on bitcoin blockchain than I am not really interested and I cant test it if I dont use coins you mentioned.
Smart contracts always have bigger or smaller bugs and it is possible for someone to exploit them like it happened already for many projects.
There is another thing I dont like when you mentioned to send double amount for better chances, that sounds a lot like old scams that offer to double your bitcoin.
Hello. As I understand you trust Bitcoin and is ok. Anyway its not possible to create decentralized game on bitcoin blockchain, because its not supported smart contracts (As I know, that Omni network as second layer of Bitcoin supported smart contracts, but I'm not familiar with it at this moment. Let me know if you meant Omni.).

I understand, that double profit sounds like old scams. That Scams controlled by its owner and it was centralized and code can be modified at any moment in most cases it was ponzi. This contract don't, because its not controlled by me after its publishing (Source code will be published after some time! And its simple - its chooses winner between two last transactions and send "double" amount to the winner in next block. There is no scam here) As I wrote in post before contract don't accumulates coins, so even if possibility to scam exist - it exist only for two transactions - then review on forum can be made.

About bigger or smaller bugs. Smart contracts provides for us possibility to make decentralized exchanges between two tokens in one block and this opportunity for creation new decentralized apps, not only coins, but also services need to be in the future! Decentralized exchanges works good enough, and its written on smart contracts. That's why I'm interested in it. My path is to simplify code to minimal, where no place to bug, so this game is first version of this simple code, and even bug will be, it can be fixed and created new contract with these new implementation. Bugs exists everywhere in code, and when it finds we modificate code to a better one - all programs written in such manner. And after some time we got programs like Linux, Bitcoin, what next...?

About test - you really can't test if you don't have Matic or BNB, as I understand its lack of trust to it. But exist testnet with free tokens to try it, its good experience.

notblox1
Legendary
*
Offline Offline

Activity: 2254
Merit: 1319


Logo Designer ⛨ BSFL Division1


View Profile WWW
August 15, 2023, 05:45:39 PM
 #13

Hello. As I understand you trust Bitcoin and is ok. Anyway its not possible to create decentralized game on bitcoin blockchain, because its not supported smart contracts (As I know, that Omni network as second layer of Bitcoin supported smart contracts, but I'm not familiar with it at this moment. Let me know if you meant Omni.).
I saw there are many other layer networks that are connected with main bitcoin blockchain, not just omni, so maybe you can research more about them.
I think they work very similar like blockchains but I am not expert or developer to explain the difference.

About bigger or smaller bugs. Smart contracts provides for us possibility to make decentralized exchanges between two tokens in one block and this opportunity for creation new decentralized apps, not only coins, but also services need to be in the future!
I don't understand and cant read smart contracts, and someone can easily create scam contracts that pay differently.
Did someone audit your smart contract?

About test - you really can't test if you don't have Matic or BNB, as I understand its lack of trust to it. But exist testnet with free tokens to try it, its good experience.
So I can test CoinFlip with this test coins?

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 15, 2023, 06:15:28 PM
Last edit: August 18, 2023, 12:39:02 PM by CryptorClub
 #14

I don't understand and cant read smart contracts, and someone can easily create scam contracts that pay differently.
Did someone audit your smart contract?

So I can test CoinFlip with this test coins?

Right now its not audited, but will be. I propose attract enough attention to its project, test as is at this time, than create other amount of Bets, stress test it and only then publish source code (Because it will be not visible for those, who decide to hack it - this will be next wave for stress test). Anyway is not a principal, I can publish it without stress test, if community will be interest in.

Yes, you can test CoinFlip with test coins. You need to install MetaMask extension (in this video I show how to install it https://y0u.tube/watch?v=sGHf_w5Dhmk ) and need to add there Mumbai Polygon test network, click icon at the end of page, after you install Metamask. Here is contract address on Mumbai testnet: 0x5e2461951ab6caC9738516260405480d5fe6Cc66
You get get free tokens for test here than here
Also need second player, you may invite someone, or I can bet also.
(Is also possible to publish on BSC testnet, if you wish)

CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 16, 2023, 08:18:29 AM
 #15

Contract with higher bet (0.2 Matic) added to Polygon Blockchain (0x26fC3ED19E40a91Ef7257E0ebD3f865241e555dB)
Added into a table it starter post. Future contracts with higher bets will be added into this table.

robelneo
Legendary
*
Offline Offline

Activity: 3430
Merit: 1226



View Profile WWW
August 16, 2023, 09:57:51 AM
 #16

So this thread is going to be the platform, can you clarify this, I have seen contract-based games and they have their own platform or website for all bets, but this is something unique, I understand that this is still in a test net phase why here why do a test first and when the formula or method is fully established then create an official announcement with all the things needed for members to fully understand the concept, you just created a video and a graph because members have recommended it.

If you want this to be a test discussion you should change the title to Test phase but anyway good luck with your project I include myself calling for an audit of the contract hopefully coming from these auditors
https://www.coingecko.com/learn/11-best-smart-contract-auditing-companies

..cryptomus..   
  
.
lllllllllllllllllll CRYPTO
PAYMENT GATEWAY
▄█▀▀██▄░░░▄█████▄░░░▄▀████▄
██░▀▄██░░░██▄░▄██░░░██▄▀▀▀█
██░▀▄██░░░███▄███░░░███░░▄█
▀▀▀▀▀░░░░░▀▀▀▀▀░░░░░▀▀▀▀▀
▄▄▄▄▄░░░░░▄▄▄▄▄░░░░░▄▄▄▄▄
███▀▄██░░░██▀░▀██░░░██▀▀▀▀█
██▀▄███░░░██░░░██░░░█▄███░█
▀█▄▄▄█▀░░░▀██▄██▀░░░▀█▄▄▄█▀

▄█████▄░░░▄█▀▀██▄░░░▄█████▄
█▀░█░▀█░░░█░▀░▀▀█░░░██▄░▄██
█▄█▄█▄█░░░███░▀▄█░░░███▄███
▀▀▀▀▀░░░░░▀▀▀▀▀░░░░░▀▀▀▀▀
ACCEPT
CRYPTO
PAYMENTS
..GET STARTED..
CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 16, 2023, 12:31:16 PM
 #17

So this thread is going to be the platform, can you clarify this, I have seen contract-based games and they have their own platform or website for all bets, but this is something unique, I understand that this is still in a test net phase why here why do a test first and when the formula or method is fully established then create an official announcement with all the things needed for members to fully understand the concept, you just created a video and a graph because members have recommended it.

If you want this to be a test discussion you should change the title to Test phase but anyway good luck with your project I include myself calling for an audit of the contract hopefully coming from these auditors
https://www.coingecko.com/learn/11-best-smart-contract-auditing-companies
Thanks for audit companies list - will check them and send for audit, when Dev fee will be enough to pay their services.

I can clarify, that exactly thread will be platform for First stage, because all calculations and checks is inside Smart contract made, and block explorer is a transparent database for all transactions made through Contract. So own platform needed just for User Interface in our case and not for manipulations with choosing winner, that's main point, Block timestamp in seconds chose who is winner (As i hope that its fair random number, the only risk I see, that the miners can manipulate with Timestamp, but not sure that is easy). Hope its really unique idea and will be interesting for players.

Bitcoin not need website to use bitcoin as a Smart Contract not requires. Anyway in next stages it can and seems will be, if will be enough attention and interest.

Regarding test discussion: I'm not recognize it as a test, because Contract published on mainnet of Polygon. In same way we all can agree, that all Blockchain projects including Bitcoin is an our Global test... but we using it as value since 2009, until new bugs find to fix the code. Contract code - is simple, but can be not perfect, to fix disadvantages in new versions.

The thing that it has bugs can be also covered from other side with thing, that is too good (and works like a clock), and attracts enough attention to slow down blockchain like it was with some other games. That's why I planning to show source code on next stage, when attention will be enough, or community decides, that is better to publish it earlier, than later.

CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 16, 2023, 09:07:20 PM
 #18

Block timestamp in seconds chose who is winner (As i hope that its fair random number, the only risk I see, that the miners can manipulate with Timestamp, but not sure that is easy). Hope its really unique idea and will be interesting for players.
Found this in Solidity documentation https://docs.soliditylang.org/en/latest/units-and-global-variables.html#block-and-transaction-properties


So seems that was not good idea to chose winner based on Timestamp directly. Seems case when miner do second Bet (when winner choses), set minimal tx fee and includes his transaction onto block with needed timestamp has possibility to exist https://ethereum.stackexchange.com/questions/103205/by-what-duration-can-a-miner-manipulate-block-timestamp

Moreover on Polygon network each next block generated every 2 seconds, and a lot of blocks has a lot of even timestamps in a row, as odd also.

So the logic choosing winner will be changed in next update.

CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 18, 2023, 12:54:00 PM
Last edit: August 18, 2023, 01:06:00 PM by CryptorClub
 #19

Block timestamp in seconds chose who is winner (As i hope that its fair random number, the only risk I see, that the miners can manipulate with Timestamp, but not sure that is easy). Hope its really unique idea and will be interesting for players.
Found this in Solidity documentation https://docs.soliditylang.org/en/latest/units-and-global-variables.html#block-and-transaction-properties


So seems that was not good idea to chose winner based on Timestamp directly. Seems case when miner do second Bet (when winner choses), set minimal tx fee and includes his transaction onto block with needed timestamp has possibility to exist https://ethereum.stackexchange.com/questions/103205/by-what-duration-can-a-miner-manipulate-block-timestamp

Moreover on Polygon network each next block generated every 2 seconds, and a lot of blocks has a lot of even timestamps in a row, as odd also.

So the logic choosing winner will be changed in next update.

Fixed in new version Contracts on Polygon
0x7196f59B7A17252524Ebb7C75908E452BFf1500E with Bet 0.1 Matic
0x0a7C520273FF2b37013E844Cd133960Eb31BA52C with Bet 0.2 Matic

BSC
0x8af75e8DE6c766a934871c6ec0733d262fE08089 with Bet 0.01 BNB

Logic changed - now for choosing winner need Timestamp and 9 hashes
So to "Bad" miner needed to control not just timestamp but hashes of 9 blocks, while no bets made, to chose as a winner himself.
also
Source code published https://polygonscan.com/address/0x7196f59b7a17252524ebb7c75908e452bff1500e#code

CryptorClub (OP)
Copper Member
Jr. Member
*
Offline Offline

Activity: 877
Merit: 1

https://greencoin.online/


View Profile WWW
August 18, 2023, 06:32:59 PM
 #20


Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!