of x amount of kda and the winner will be paid automatically so that no one can alter the results?
MetaMask and TrustWallet aren't supported! Kadena has its own blockchain so doesn't have a contract address as such. You can obtain it from CoinMetro.com / Binance.com / KuCoin.com / Gate.io / Okx.com (and other exchanges listed here: https://www.coingecko.com/en/coins/kadena#markets)
There needs to be a trigger, maybe a limited number of entries, and entry number 100 triggers the result and transaction, but not sure
You mean like a lottery
a countdown, for example
learn PACT
The way SC is by triggers and access, you can't automate a countdown and then a blockchain TX happens. A TX needs to happen to create outcome via permisions and capabilities first. So there must be a trigger TX that creates a result
Yes, a collection of participations and the proceeds would be the prize
Manual trigger of results then, by creating capabilities of only triggering the specific action of "finding a winner"
For example, each bet of 1 kda would have a tx, and from all of those tx, randomly choose a winner, and the contract itself would pay the prize to the spistante wallet.
MetaMask and TrustWallet aren't supported! Kadena has its own blockchain so doesn't have a contract address as such. You can obtain it from CoinMetro.com / Binance.com / KuCoin.com / Gate.io / Okx.com (and other exchanges listed here: https://www.coingecko.com/en/coins/kadena#markets)
You can, but the "finding a winner" needs to be manually triggered in this case if I'm not mistaken. And the smartcontract to assign a winner is public and verifiable so as long as you call that, then it should be all gucci
Обсуждают сегодня