# About ElrondBet.net

Built with Love ❤️ and #NUTS 🌰 on Elrond Blockhain

<figure><img src="/files/kgnDHVKcCcfcrQQ1f7JB" alt=""><figcaption></figcaption></figure>

## <mark style="color:blue;">Introduction</mark>&#x20;

🎮 ElrondBent.net is a decentralized betting platform powered by MultiversX Network. Unlike traditional casinos that operate in black boxes, ElrondBet runs on smart contracts that are fair, transparent, and, immutable.

With 🌰 $NUTS as the primary ⛽ fuel of the dApp, our main target is to develop the largest and most rewarding gaming platform built on the MultiversX Network.

🔑 The key is our continuous work and learning, which results in a fast, engaging, secure, and entertaining gaming experience.

🚀 The platform provides a low-cost and fast gaming experience through the combination of both traditional core games and blockchain mechanics. Every bet comes with a fee, distributed to all VIP Cards NFT holders as a special reward.&#x20;

<figure><img src="/files/8sbOTWMZ4kj9gnsQwwgf" alt=""><figcaption></figcaption></figure>

### **The Platform:**

The principle of smart contracts is to allow users to play casino games with their tokens on the **MultiversX** blockchain.

Currently, our users have the possibility to play **Card Flip, Token Flip, RPS, 1 vs 1, Blackjack,** and many other games that will come soon directly **on-chain.** This ensures the total transparency and fairness of the platform.

##


# Getting Started

🏁 To start using our dApp, you must first log in with a MultiversX Wallet and have some EGLD to pay the gas fees or bet with.<br>

There are multiple ways to get a wallet, the main one being to download the [<mark style="color:blue;">**Maiar App**</mark>](https://maiar.com/) for mobile devices. <br>

You can also get a wallet by using the [<mark style="color:blue;">**Maiar DeFi Wallet**</mark>](https://chrome.google.com/webstore/detail/maiar-defi-wallet/dngmlblcodfobpdpecaadgfbcggfjfnm) extension for Google Chrome or you can also use your [<mark style="color:blue;">**Ledger**</mark>](https://support.ledger.com/hc/en-us/articles/360016750819-Elrond-EGLD-?docs=true) device.

For more information be sure to also check out the main [**Elrond**](https://elrond.com/) site.

▶️ Once you have your wallet, you are ready to connect and have fun on our website. 🥳


# Card Flip

🃏 Card Flip, also renowned as the decentralized "Shell Game," is a gambling game in which you must predict which card will be chosen at random by the Smart Contract based on the Game Mode selected.

### 🕹️ Game Mods: X2, X3

**X2:** Two cards are displayed, one of which is a winner. 🍀 **50% Win chance.**

**X3:** Three cards are displayed, one of which is a winner. 🍀 **33.33% Win chance.**


# RPS

Rock, Paper, Scissors

A classic two-person game upgraded to a blockchain version: **Person vs Smart Contract.**&#x20;

**Game logic:**

![](/files/tzEfePG0TOeoy7xiOIgc)

<mark style="color:green;">**Win:**</mark> The player doubles his money ( x2 bet amount - bet fee ). 🍀 3&#x33;**% chance.**

<mark style="color:orange;">**Draw:**</mark> The player gets back the bet amount - bet fee. 🍀 **33.33% chance.**

<mark style="color:red;">**Lose:**</mark> The player loses the bet.  **33.33% chance.**


# Battle Arena

PvP Game

Play 1 VS 1 is a PvP game in which players can launch or accept challenges for a set amount of tokens. When a game is accepted, the smart contract will do a random selection between the two players to determine the winner of the fight. The winner takes the pot.&#x20;

![](/files/jHjRiDvAJwoLYZb05G2o)


# Blackjack

European Blackjack Basics

The game of European Blackjack has the same basic structure as other standard blackjack games.

* The game is between the dealer(smart contract) and the player.
* The objective is to get a hand of 21 or as close to that number as possible to win.
* Cards from 2 to 9 are valued at their face value.
* Cards from 10 to K are valued at 10 points each.
* The Ace (A) has a value of 1 or 11.

One basic difference is in the deal itself. **Once the bets are placed the dealer/SC deals out the cards.**

* The player gets two cards, both face up.
* The dealer (Smart Contract) gets the first card, which is an open card and is face up. At this point that is all he gets. His second card is dealt after the player has played his hand.

## Odds

The odds for a player winning in a game of Blackjack is 42.22%. The chances of a dealer win is slightly higher at 49.1% with the remaining 8.48% being for the odds of a tie.

**House edge**: Just 0.9%.


# NUTS Roulette

🎰 **Game Mechanics:**

* Each bullet carries a 1 in 6 chance of winning.
* The cost per bullet is 25k NUTS + 0.02 EGLD.
* For every bullet, 5% of the NUTS used are burned, and 5% are sent to the treasury.
* If there is a referrer, he receives 1% of both NUTS and EGLD used, at no additional cost to the player; after deductions, 90% of the NUTS remain in the contract.
* 50% of the EGLD goes to a special super jackpot, while the other 50% is sent to the treasury.

💸 **Discounts and Special Offers:**

* Purchasing six bullets together results in a 50% discount on the sixth bullet, costing only 0.11 EGLD instead of the standard 0.12 EGLD.
* If the jackpot is less than 150k NUTS (25k NUTS multiplied by 6 bullets), the cost per bullet is halved to 0.01 EGLD, maintaining the same total cost for six bullets as for five bullets (0.05 EGLD).

🎉 **Jackpot Allocation:**

* JACKPOT: 25% of all NUTS in the contract.
* NEXT GEN JACKPOT: 30% of all NUTS in the contract.
* SUPER JACKPOT: 35% of all NUTS in the contract.
* The remaining NUTS stay in the contract for further reward distribution.

🎁 **Special Jackpots:**

* Exclusive to players using **six** bullets and optionally sending the appropriate NFT.
* Each jackpot type has a chance to win a special prize:
  * JACKPOT: Starts with a 10% chance of winning a Squirrel NFT.
  * NEXT GEN JACKPOT: Starts with a 20% chance of winning a Next Gen Squirrel NFT.
  * SUPER JACKPOT: Starts with a 30% chance of winning accumulated EGLD rewards.
* Special chance increases by 10% if not won and by 1% for every bullet made. It resets when any special jackpot is won.

🚀 **Summary:**

In summary, this game offers players an exciting and engaging opportunity to participate in a lottery-style system with various jackpot options and chances to win special prizes. With clear rules and transparent mechanics, it provides an entertaining experience for cryptocurrency enthusiasts.


# xMEMES

NFT your MEME, get it voted into the Top 10 and earn $NUTS! Built on the MultiversX Blockchain.

Have you noticed that the blockchain/crypto space is full of MEMEs? So why not have the MEMEs actually be NFTs on the blockchain so you can start earning from your creations?

Thanks to [MultiversX](https://multiversx.com/), this is now possible to do cheaply and completely decentralized.

When you create MEMEs on our Dapp, you are also creating NFTs that you own!

Vote for your favorite MEMEs and each period (two weeks\*) the Top 10 MEMEs share a prize pool of $NUTS, which come from fees when creating a MEME (costs 20k $NUTS / meme) and fees from voting (10k $NUTS / extra vote).


# Creating Memes

Rock, Paper, Scissors

A MEME can be created every 10 minutes, to prevent spam. Just input the name of your MEME, select an image (JPG, PNG, WebP, Jfif) or a GIF and submit the transaction. (a CAPTCHA will also be triggered to prevent spam). The MEME image/GIF is saved on IPFS before the URL is sent to the contract.

> In the future, MEMEs will also have a category, but for now all MEMEs are considered to be in the **funny** category.

The MEMEs you create are **yours**, which means that you will receive an NFT **in your wallet,** which represents the created MEME.

Creation of a MEME costs 20k $NUTS. 50% of the $NUTS is burned and 50% of the $NUTS is added to a pool to be shared by Top 10 MEMEs each period.

{% hint style="info" %}
If you don't have enough $NUTS, the required value in $EGLD/$WEGLD will be automatically swapped for you.
{% endhint %}

The NFTs currently have 10% royalties, which will go towards the project treasury to be used in the future. (although these basic NFTs don't really have any value and should not be traded)

We **strongly** recommend to keep a hold of your MEME NFT in case your MEME is voted a lot and gets in the Top 10 MEMEs of a period. Those MEMEs will share a reward pool of $NUTS.

{% hint style="warning" %}
Make sure to only create MEMEs with media files that you originally created, otherwise if the NFT gets into an auction it might need to be removed because of copyright reasons!
{% endhint %}


# Voting Memes

PvP Game

MEMEs can be voted by any MultiversX address. Each address gets **10 votes** per period that can be used to vote any MEMEs you want. Multiple MEMEs can be voted at a time for optimising gas fees.

If you want to have more than 10 votes per period, then you can pay 10k $NUTS per each extra vote. 50% of the $NUTS is burned and 50% of the $NUTS is added to a pool to be shared by Top 10 MEMEs each period.

{% hint style="info" %}
If you don't have enough $NUTS, the required value in $EGLD/$WEGLD be automatically swapped for you.
{% endhint %}

A period lasts for **2 weeks\*** **starting at 00:00 UTC time on Mondays**. At the end of a period, the Top 10 MEMEs from that period will enter the Auction.

MEMEs from older periods can also be voted in the current period. The smart contract keeps track of how many votes a MEME gets in each period, so MEMEs from older periods **can also** be in the Top 10 of the current period if they get enough votes.

Likewise, a MEME can be in the Top 10 memes multiple times if it gets enough votes in multiple periods.


# Rewards

Top 10 MEME NFTs earn $NUTS rewards from the shared pool each period.

If you don't have any Top MEME NFTs, you can check your account for MEME NFTs that can be upgraded or get one from 3rd party marketplaces.

The **Rarity** of your Top MEME NFT determines the rewards you get relative to other NFTs:

* Rare (1) -> 1x multiplier
* Rare (2) -> 1.1x multiplier
* Rare (3) -> 1.2x multiplier
* ...
* Rare (9) -> 1.8x multiplier
* Rare (10) -> 2x multiplier
* Super Rare -> 2.25x multiplier


# Rarity

Currently the NFTs on our platform can have the following rarity levels:

* **Common**
  * every MEME created on our platform starts as rarity Common
  * *these NFTs have almost no value*
  * *part of the <mark style="color:red;">Meme NFT</mark> collection*
* **Rare (n)**
  * MEMEs in Top 10 have a rarity of Rare (rarity 1 - 10 internally), followed by the inverse of the place they were in the top; eg: MEME in last place has rarity **1** and MEME in 1st place has rarity **10**
  * **these NFTs are really valuable, since only 10 of these NFTs are created each period (if two week period then \~260 NFTs per year)**
  * part of the *<mark style="color:green;">Top Meme NFT</mark>* collection
* **Super Rare**
  * this rarity is reserved for exclusive MEMEs that come from our partners or are official platform MEMEs (rarity 255 internally)
  * **are more valuable than the 1st place NFT from the Top 10**
  * part of the *<mark style="color:green;">Top Meme NFT</mark>* collection

The Rarity of an NFT is stored in the NFT attributes of the Top Meme NFT. A normal Meme NFT is upgraded to a Top Meme NFT if it was part of a Top 10, with the Rarity being stored in the attributes. If the NFT from the Top 10 is already a Top Meme NFT, the Rarity in the attributes is upgraded instead.

Because the Rarity is stored at the NFT level, it is easy to build more functionalities in the future that takes this attribute into account (eg: referal system/staking/DAO contracts etc).


# Upgrading

Anyone with an MultiversX Wallet can create ***Common*** **MEME NFTs** on the platform, so those NFTs are not special. These are part of the ***MEME NFT*** collection.

These NFTs can be upgraded to **Top Meme NFTs** if the MEME was part of a previous Top 10. The are upgraded by being burned and a new NFT from the new collection being issued. The ***Top Meme NFT*** collection will be tradable on NFT marketplaces and will actually have value on our platform.

Only the Top 10 MEMEs every two weeks can be upgraded. A *common* meme NFT which was part of a Top 10 can be upgraded from the *Wallet Memes* page.


# NFT Insurance

### Risk-free Investment&#x20;

To demonstrate our seriousness and long-term commitment, we have created this new concept that offers a risk-free investment for the MEMEverce VIP Cards NFT minters.

If the NFT Floor Price falls below the Mint Price after 1 Year (17.06.2023) and the **Total staking rewards did not exceded 250 EGLD**, the minter will have the possibility to Claim back the EGLD paid to mint the NFT. ( 0.5 EGLD Whitelisted Mint / 0.7 EGLD Public Mint )

### How we'll make this possible?

To secure the risk-free investment concept, 10% of the total royalties + 2% of the total betting fees will go into the NUTS Treasury portfolio which will bear all the refunds for the eligible addresses that have chosen not to sell their NFTs during that 1 year period.

**Treasury Wallet Addresses:** We keep the project treasury in the game's liquidity.&#x20;

\
`erd1qqqqqqqqqqqqqpgquafq3ksr8sn9zgpfg0ldpq7ckpwgzl6v3f7qa4pxrp`\
`erd1qqqqqqqqqqqqqpgqr75sdedsds97n5lw67ut8s3fy4necmcd3f7qspkt6k`\
`erd1qqqqqqqqqqqqqpgqu87rtp56ekeeudps9h5q9znj9hky9avu3f7qkr7uem`

### Refund Eligibility Conditions:&#x20;

* ⚠️ NFTs bought from the NFT marketplaces are not insured.&#x20;
* ⚠️ Only the Minters are eligible for the NFT Insurance program.
* ⚠️ NFT has never been Staked to farm EGLD

\
\ <br>


# Fairness

### Card Flip SC Code:

```
 let mut rand_source = RandomnessSource::<Self::Api>::new();

        // Calculate a random number between 1 - 200 (x2), 1 - 300 (x3) and 1 - 400 (x4)
        let random_result = rand_source.next_u16_in_range(1, game_mode * 100 + 1);
        // The actual card is the rest from division + 1 since selected_card starts from 1
        let result = (random_result % game_mode + 1) as u8;

        // Caller LOST...
        if selected_card != result {
            self.distribute_tokens(collection, &token, &amount, false);

            return ( ManagedBuffer::from(b"unlucky"), result ).into();
        }

        // Caller WON!
        let multiplier = BigUint::from(game_mode as u32);
        let amount_won = &amount * &multiplier;
```

### RPS SC Code:

```
let mut rand_source = RandomnessSource::<Self::Api>::new();

        // Calculate a random number between 1 - 300
        let random_result = rand_source.next_u16_in_range(1, 301);
        // The actual card is the rest from division + 1 since selected_card starts from 1
        let result = (random_result % 3 + 1) as u8;

        // Caller DRAW...
        if selected_card == result {
            self.distribute_tokens(collection, &token, &amount, true);

            return ( ManagedBuffer::from(b"draw"), result ).into();
        }

        // Caller LOST...
        if (1 == selected_card && 2 == result) // rock loses to paper
            || (2 == selected_card && 3 == result) // paper loses to scissors
            || (3 == selected_card && 1 == result) // scissors loses to rock
        {
            self.distribute_tokens(collection, &token, &amount, false);

            return ( ManagedBuffer::from(b"lose"), result ).into();
        }

        // Caller WON!
        let multiplier = BigUint::from(2u32);
        let amount_won = &amount * &multiplier;
```

### Battle Arena SC Code:

```
 let mut rand_source = RandomnessSource::<Self::Api>::new();
        // Calculate a random number between 1 - 200
        let random_result = rand_source.next_u8_in_range(1, 201);

        // Caller LOST...
        if 0 == random_result % 2 {
            self.distribute_tokens(&game.creator, collection, &token, &amount_won);

            return ManagedBuffer::from(b"unlucky");
        }

        // Caller WON!
        self.distribute_tokens(&caller, collection, &token, &amount_won);
```


# Referral

Refer people to our platform and earn **0.5%** of their fee on **EVERY GAME** played using $EGLD or $NUTS OR earn up to 15 $NUTS per play for other tokens.

The person you refer will also get a reduced fee of **0.5%**.

Just share your referral link with someone and from their next game, they will be automatically counted as your referral!


# ElrondBet Fees

### 🧮 **Bet Fees on MEMEverce SC:**&#x20;

To examine the complete details of the fees levied on our platform for each bet, hover your mouse over the fee indicated on each game page, as shown below:

![](/files/NFIrvmCCBOUagyUkXKhZ)

Max fee for un-referred people: 7.5% Bet Fee\
Max fee for referred people: 7% Bet Fee ( 0.5% discount fee on each bet for using a referral link )

{% hint style="info" %}
Funds collected on the **Treasury Wallet** will be used to expand the project.\
(Marketing Campaigns, Development, Giveaways)
{% endhint %}


# VIP Token Swap

Swap VIP Token for VIP Card NFT

<figure><img src="/files/dQbrbqqI5K56y5MabRcy" alt="" width="200"><figcaption></figcaption></figure>

## Instructions:

1. If you managed to farm a full VIP token, you can trade it for a VIP Card NFT at <https://www.quantumx.network/hub>
2. Stake your VIP Card NFT and enjoy the EGLD rewards! :smile:<br>

{% hint style="info" %}
If you didn't manage to farm an entire VIP token, don't be sad. You can trade your VIP fractions with other members on the Discord channel. The VIP rewards will continue as we restock the inventory with more VIP Cards.
{% endhint %}


# Official Channels

🌐 **Website:** [**https://elrondbet.net**](https://elrondbet.net)

🌰 **NUTS Token:** [**https://nutstoken.net**](https://nutstoken.net)

🐦 **Twitter:** [**https://twitter.com/token\_nuts**](https://twitter.com/token_nuts)

📞 **Telegram:** [**https://t.me/memeverce**](https://t.me/memeverce)

🤖 **Discord:** [**https://discord.com/invite/GNYjKjcCmS**](https://discord.com/invite/GNYjKjcCmS)

🖼️ **Rewarded NFT Collections:** \
&#x20;       **SquirrelS:** [**https://xoxno.com/collection/NUTS-005de8**](https://xoxno.com/collection/NUTS-005de8)\
&#x20;       **VIP Cards:** [**https://xoxno.com/collection/VIP-d42405**](https://xoxno.com/collection/VIP-d42405)


# Smart Contracts

### Mainnet

**Card Flip Contract:** \
`erd1qqqqqqqqqqqqqpgquafq3ksr8sn9zgpfg0ldpq7ckpwgzl6v3f7qa4pxrp`\
\
**Battle Arena Contract:**\
`erd1qqqqqqqqqqqqqpgqrzm5qlh3ckxf9hr4y3y5caxftj4ef5ak3f7qfg9cxk`

**Token Flip / Blackjack:**\
erd1qqqqqqqqqqqqqpgqr75sdedsds97n5lw67ut8s3fy4necmcd3f7qspkt6k

**NFT Staking Contract:** `erd1qqqqqqqqqqqqqpgq4cap68t3a8ps84a6he2mez0cp5mqqj0ujnxs6p69zu`

**RPS Contract:** \
erd1qqqqqqqqqqqqqpgqu87rtp56ekeeudps9h5q9znj9hky9avu3f7qkr7uem

### Mainnet xMEMES <a href="#mainnet" id="mainnet"></a>

**NFT Token Identifier:** `NFTMEMES-0300ba`

**Top NFT Token Identifier:** `TNFTMEMES-7e0cde`

**Meta Staking Token Identifier:** `METASMEME-075f03`

**Meme Voting** **Contract:** `erd1qqqqqqqqqqqqqpgqjkjuya04mzesltxphap72k7n6jrme6w9a2pqd2r2ah`

**Meme Auction Contract:** `erd1qqqqqqqqqqqqqpgq9drfegafhccp4sqe67leu80gkcz8keuza2pqete3vd`

**Meme Staking Contract:** `erd1qqqqqqqqqqqqqpgqrzmss90x6me4qtjnhyznq5yyjcqc4f3da2pqg7a0mx`


