Search content
Sort by

Showing 20 of 36 results by elmuria
Post
Topic
Board Tokens (Altcoins)
Re: [EXPERIMENT] - Token Minimal Extractable Value : TMEV
by
elmuria
on 19/02/2025, 23:19:43 UTC
This seems like a good step toward implementing the Galactic Milieu's "treasury based assets" in smart contracts!

Excellent!

I have always assumed that ultimately such game-mechanics would end up hard-coded but had not actually begun working on that aspect of things because of course until the game-mechanics prove to work well in practice and any potential kinks or adjustments that prove necessary are worked out hard-coding seemed a little premature.

So it is good to know others are already moving ahead toward testing approaches to the kinds of hard-coding that will eventually be wanted. Smiley


-MarkM-



Thanks you very much. Yes we will try this mechanism with a token with transfers taxes in order to fill in the vault, as an experiment, if you want to participate in anyways you are welcome.
Post
Topic
Board Tokens (Altcoins)
Re: [EXPERIMENT] - Token Minimal Extractable Value : TMEV
by
elmuria
on 15/02/2025, 01:14:54 UTC

Hold The Fucking Position : HTFP & TMEV - A Radical Experiment in Tokens and Meme Coins Value


Disclaimer : While the possibilities seem promising, it’s essential to remember that this is all experimental. The system might evolve, and there are no assurances that it will function optimally under all conditions. Nevertheless, for those keen on pioneering innovative DeFi mechanics, this experiment offers an exciting (albeit risky) opportunity to get involved early.


Contextual Introduction

Tired of bland meme coins that promise the moon and deliver dogshit? Sick of handing your hard-earned money over to some half-baked hype project, only to watch your bags plummet to zero?
Welcome to Hold The Fucking Position : HTFP the Solana-based token that dares to be different. We’re merging a deflationary tax system with a new on-chain concept called TMEV (Token Minimal Extractable Value) to offer something the DeFi universe rarely sees: a bold attempt at building a baseline price floor by way of a dedicated vault mechanism.

Think about every time you’ve gotten rugged. That asshole dev changed the rules, minted a gazillion extra tokens, or drained the liquidity. Or maybe they “forgot” to mention some backdoor code that let them vanish in the night. With HTFP, there’s no shady behind-the-scenes bullshit. The contract is designed to funnel real SOL into a vault, giving the HTFP token an on-chain redemption option. That’s right: we’re aiming for a scenario where you can swap your tokens for a baseline amount of SOL even if the broader market goes to hell. No more whining about a rug pull or random zeroing out. Either we make it big, or we die trying ! No half measure here.

This article digs deep into how HTFP and TMEV function, why you might want to throw a few bucks into this experiment (and I do mean “experiment”), and what the next steps look like. We’ll keep it raw, we’ll keep it direct, and we’ll keep it free of the usual corporate bull. By the end, you’ll either be fired up to join, or you’ll run screaming for the hills. Either way, at least you’ll finally see some honesty and creativity in the DeFi scene.


Meme Coins: The Promise and the Pitfalls

Meme coins and even most tokens can rocket you from rags to riches or annihilate your portfolio in a matter of days, sometimes even hours. Some degenerate gambler on Twitter shills a coin with an appealing name and a half-decent cartoon mascot, and suddenly there’s a wave of hope dragging hordes of starry-eyed dreamers along for the ride. We’ve seen it time and again: someone invests, tweets about it, and calls it the next big thing, while early adopters quietly offload their bags onto unsuspecting suckers.

But why do so tokens coins fail? First, they rarely have any real backing or mechanism that stabilizes their value. Second, they’re typically run by folks who can’t code for shit and rely on copy-pasted contracts. Third, the emphasis on hype over substance leaves you with the dreaded “pump and dump,” where momentum disappears as quickly as it arrives. Before you blink, that coin you believed in is worthless, and you’re left scrambling for the next big thing, or deciding to quit DeFi altogether.

HTFP makes no illusions about guaranteed riches or “blue-chip” status. This is still a damned meme coin, except we’ve introduced one twist: a heavy-hitting vault concept that locks away tokens, collects SOL, and tries to ensure a minimal extractable value for holders. Yes, there are no foolproof safety nets in crypto, but at least we’re not ignoring the problem. We’re tackling it head-on by offering a real mechanism that you can watch on-chain, not some intangible promise of “partnerships” or “someday utility.” The utility is that you can, at any time, swap out your HTFP for SOL from the vault according to a simple formula. If that sounds good, keep reading.


Introducing HTFP: The Unholy Union of Meme & Math

Token Name: Hold The Fucking Position
Ticker : HTFP
Total supply : 1 trillion
Blockchain: Solana (Token-2022 with Transfer Hooks)
Key Feature: 7% tax on every single transaction

2% is deposited into the TMEV Vault and locked forever (equal to a burn).
5% is automatically swapped for SOL (via the pool) and then hurled into the TMEV vault.
Why does this matter? Every time you transfer HTFP, some of your precious tokens and SOL head straight into the vault. That TMEV vault is basically the beating heart of the project. It accumulates SOL, and it also locks away HTFP (cutting down on the circulating supply). Over time, the TMEV Vault grows as transactions happen, theoretically increasing the baseline price floor for HTFP. You might be thinking, “Hey, taxes suck!” But let’s be real: if you’re after a quick flip, you’ll probably hate this design. If, on the other hand, you like the idea of encouraging people to hodl, and fueling a vault that could support your bag, you might see the point.

Deflation by Design:

Because 2% of every transfer remains locked in the vault forever, the total available supply gets scarcer. That’s deflation, baby. Meanwhile, the 5% turned into SOL means your token is continuously backed by a growing SOL reservoir, so you’re not just sitting on a worthless meme coin. You’re sitting on a worthless meme coin that could theoretically be redeemed for some fraction of SOL that keeps growing as long as transactions happen. That’s got to feel better than the usual scenario of “I hope someone on Twitter pumps this next week.”


TMEV Vault: Token Minimal Extractable Value

Now let’s get to the real star of the show: TMEV. This concept aims to provide you with a tangible, baseline payout. If everything else collapses, you should, at minimum, be able to claim some SOL in exchange for your HTFP. No more pathetic pennies for your tokens on some scuffed DEX. Instead, the vault will cough up SOL based on this formula:

SOL received by user = Total SOL in vault × HTFP token amount user wants to swap / ( HTFP total supply − Total HTFP tokens locked in vault )

You don’t need a degree in rocket science to see the brilliance here. As more HTFP gets locked, the denominator decreases. That means each newly deposited token effectively redeems more SOL, so long as the vault’s total SOL stash keeps climbing. The more transactions occur, the higher the vault’s SOL balance, the better the ratio you might get. It’s a nice system if it works as intended.


Advantages:

Predictable Escape Hatch: You always know how much SOL you can fetch for your tokens.

Built-In Supply Squeeze: Those tokens you trade in never see the light of day again.

Market Price Independence: The formula runs on contract logic, so you don’t rely on random liquidity pools for price stability.


Limitations:

Dependent on Vault Growth: If the vault doesn’t accumulate enough SOL, the minimal value will be a fraction of a fraction, leaving you unimpressed.

No Guarantee: If the broader Solana ecosystem or the project itself fails to attract users, the vault won’t fill up at any meaningful rate.

Experiment, Not Salvation: This isn’t a golden goose that prints free money. You’ll still face market turbulence, personal risk, and the possibility that the whole endeavor fizzles out. This is an experiment. Only invest with capital you can afford to lose.


Concrete Example: Suppose the market crash (and let’s, for this example, imagine arbitrage don’t works) and the vault is fill with 10,000 SOL in total. Meanwhile, half of the total HTFP supply is locked away from prior swaps 500 billions left. Let’s imagine you hold 1 billion HTFP tokens. You decide to swapthem into the vault. The formula will say you receive 20 SOL. That’s a direct, math-based redemption, no haggling. You get your SOL, and your 1 billion HTFP tokens now rest in the vault for eternity, boosting the deflationary effect for everyone else.
In real conditions, market price should always be > (or sometimes =) to the vault price as arbitrage will keep market price steady.


TMEV Vaults for All:

TMEV isn’t just our little playground it can be a game-changer for any project hungry to reward their token holders without just printing more tokens or dishing out worthless airdrops. Any crypto generating consistent revenue can funnel a chunk of those proceeds into its own TMEV vault, letting holders swap their tokens for blue chip tokens or stablecoins or a basket of assets stored inside multiple options can exist here. We happen to use SOL for our own twisted experiment, but the blueprint is universal. You’ve got a project raking in USDC or ETH? Stuff that into a TMEV vault and give your degens a real safety net. That’s how we move from spinning hype to building actual on-chain value.


Unlocking Value for Token Holders: TMEV as a Compliant Solution

Many protocols struggle to distribute rewards or fees to their token holders due to regulatory constraints. TMEV offers a solution, enabling protocols to deliver value to their holders without crossing legal boundaries. Technically, no direct value is distributed to individuals, and nothing about the process resembles as a security since there’s no direct profit-sharing involved. It’s a clever, compliant way to align incentives with token holders.


Arbitrage & Market Floor:

When markets tank and the HTFP price on external exchanges dips below the vault redemption price, there’s a mouthwatering arbitrage opportunity just sitting there waiting to be exploited. Savvy traders can buy HTFP cheaply from the pool and immediately swap it at the vault for a greater haul of SOL, pocketing risk-free gains until the two prices realign. This means that once the vault has a decent chunk of SOL, the token’s market price will have a strong incentive not to crash below that redemption value, why would it, if you could hoover up “free money” by flipping tokens for SOL at the vault? In other words, the vault sets a practical price floor that also rewards those who keep their eyes open for quick, brutal arbitrage profits.


Why Participate?

Hands-On Learning: Experience a new DeFi mechanism firsthand.
Shape the Future: Provide feedback that can help refine future versions of TMEV-like vault systems.

Potential Upside: If the experiment proves successful and widely adopted, early participants could see their tokens appreciate in value (though there’s absolutely no guarantee).

Innovative Tokenomics: If you’re bored with dog-themed clones that have no unique code or concept, HTFP might scratch that itch. We’re merging deflationary taxes with a SOL-based redemption vault, a two-pronged approach that can be appealing if you’re after an experimental yet potentially sustainable DeFi model.
Earn by Holding: Transaction taxes naturally reward long-term holders, because each transfer siphons more SOL into the vault and locks away more HTFP. If enough people trade it or speculate on it, you will see a bump in the vault’s SOL stash and thus a higher potential redemption floor for your tokens.

Future Upside (No Guarantees): Let’s be blunt. This could be the next big fucking meme coin, or it could fizzle out and vanish. Nobody here is promising Lambos or riches. If you’re the type who’d lose sleep if you missed out on “the next big thing,” that FOMO might drive you to experiment with HTFP. Just don’t blow your rent money. If it doesn’t work, you’ll hate yourself. If it does work, you’ll be singing from the rooftops about how you found the next 100x gem early on.

Community-Driven Experiment: We’re not a typical corporate-backed crypto. HTFP is raw, open, and driven by degen-level curiosity. We want people who are pissed off at rugs, excited by radical tokenomics, and unafraid to take some risk. The more people that jump aboard, the more transactions occur, which feeds the vault, and so the cycle continues.


Limitations (Because Let’s Not Sugarcoat Anything)

It’s crucial to acknowledge that HTFP and TMEV are still subject to the same chaotic forces that govern DeFi. If Solana crashes or the community gets bored and leaves, the vault can’t magically fix that. The formula doesn’t do a damn thing if there’s negligible SOL inside. On top of that, you’re paying a 7% tax every time you move the token, so day-trading or flipping it might be painful. You need to weigh those factors and decide if you’re up for the gamble.

We also can’t promise any hype-driven super-surge. The TMEV vault is a methodical approach, not a sensational shill technique. If hype does come, it’ll be thanks to the community rallying around this concept of a minimal value guarantee. If it doesn’t, it might be a slow grind until some external factor lights a fire under traders’ asses.

Because there are no centralized administrators or backdoors, stability relies heavily on community participation and trust in the contract code. Once deployed, it can’t be paused or altered without a new contract.


For the Future: Keep Growing the Vault

You might still be asking, “So how the hell is this vault supposed to fill up with a shit ton of money?” The biggest chunk arises from normal on-chain transactions, thanks to that sweet 5% auto-swap to SOL. Over time, when the community grows, more trades = more taxes = more SOL in the vault. It’s basic cause and effect.

But we’re not stopping there. We’ve got side projects cooking : a new on-chain gambling game, that will inject 20% of the game’s profits directly into the vault. That means if the game takes off, a steady stream of SOL flows into the vault. We will try to keep obuilding you other dapp to keep filling it this vault as well. You can bet your neighbors’ dog on the fact that every little bit helps. The more the vault accumulates, the higher the minimal value that each HTFP token can theoretically fetch. So if you see a reason to cheer on a gambling dApp that funnels a portion of its revenue into your bag’s baseline value, you might well be enticed.


The Story Behind the Name: A Battle Cry for the Bold

The name Hold The Fucking Position comes straight from the hit TV series Billions. There’s a moment where Bobby Axelrod, a character dripping with raw determination and grit, delivers an unforgettable command: “As your wife says : Hold The Fucking Position until I tell you I’m done !”

Watch the actual clip below that also replies to the question:

What am I opening myself to if I buy HTFP?

VIDEO LINK

This moment encapsulates the HTFP philosophy: Stay committed.

It’s not just a quote it’s a mindset. It’s a call to reject fear, ignore the noise, and focus on the long game. Whether the market is in freefall or flying high, HTFP challenges you to stay the course. This philosophy is at the core of our mission. We don’t cater to weak hands or panic sellers. We reward the bold, the diamond-handed believers who see the bigger picture.


Conclusion: Join Us or Don’t ! But Don’t Say We Didn’t Warn You

HTFP isn’t the polite, buttoned-up cousin of standard meme coins. We’re savage, we’re unfiltered, and we’re determined to experiment with something fresh. It’s an attempt, not a guarantee, at providing a baseline value to a meme coin world that’s usually driven by hype alone. You want in because you love the radical approach, or you walk away because it’s too weird. No harm done. But if it does become the next unstoppable juggernaut, you’ll have to live with the knowledge that you stood on the sidelines.

So, if you’re intrigued, if you’re pissed off at previous rugs, if you crave a radical, unorthodox method for possibly insulating yourself from meme coin meltdown then Hold The Fucking Position might be exactly what you’ve been looking for. We’re not offering illusions of a perfect system, but we are giving you an honest shot at something you rarely see: a goddamn redemption vault that just might keep your holdings afloat while the rest of the market panics.

No cutesy disclaimers, no winks, no nods this is DeFi war, and HTFP is locked, loaded, and ready to shoot for the moon (or crash and burn in epic style). You decide whether you want to be on the front lines of the next big meme coin revolution, or stuck in the peanut gallery saying, “Dammit, I should have joined.” The choice is yours.


Ready to rumble? Follow us on X: @HoldTheFkingPos, or join our rowdy bunch of degens on Telegram: t.me/HTFP_builders


Come for the innovation, stay for the community and remember, this is just an experiment. We welcome your feedback and participation as we collectively push forward the frontiers of what’s possible on Defi and for fuck’s sake, don’t invest more money than you can afford to lose. We’re not here to coddle you; we’re here to push boundaries. Step up if you dare.

Post
Topic
Board Tokens (Altcoins)
Re: Solana Based Meme Coin Launchpad Solana.Pattie.Meme Goes Live
by
elmuria
on 29/01/2025, 15:17:33 UTC
Where are your solana users ?
Post
Topic
Board Announcements (Altcoins)
Re: [EXPERIMENT] - Token Minimal Extractable Value : TMEV
by
elmuria
on 28/01/2025, 20:28:18 UTC
Here is an o1 first version :


Below is an example Solana smart contract (using the Anchor framework) that implements an immutable vault for a single specified SPL token. This contract shows how to:


  • Initialize a vault with a hardcoded max supply for one SPL token.
  • Deposit SOL into the vault.
  • Swap SPL tokens for SOL based on the formula: 
    Quote
    SOL received = ( (Total SOL in vault) * (SPL tokens sent by user) ) / (SPL token max supply - SPL tokens locked in vault)
  • Lock incoming SPL tokens, making them permanently non-withdrawable.
  • Track relevant vault data on-chain (total SOL, total locked SPL tokens, current token price).
  • Ensure no administrative or upgrade authority exists, achieving immutability.

All the code is heavily commented for clarity. You can compile and deploy it with Anchor, or modify it for a native Solana program if you prefer. This example has not been audited; it is meant as a reference starting point.



Program Overview

  • Vault State (PDA)
    • Holds the vault’s data:
      • locked_spl_tokens: How many SPL tokens have been sent to the vault and are locked.
      • bump: PDA “bump seed” for program-derived addresses.
      • token_mint: Address of the SPL token this vault supports.
      • vault_token_account: Token account address (PDA) where locked SPL tokens reside.
      • max_supply: The hardcoded max supply for the SPL token (used in exchange rate).
  • Instructions
    • initialize_vault
      • Creates the vault state account (PDA) and its associated token account to hold locked SPL tokens.
      • Hardcodes MAX_SUPPLY for the chosen token.
    • deposit_sol
      • Allows any user to deposit SOL into the vault.
      • SOL becomes part of the vault’s balance.
    • swap_spl_for_sol
      • Swaps user-specified SPL tokens for SOL using the specified formula.
      • The user sends SPL tokens to the vault’s token account.
      • The vault sends the user their SOL share.
  • Exchange Rate Formula
    Quote
    SOL received = ( (Vault SOL) * (SPL tokens sent) ) / (MAX_SUPPLY - locked_spl_tokens )
    After the swap, the user’s SPL tokens remain locked in the vault’s token account, and locked_spl_tokens is incremented accordingly.
  • No Admin / Immutability
    • The program includes no special authority or permission checks.
    • Once deployed (without upgradeable features) on Solana, this contract is effectively immutable.
  • On-Chain Transparency
    • Anyone can query the vault’s PDA to see:
      • locked_spl_tokens
      • Vault’s SOL balance
      • The current SPL token price, computed as:
        Quote
        (Vault’s total SOL) / (MAX_SUPPLY - locked_spl_tokens)



Example Code

Code:
... /// Initializes the vault for a specific SPL token.
/// 1) Creates and seeds the VaultAccount (PDA).
/// 2) Creates an associated token account (PDA) that will store locked SPL tokens.
/// 3) Hardcodes MAX_SUPPLY for the chosen token.
///
/// This must be called once per vault instance.
pub fn initialize_vault(ctx: Context<InitializeVault>) -> Result<()> {
    let vault_account = &mut ctx.accounts.vault_account;

    // Store the token mint in the vault data structure
    vault_account.token_mint = ctx.accounts.token_mint.key();

    // Record the bump seed that is used to derive the vault's PDA
    vault_account.bump = *ctx.bumps.get("vault_account").unwrap();

    // Initialize locked tokens to zero
    vault_account.locked_spl_tokens = 0;

    // Store the vault's token account (the locked SPL token account) in the vault state
    vault_account.vault_token_account = ctx.accounts.vault_token_account.key();

    // Store the hardcoded max supply
    vault_account.max_supply = MAX_SUPPLY;

    Ok(())
}

/// Allows a user to deposit SOL into the vault.
/// The user must send lamports along with this instruction.
/// No upper or lower limit is enforced by the contract.
///
/// Important note: The system transfer is handled automatically
/// by Anchor if you specify `#[account(mut)]` for the payer and
/// have an associated CPI call to the system program.
pub fn deposit_sol(ctx: Context<DepositSol>, lamports: u64) -> Result<()> {
    // The user is transferring 'lamports' SOL to the vault's
    // program-owned account. Anchor will handle the actual
    // system_program::transfer CPI based on the context.

    // Safety checks: you can add checks to ensure 'lamports'
    // matches the lamports passed, or skip them if you want
    // fully trustless behavior. For example:
    // require!(lamports > 0, VaultError::InvalidLamportsAmount);
   
    // The "deposit" transaction is effectively letting the
    // vault's system account accumulate SOL. There's no need
    // to store an explicit "total_sol" in the vault state
    // because you can always check the vault's account
    // balance on-chain if needed.
   
    // If you want a reference or an event, you could emit it here:
    // emit!(DepositEvent { ... });

    Ok(())
}

/// Swaps the user’s SPL tokens for SOL from the vault.
///
/// The formula used is:
/// SOL received = ( (Vault SOL) * (SPL tokens in) )
///                / (max_supply - locked_spl_tokens)
///
/// Steps:
/// 1) Transfer the user's SPL tokens to the vault's token account.
/// 2) Calculate how much SOL to give the user.
/// 3) Transfer that SOL from the vault to the user.
/// 4) Update the vault state to record locked SPL tokens.
pub fn swap_spl_for_sol(
    ctx: Context<SwapSplForSol>,
    spl_amount_in: u64
) -> Result<()> {
    let vault_account = &mut ctx.accounts.vault_account;

    // ---------------------------------------
    // Step 1) Transfer SPL tokens from user to vault
    // ---------------------------------------
    // This CPI call moves 'spl_amount_in' from user's token account
    // to the vault's token account (which is locked).

    let cpi_ctx = CpiContext::new(
        ctx.accounts.token_program.to_account_info(),
        Transfer {
            from: ctx.accounts.user_token_account.to_account_info(),
            to: ctx.accounts.vault_token_account.to_account_info(),
            authority: ctx.accounts.user_authority.to_account_info(),
        },
    );

    token::transfer(cpi_ctx, spl_amount_in)?;

    // ---------------------------------------
    // Step 2) Calculate the SOL to send to user
    // ---------------------------------------
    // Retrieve the vault's current SOL balance. This is the
    // lamport balance of the vault_account's system account.
    //
    // Usually in Anchor, the `vault_account` is not the same as
    // a system-owned "vault for SOL" unless you used that approach.
    // Alternatively, you might use another PDA for storing SOL.
    //
    // For simplicity, assume here that the vault_account itself
    // is system-owned and holds the lamports. If not, you'd keep
    // track of the lamport balance in the state or fetch it from
    // a different account.
    let vault_sol_balance = ctx.accounts.vault_account_pda.to_account_info().lamports();

    // The formula:
    // sol_out = (vault_sol_balance * spl_amount_in)
    //           / (max_supply - locked_spl_tokens)
    let remaining_supply = vault_account
        .max_supply
        .checked_sub(vault_account.locked_spl_tokens)
        .ok_or(VaultError::MathOverflow)?;

    require!(
        remaining_supply >= spl_amount_in,
        VaultError::NotEnoughRemainingSupply
    );

    let sol_out = (vault_sol_balance as u128)
        .checked_mul(spl_amount_in as u128)
        .ok_or(VaultError::MathOverflow)?
        .checked_div(remaining_supply as u128)
        .ok_or(VaultError::MathOverflow)? as u64;

    // ---------------------------------------
    // Step 3) Transfer SOL from vault to user
    // ---------------------------------------
    // We do a system_program::transfer from the vault_account_pda to user_authority.
    //
    // Use the seeds of the vault_account to sign as the program-derived address
    // (because the vault's account is PD-owned, not user-owned).
    let vault_seeds = &[        b"vault_account",        vault_account.token_mint.as_ref(),        &[vault_account.bump],
    ];
    let signer = &[&vault_seeds[..]];

    // Build the transfer instruction
    let ix = anchor_lang::solana_program::system_instruction::transfer(
        &ctx.accounts.vault_account_pda.key(),
        &ctx.accounts.user_authority.key(),
        sol_out,
    );

    // Invoke the transfer
    anchor_lang::solana_program::program::invoke_signed(
        &ix,
        &[
            ctx.accounts.vault_account_pda.to_account_info(),
            ctx.accounts.user_authority.to_account_info(),
            ctx.accounts.system_program.to_account_info(),
        ],
        signer,
    )?;

    // ---------------------------------------
    // Step 4) Update locked SPL tokens
    // ---------------------------------------
    vault_account.locked_spl_tokens = vault_account
        .locked_spl_tokens
        .checked_add(spl_amount_in)
        .ok_or(VaultError::MathOverflow)?;

    Ok(())
}
 ...



Detailed Explanations

  • 1. MAX_SUPPLY Constant
    • The vault uses a hardcoded constant MAX_SUPPLY to ensure the correct exchange rate is always used.
    • In production, you would recompile the contract for each unique SPL token to embed the correct max supply.
  • 2. No Admin Keys / Immutability
    • There is no authority field with special privileges.
    • Once deployed (without upgradeable features) on Solana, this contract is effectively immutable.
  • 3. How Deposits Work
    • A user calls deposit_sol with lamports to deposit.
    • The standard system program transfer moves SOL from the user’s account to the vault’s program-owned account (the vault PDA).
    • The vault accumulates SOL; it cannot be withdrawn except through the swap function (by giving up SPL tokens).
  • 4. How Swaps Work
    • User calls swap_spl_for_sol, providing:
      • The user’s SPL Token Account.
      • The vault’s token account (to lock tokens).
      • The vault’s system account (holding SOL).
    • The program:
      • Transfers the user’s SPL tokens to the vault’s token account.
      • Computes how much SOL to return to the user by the formula:
        Quote
        sol_out = (vault_sol_balance * spl_amount_in) / (max_supply - locked_spl_tokens)
      • Transfers that SOL to the user.
      • Updates locked_spl_tokens.
  • 5. Token Locking
    • Once SPL tokens are transferred to vault_token_account, they remain there permanently.
    • There is no mechanism to withdraw them, ensuring they stay locked indefinitely.
  • 6. On-Chain Data
    • locked_spl_tokens and max_supply are publicly visible in the VaultAccount.
    • The total SOL in the vault can be inspected by querying the system account (PDA).
    • The current SPL token price (in SOL) can be derived on the front end by:
      Quote
      price = vault_sol_balance / (max_supply - locked_spl_tokens)



Optional Future Feature: Using a Currency Basket

Instead of holding only SOL, the vault could hold a basket of assets (e.g., multiple SPL stablecoins like USDC, or even additional cryptocurrencies). The steps for extending this design to a basket:

  • 1. Additional PDA Accounts
    • For each asset in the basket, the vault would need an account (or token account) to hold that asset.
  • 2. Weighted Exchange Rate
    • The formula for determining how many SPL tokens to return (or how much asset to receive) would be more complex, taking into account the combined value of all assets.
    • You would track each asset’s total quantity, price feed (from an oracle, if needed), and then compute an overall “vault value.”
  • 3. Multi-Asset Swaps
    • The user could specify which asset (or mix of assets) they want in exchange for their SPL tokens, leading to a more flexible swap mechanism.
  • 4. Rebalancing
    • If you want a truly dynamic basket, you might allow automated rebalancing of assets, which requires additional logic and possibly a governance mechanism (contradicting the “no admin” rule unless governed by token-based votes or an on-chain Weighted Automatic Market Maker).

These enhancements go beyond the scope of a simple, single-token vault but illustrate how the concept can expand to more sophisticated use cases.



Final Notes

  • This example demonstrates the core vault mechanics: deposit, swap, lock tokens, and keep an on-chain record of locked tokens.
  • Real-world production code requires extensive testing and security audits.
  • The contract is immutable if deployed without upgradeable features (e.g., Anchor toml set with [programs.local] <program-name> = <your-id> in a non-upgradeable manner).
  • Always verify that your PDA derivations and signers are correct and that you handle Solana’s rent-exemption for all created accounts.

Use this reference as a starting point to build your own specialized vault program on Solana. Adjust the code, add features (like a currency basket), and carefully test before deploying to mainnet.
Post
Topic
Board Announcements (Altcoins)
Topic OP
[EXPERIMENT] - Token Minimal Extractable Value : TMEV
by
elmuria
on 28/01/2025, 20:01:57 UTC
Token Minimal Extractable Value (TMEV): The Vault That Always Keeps Your Token Valuable


Let’s face it: crypto markets are wild. Shit can go sideways faster than a rug pull in a Telegram pump-and-dump. You’re up 100x, then suddenly you’re eating ramen for dinner. What if there were a way to give your token some damn backbone? To guarantee it won’t hit zero no matter how much the market shits the bed?

Welcome to the TMEV Vault: a game-changing mechanism that makes sure your token always has a Minimal Extractable Value (TMEV). Not some vague “sentiment” value or whatever BS influencers spew on Twitter. We’re talking cold, hard numbers backed by blue-chip assets or stablecoins. Let’s break this down.



What the F*ck Is TMEV?

TMEV stands for Token Minimal Extractable Value. It’s a way to ensure any token (let’s call it : To1) has a guaranteed baseline value. The magic sauce? A vault powered by a smart contract. This vault locks To1 tokens and holds an asset with actual value, like mainnet tokens (let’s call it : MnT) or stablecoins.

Think about it: if To1 tokens can always be swapped for some of the MnT inside the vault, To1 will never hit zero (as long as MnT has value). No matter what the market does, To1 holders can cash out through the vault.



How Does This Shit Work?


Simple but genius:

The Vault: The vault holds MnT (mainnet tokens or stablecoins). It’s fueled by protocol fees, staking rewards, or whatever steady MnT drip the project can set up.

Token Swap: To1 holders can swap their tokens for MnT inside the vault at a minimal exchange rate. The tokens (To1) they swap get locked in the vault forever

The Math: The exchange rate is calculated like this:

MnT received by user = ( Total MnT in vault × To1 amount user wants to swap ) ÷ ( To1 max supply — To1 locked in vault )


Without getting into details, the vault price calculation does not exclude locked token nor pooled token, meaning TMEV is a bit lower than what we could get but it is to make sure the vault will never run out of MnT to swap no matter what.

Here’s the kicker: Once To1 are swapped with the vault they are the locked forever out of circulation, the market cap doesn’t take a hit but it as the same effect. Burn the tokens? Nah, that’s for amateurs. Lock them up and keep your rank high on CoinGecko.



The Real-World Impact


Let’s break it down with an example:

Say your token’s (To1) current market value is 0.1 MnT per To1.

The TMEV vault currently guarantees a minimum value of 0.02 worth of MnT per To1 token.

What does this mean for you, the degenerate investor? Even if the market dumps harder than 2022’s bear market, your token will never go below 0.02 MnT/To1. You’re not exposed to a full 100% loss anymore; your max downside is capped at -80% no matter what.

As long as the protocol is able to add MnT inside the vault this max downside will only go up overtime.



Unlocking Value for Token Holders: TMEV as a Compliant Solution

Many protocols struggle to distribute rewards or fees to their token holders due to regulatory constraints. TMEV offers a solution, enabling protocols to deliver value to their holders without crossing legal boundaries. Technically, no direct value is distributed to individuals, and nothing about the process resembles a security since there’s no direct profit-sharing involved. It’s a clever, compliant way to align incentives with token holders.



Why Not Burn the Tokens?


Burning tokens after the swap might sound sexy, but it’s dumb as hell. If you burn them, the total supply drops, and the market cap gets screwed. And let’s be honest: crypto loves big-ass market caps. Rankings and hype depend on it. Locked tokens stay out of circulation but keep the MC looking beefy. It has the same effect on the token supply but keeps MC high as long as rankers don’t exclude TMEV vault tokens in the calculation of the MC.



Advantages of TMEV Vaults :


Safety Net: Your token gets a hard floor value.

Arbitrage-Proof: If To1’s market value dips below the vault price, arbitrage traders will swoop in, buy up the token, and swap it in the vault. This keeps the token price stable around its minimal value.

No More Zeroes: To1 can’t go to zero unless MnT also dies. And if MnT is a stablecoin, your risks are minimal (but hey, pick a good stablecoin… no one needs another Terra/LUNA disaster).

HODL with Confidence: As the vault value climbs (from protocol fees or additional MnT), the TMEV gets only up. This reduces your exposure to losses over time.

TMEV as a Compliant Solution: TMEV allows protocols to provide value to token holders without breaching regulatory limits. It’s a smart way to reward loyalty while avoiding legal pitfalls, ensuring sustainability and security for the ecosystem.



Limitations


We’re not selling you a magic unicorn. There are risks:

MnT Risk: If MnT crashes, the vault’s value drops too. Choose blue chips or solid stablecoins.

Setup Cost: This requires a well-funded and managed protocol. Also, the protocol should fund the vault regularly in order to make it worthwhile.



Why the F*ck Should You Care?


Most tokens are like your drunk ex: unreliable, unpredictable, and prone to total meltdowns. The TMEV Vault flips the script. It’s a radical, no-bullshit safety mechanism that keeps your investment from going to zero. This isn’t just another DeFi gimmick it’s the future of tokenomics for anyone who actually gives a damn about protecting their holders.



Get in on the Experiment


We’re building this right now, as a brand new experiment. A token with a TMEV baked in. If you want to participate in a brand new experience, join us and contact :


Twitter: @HoldTheFkingPos


Telegram: HTFP_builders


This is your shot to be part of something that isn’t just another pump-and-dump. We’re flipping the f*cking script. Are you in, or are you just gonna sit back while the future leaves you behind?

The choice is yours.
Post
Topic
Board Gambling
Re: Exbet | The Bitcoin Betting Exchange [exbet.io]
by
elmuria
on 02/07/2020, 13:03:44 UTC
Do you have an ETA on when you will launch ?
Post
Topic
Board Gambling
Re: Exbet | The Bitcoin Betting Exchange [exbet.io]
by
elmuria
on 23/06/2020, 02:55:37 UTC
Can I participate in the beta?

Thanks for your interest, elmuria! As above, we are inviting users to beta of the Exbet API at the moment. (Beta of the Exbet website ended some months ago). If you are interested in getting access to the API beta, just DM us here or on Twitter. Otherwise, you'll need to wait for full launch of the exchange in the next month or two.

Ok I'll wait for the exchange full launch.

Great to hear. Have you used betting exchanges before, or interested to try for the first time?

Not the first time, I had play at betfair and I know matchbook but never use it.
Post
Topic
Board Gambling
Re: Exbet | The Bitcoin Betting Exchange [exbet.io]
by
elmuria
on 16/06/2020, 05:02:33 UTC
Can I participate in the beta?

This is "just" Exbet API beta (not sure, if you are aware), but if you want to participate, you have to send them a PM in this forum or message them via Twitter.

I didn't know, thanks for letting me know.

Can I participate in the beta?

Thanks for your interest, elmuria! As above, we are inviting users to beta of the Exbet API at the moment. (Beta of the Exbet website ended some months ago). If you are interested in getting access to the API beta, just DM us here or on Twitter. Otherwise, you'll need to wait for full launch of the exchange in the next month or two.

Ok I'll wait for the exchange full launch.
Post
Topic
Board Gambling
Re: Exbet | The Bitcoin Betting Exchange [exbet.io]
by
elmuria
on 12/06/2020, 00:25:21 UTC
Can I participate in the beta?
Post
Topic
Board Gambling
Re: The Bitcoin Strip: 🎁 NEW Bonuses, 🎲 TOP Reviews, 🧧 EXCLUSIVE Rewards
by
elmuria
on 10/06/2020, 23:10:07 UTC
🎉TBS Exclusive Bonus in Partnership with BC Game🎉

We've released our first exclusive bonus for our users in partnership with one of our favorite casinos - BC Game.

BC Game is offering our players 1 Free Spin to win up to 1 BTC. Here's how to claim:

1. Register at BC Game
2. Enter this sweet code into the community chat feature on the right: $[BCGAME-15QP6YJYBRO1AVPMX9884Q2AYRN3XEZW1B]$
3. Use your free spin and be in with a chance of winning 1 BTC

Good luck and stay tuned for more!

Bonus still on ?
Post
Topic
Board Gambling
Re: ✅ Madoff's game⭐Jackpot Dapp🚀 Win the jackpot 💰 Or win new player's money 💲 ✅
by
elmuria
on 03/06/2020, 18:09:14 UTC

Ok; i didn't understood it like that before thx for explanation. Will not bet 20k now but maybe be 1-2k, and i'll also play for jackpot if game don't go this far i'll win jackpot!!!


That's the spirit !


Still a problem: it could take months or even years going at level 6-7 with the timer you chose. why not get smallest timer for first steps?



Well we chose to do it like this at start in order to let players try and see and keep the game going even if only few player try it at start. Game have an interest.

Also at start jackpot is not big enough to attract a lot of players so we think the jackpot amount / time ratio is good to let time to first players to try it.

It allow the game to potentially deliver a big jackpot even if it is in a long time, still all along jackpot have an interest to be attempted early even if it is still quit small 55000+ tron for a 40 tron participation you will win a part back if you lose is I think acceptable. It keep the game attractive even with few players at start.




ok; got it still think smallest timer is more attractive.
I havn't bet yet i keep watch how game go before making a big bet.
question: jackpot is 40% from share price; meaning total amount bet in your game = jackpot * 2.5 = 55136 * 2.5 = 137,840 TRX total? but why balance only 124,033.979651 TRX (https://tronscan.org/#/contract/TVLdijjw8aryn2sF7KqNS4KtUnKHAGnaGZ/code) where are missing trx ?
Post
Topic
Board Gambling
Re: The Bitcoin Strip: 🎁 NEW Bonuses, 🎲 TOP Reviews, 🧧 EXCLUSIVE Rewards
by
elmuria
on 03/06/2020, 17:57:11 UTC
On what are your ratings based on ? for example what "casino platform" rating stand for ? is it design, speed, safety, other ?
So I think my question is can we know more about your ratings ?

Great question, that's something we've been wanting to publish for a while and we will be releasing our full methodology later this month.

Contrary to what joksim said, we don't take paid ratings but we are (usually) paid a commission. This is highlighted in our advertising disclosure on every page.

We genuinely believe in the benefits that crypto provides for players, which is why we also partnered with the Crypto Gambling Foundation earlier this year to help improve safety for players. Our ratings factor in complaints and issues, so if you ever feel that a casino is miss-rated, we'd love to hear feedback - we make adjustments all the time.

Thanks!

Ok; please let us know when you will do it; very interested by it.
Post
Topic
Board Gambling
Re: ✅ Madoff's game⭐Jackpot Dapp🚀Win the jackpot💰or earn new player's money💲
by
elmuria
on 02/06/2020, 20:44:01 UTC
.



We reach level 2  Wink Jackpot > 50 000 tron - On the road for level 3

Congrats to all first players already in the money.






I find concept interesting I wanted to play but I saw that there are players playing at least every 4-5 hours so very hard for this stage to have any chance to win (I had watch some times and I never see timer under 6 hours) and I almost confident game will go stage 5 or 6. I think there's good chance it may go at stage 8.
Don't think that jackpot can get win before minimum stage 4 > 6hours timer or stage 5 > 3hours timer (still a lot).
The problem is: why should I bet now and not wait the game get to stage 5 or 6 and start playing since I have lot more chances winning because timer will be far lower? the only thing the share price is cheaper but I think I have zero chance to win yet so share price not very important.
Even if share price is more I prefer play when only 60min and less on timer maybe lot of players think like me and wait to start playing no?

Why you not start with smaller timer for early stages it will give players better chance to win so maybe more players as I would attempt to play and jackpot get bigger faster ?


Well if you certain the game will reach level 5 or level 6 why you don't bet 10k-20k or 50k right now ?

Let's imagine you right : it go to level 5 and you bet 20k tron right now.

So you get 500 shares. If you right and game reach level 5 at worst, you will earn at least 40.48.. tron per share you own, so you will get refunded ( even win some little extra ). This just when level 4 end it don't include level 5.

If it go further you will earn a lot more :

 - If you right and it reach level 6 ( level 5 end ) you will win at least 92.77..tron per share you own : 500 x 92 = 46 000tron you get a 26k+ net profit.

 - If as you think it could reach level 8 ( level 7 end ) you will win at least 221.88 tron per share 500 x 221 = 110 500Tron  you get a 90k+ net profit.


*This calculation is a derivative from the board in the website you can find [here] it doesn't include your cut from the 20% of the jackpot and also assume all shares will be purchase one by one if it is not the case, you could even win a bit more.
Finally it assume you buy the last 500 shares from level 2 if you buy them now you will also earn during the level 2.

So if you right, you can only win more than the projection or my calculation say.



But it is not sure it will go to level 8 nor level 5 nor even level 3 and in this case you would lose money, so only bet money you can afford to lose because nobody can know for sure when it will stop. It is a bet you would do : If you right you earn but if you wrong you lose.


.

Ok; i didn't understood it like that before thx for explanation. Will not bet 20k now but maybe be 1-2k, and i'll also play for jackpot if game don't go this far i'll win jackpot!!! Still a problem: it could take months or even years going at level 6-7 with the timer you chose. why not get smallest timer for first steps?


Post
Topic
Board Gambling
Re: Play rock Paper Scissors Online - Provably fair - low house edge!
by
elmuria
on 31/05/2020, 14:44:29 UTC

The game can be played with micro amounts, so if you want to try it you can use NANO from any of the faucets. Here's a site reviewing the available NANO faucets. Simply trying the game would have addressed all of the questions raised here.

http://www.tokenclaimer.pw/2019/05/get-free-nano-xrb-huge-list-of-nano.html

As many of you already know, NANO is a fast and feeless crypto. There are 30 decimal places of precision built into the currency. Currently most wallets allow up to 6 decimal places of precision. This means you can play the game with only one one-millionth of a NANO. This is less than one one-millionth of a USD. Again, there's no risk here. You can simply claim NANO from a faucet, put it in your wallet and try the game with this minimum amount.


This is great I could try it but it mean I need to find other players with trying to play micro limits too no ?
Post
Topic
Board Gambling
Re: ✅ Madoff's game ✅ The Jackpot Dapp ⭐ that reward losing player 💲
by
elmuria
on 31/05/2020, 14:38:19 UTC
I find concept interesting I wanted to play but I saw that there are players playing at least every 4-5 hours so very hard for this stage to have any chance to win (I had watch some times and I never see timer under 6 hours) and I almost confident game will go stage 5 or 6. I think there's good chance it may go at stage 8.
Don't think that jackpot can get win before minimum stage 4 > 6hours timer or stage 5 > 3hours timer (still a lot).
The problem is: why should I bet now and not wait the game get to stage 5 or 6 and start playing since I have lot more chances winning because timer will be far lower? the only thing the share price is cheaper but I think I have zero chance to win yet so share price not very important.
Even if share price is more I prefer play when only 60min and less on timer maybe lot of players think like me and wait to start playing no?

Why you not start with smaller timer for early stages it will give players better chance to win so maybe more players as I would attempt to play and jackpot get bigger faster ?
Post
Topic
Board Gambling
Re: Bet365 low markets pick provider
by
elmuria
on 30/05/2020, 12:31:30 UTC
Ok so you are looking for tipster it seems, in this case I advise you to go to blogabet pick a good tipster (or several) if you access to group with 40-50 people inside you can split tipster price between all members, so if a tipster is 50$/month it is 1$/mounth per member in the group.

I'm just looking for a provider of value bets to send it to a group where around 30-40 people will stake the maximum amount, so, odd will drop and get profit from Cashout. Thanks for your reply !



I'm sorry I don't get it if your goal is to generate an odds drop with many peoples why not do it on betfaire like that you can buy back by laying even before the game start and make a profit ?
At least they offer almost all matches that there are live. Enough odds and liquidity on all kind of markets.


Which one ?
Post
Topic
Board Gambling
Re: ✅ Madoff's game ✅ The Jackpot Dapp ⭐ that reward losing player 💲
by
elmuria
on 30/05/2020, 12:11:45 UTC

 - Let's start by creating a better bitcointalk topic. ✅


Looks far better now are more easy to read !
Post
Topic
Board Gambling
Re: Bet365 low markets pick provider
by
elmuria
on 29/05/2020, 14:26:31 UTC
Ok so you are looking for tipster it seems, in this case I advise you to go to blogabet pick a good tipster (or several) if you access to group with 40-50 people inside you can split tipster price between all members, so if a tipster is 50$/month it is 1$/mounth for each member in the group.
Post
Topic
Board Gambling
Re: The Bitcoin Strip: 🎁 NEW Bonuses, 🎲 TOP Reviews, 🧧 EXCLUSIVE Rewards
by
elmuria
on 29/05/2020, 14:18:36 UTC
On what are your rating based on ? for example what "casino platform" rating stand for ? is it design, speed, safety, other ?
So I think my question is can we know me about your ratings ?
Post
Topic
Board Gambling
Re: ✅Madoff's game ✅ The Jackpot Dapp ⭐ that reward losing player 💲
by
elmuria
on 29/05/2020, 13:46:19 UTC

Road map:

 - Let's start by creating a better bitcointalk topic.



yeah you should do it fast ! but gameplay seems nice I may try it.