# \#token

**URL:** https://forum.openzeppelin.com/tag/token/7.md

[Latest](https://forum.openzeppelin.com/latest.md) · [Categories](https://forum.openzeppelin.com/categories.md) · [Tags](https://forum.openzeppelin.com/tags.md)

---

## [Why can't find my token in pancakeswap?](https://forum.openzeppelin.com/t/why-cant-find-my-token-in-pancakeswap/11699)

<div class="topic-metadata">

**Author:** [@tinotano89](https://forum.openzeppelin.com/u/tinotano89)\
**Replies:** 7\
**Last updated:** [March 18, 2024, 6:54pm UTC](https://forum.openzeppelin.com/t/why-cant-find-my-token-in-pancakeswap/11699 "2024-03-18T18:54:28Z")

</div>

I have created my contract in BSC mainnet. Now I want to add liquidity in pancakeswap but when I paste the contract address in the liquidity menu, it says that cannot find my token. Contract:https://bscscan.com/address/…

---

## [Testing the contract token](https://forum.openzeppelin.com/t/testing-the-contract-token/37920)

<div class="topic-metadata">

**Author:** [@Jan\_Mirga](https://forum.openzeppelin.com/u/Jan_Mirga)\
**Replies:** 7\
**Last updated:** [September 28, 2023, 7:27am UTC](https://forum.openzeppelin.com/t/testing-the-contract-token/37920 "2023-09-28T07:27:52Z")

</div>

Hello I'm having trouble testing the contract through sopelia I don't know if uniswaprouter V2 supports sepolia Because the deployment of the contract still fails I wanted to test through goerli but the faucets don't…

---

## [Using a base uri with token id to access metadata](https://forum.openzeppelin.com/t/using-a-base-uri-with-token-id-to-access-metadata/25309)

<div class="topic-metadata">

**Author:** [@rob\_jones](https://forum.openzeppelin.com/u/rob_jones)\
**Replies:** 10\
**Last updated:** [December 7, 2023, 9:04pm UTC](https://forum.openzeppelin.com/t/using-a-base-uri-with-token-id-to-access-metadata/25309 "2023-12-07T21:04:54Z")

</div>

Hi, I am trying set up an erc721 to access metadata so I can use the same .json file for multiple NFTs. I have created my .json metadata file link https://jsonkeeper.com/b/2D2V I'm using a .json host for testing but …

---

## [Why is it required to exclude the LP from Reflection Rewards?](https://forum.openzeppelin.com/t/why-is-it-required-to-exclude-the-lp-from-reflection-rewards/35457)

<div class="topic-metadata">

**Author:** [@DJ-Remix](https://forum.openzeppelin.com/u/DJ-Remix)\
**Replies:** 0\
**Last updated:** [March 30, 2023, 7:55pm UTC](https://forum.openzeppelin.com/t/why-is-it-required-to-exclude-the-lp-from-reflection-rewards/35457 "2023-03-30T19:55:53Z")

</div>

My contract does not have the functionality to excludeFromReward() and includeInReward() but follows the RFI / Safemoon / Reflections design pattern, can someone please explain to me the specific scenario involved for a …

---

## [Is there a project that uses two different token burning methods at the same time?](https://forum.openzeppelin.com/t/is-there-a-project-that-uses-two-different-token-burning-methods-at-the-same-time/34355)

<div class="topic-metadata">

**Author:** [@Jolly](https://forum.openzeppelin.com/u/Jolly)\
**Replies:** 0\
**Last updated:** [January 25, 2023, 11:02am UTC](https://forum.openzeppelin.com/t/is-there-a-project-that-uses-two-different-token-burning-methods-at-the-same-time/34355 "2023-01-25T11:02:48Z")

</div>

I'm wondering if it's positive or negative to use the "token burning function" (this decreases the total supply) AND the method of sending tokens to the burning address (this decreases the circulating supply)? Does a pr…

---

## [Is there any contract exists that can create an erc20 token with royality feature](https://forum.openzeppelin.com/t/is-there-any-contract-exists-that-can-create-an-erc20-token-with-royality-feature/33846)

<div class="topic-metadata">

**Author:** [@Vicky\_Hasija](https://forum.openzeppelin.com/u/Vicky_Hasija)\
**Replies:** 7\
**Last updated:** [December 20, 2022, 1:25pm UTC](https://forum.openzeppelin.com/t/is-there-any-contract-exists-that-can-create-an-erc20-token-with-royality-feature/33846 "2022-12-20T13:25:36Z")

</div>

Is there any contract exists that can create an erc20 token with royality feature

---

## [Tokenomics / does buying&selling tokens trigger the \_transfer function?](https://forum.openzeppelin.com/t/tokenomics-does-buying-selling-tokens-trigger-the-transfer-function/21320)

<div class="topic-metadata">

**Author:** [@XskodeMedia](https://forum.openzeppelin.com/u/XskodeMedia)\
**Replies:** 2\
**Last updated:** [December 17, 2022, 11:34am UTC](https://forum.openzeppelin.com/t/tokenomics-does-buying-selling-tokens-trigger-the-transfer-function/21320 "2022-12-17T11:34:29Z")

</div>

good morning. yes, my main question is about tokenomics- however, one thing confuse me profusely! Is buying a token from DEX/CEX the same as transfer? and if so or not so, does buying tokens from DEX/CEX invoke the tra…

---

## [Eth\_Benefits](https://forum.openzeppelin.com/t/eth-benefits/33561)

<div class="topic-metadata">

**Author:** [@Isaacmarshal](https://forum.openzeppelin.com/u/Isaacmarshal)\
**Replies:** 2\
**Last updated:** [December 7, 2022, 6:04am UTC](https://forum.openzeppelin.com/t/eth-benefits/33561 "2022-12-07T06:04:21Z")

</div>

Benefits eth

---

## [Can someone assure me that the code in this video is legal?](https://forum.openzeppelin.com/t/can-someone-assure-me-that-the-code-in-this-video-is-legal/33169)

<div class="topic-metadata">

**Author:** [@Tchoupi](https://forum.openzeppelin.com/u/Tchoupi)\
**Replies:** 0\
**Last updated:** [November 16, 2022, 11:58pm UTC](https://forum.openzeppelin.com/t/can-someone-assure-me-that-the-code-in-this-video-is-legal/33169 "2022-11-16T23:58:25Z")

</div>

Hi everyone. I'm coding a token and trying to set up transaction fees that I want to send back to my wallet. I couldn't find my way around the various forums but I found this youtube video. Since I'm a noob, I'm afraid t…

---

## [How to use a Bep20 token and not BNB to pay in a solidity contract?](https://forum.openzeppelin.com/t/how-to-use-a-bep20-token-and-not-bnb-to-pay-in-a-solidity-contract/31660)

<div class="topic-metadata">

**Author:** [@Crypto-Brain](https://forum.openzeppelin.com/u/Crypto-Brain)\
**Replies:** 1\
**Last updated:** [September 5, 2022, 1:50am UTC](https://forum.openzeppelin.com/t/how-to-use-a-bep20-token-and-not-bnb-to-pay-in-a-solidity-contract/31660 "2022-09-05T01:50:53Z")

</div>

Greetings, I am new, so far I have a few hours of learning but I am very interested in continuing to learn, I was able to find a solidity contract on Github that uses the Base BNB currency as a means of payment, I would …

---

## [Releasable Contract - Withdraw Stuck or Incompatible Tokens From Your Contract](https://forum.openzeppelin.com/t/releasable-contract-withdraw-stuck-or-incompatible-tokens-from-your-contract/30666)

<div class="topic-metadata">

**Author:** [@CrocArms](https://forum.openzeppelin.com/u/CrocArms)\
**Replies:** 1\
**Last updated:** [July 29, 2022, 9:30am UTC](https://forum.openzeppelin.com/t/releasable-contract-withdraw-stuck-or-incompatible-tokens-from-your-contract/30666 "2022-07-29T09:30:26Z")

</div>

One of the major problems with ERC20 and ERC721 tokens is that they can get stuck or lost, sent to incompatible contracts instead of a wallet. I imagine this is mostly from inexperienced users pasting the wrong address i…

---

## [Why OpenZeppelin discontinued update on TokenVesting Contract](https://forum.openzeppelin.com/t/why-openzeppelin-discontinued-update-on-tokenvesting-contract/30413)

<div class="topic-metadata">

**Author:** [@dtobi59](https://forum.openzeppelin.com/u/dtobi59)\
**Replies:** 2\
**Last updated:** [July 17, 2022, 11:07pm UTC](https://forum.openzeppelin.com/t/why-openzeppelin-discontinued-update-on-tokenvesting-contract/30413 "2022-07-17T23:07:06Z")

</div>

Hi all, just curious to know. OpenZeppelin has been a great house for getting highly secured open-sourced solidity smart contracts. Recently, I tried implementing a Token Vesting feature for one of my projects, and quick…

---

## [Unable to transfer DAI token to Smart Contract on Ropsten Testnet using Metamask and Remix](https://forum.openzeppelin.com/t/unable-to-transfer-dai-token-to-smart-contract-on-ropsten-testnet-using-metamask-and-remix/29701)

<div class="topic-metadata">

**Author:** [@shush](https://forum.openzeppelin.com/u/shush)\
**Replies:** 1\
**Last updated:** [June 16, 2022, 12:26pm UTC](https://forum.openzeppelin.com/t/unable-to-transfer-dai-token-to-smart-contract-on-ropsten-testnet-using-metamask-and-remix/29701 "2022-06-16T12:26:14Z")

</div>

The code below mentioned has the 3 methods which I'm trying to use to transfer DAI tokens (0xaD6D458402F60fD3Bd25163575031ACDce07538D) from my Metamask wallet to the Smart Contract. In Method - 1: Some unnamed token is …

---

## [Pegged token](https://forum.openzeppelin.com/t/pegged-token/28593)

<div class="topic-metadata">

**Author:** [@Antonia\_Sa](https://forum.openzeppelin.com/u/Antonia_Sa)\
**Replies:** 2\
**Last updated:** [May 21, 2022, 4:36am UTC](https://forum.openzeppelin.com/t/pegged-token/28593 "2022-05-21T04:36:19Z")

</div>

Hi I would like to know if someone has experience with Pegged token. I have my token on BSC and want the token also on Aaalanche and Ethereum? I have heard that I can create Pegged token on another chain but with the s…

---

## [ERC20 for GamesNFT](https://forum.openzeppelin.com/t/erc20-for-gamesnft/17549)

<div class="topic-metadata">

**Author:** [@Roni\_Sommerfeld](https://forum.openzeppelin.com/u/Roni_Sommerfeld)\
**Replies:** 5\
**Last updated:** [April 22, 2022, 2:18pm UTC](https://forum.openzeppelin.com/t/erc20-for-gamesnft/17549 "2022-04-22T14:18:22Z")

</div>

I'm studying how to create a currency to use in my game, however, I'm having some doubts (well beginners can say). And I would like help if possible to accomplish this. My question is the following, I need to create a …

---

## [Created a DEX (token swap) but unsure how to swap native tokens](https://forum.openzeppelin.com/t/created-a-dex-token-swap-but-unsure-how-to-swap-native-tokens/27548)

<div class="topic-metadata">

**Author:** [@TheDev](https://forum.openzeppelin.com/u/TheDev)\
**Replies:** 1\
**Last updated:** [April 13, 2022, 9:08pm UTC](https://forum.openzeppelin.com/t/created-a-dex-token-swap-but-unsure-how-to-swap-native-tokens/27548 "2022-04-13T21:08:00Z")

</div>

Hi All, I have created a token swap contract which takes in a token and swaps this for another (just like PancakeSwap and the others) But I'm stuck on how to do this with native tokens, I can swap other tokens to tokens…

---

## [How to calculate the total supply of Elastic Tokens?](https://forum.openzeppelin.com/t/how-to-calculate-the-total-supply-of-elastic-tokens/25782)

<div class="topic-metadata">

**Author:** [@Abhijit\_Paul](https://forum.openzeppelin.com/u/Abhijit_Paul)\
**Replies:** 0\
**Last updated:** [March 7, 2022, 11:59am UTC](https://forum.openzeppelin.com/t/how-to-calculate-the-total-supply-of-elastic-tokens/25782 "2022-03-07T11:59:02Z")

</div>

I am building an elastic supply token without mint function . I need 1000% APY . So how will I calculate the total supply of tokens and fees like sell fee and buy fee for the token? I am new to building tokens. If anybo…

---

## [How to change BNB token payable to BTC for betting a BTC instead of BNB](https://forum.openzeppelin.com/t/how-to-change-bnb-token-payable-to-btc-for-betting-a-btc-instead-of-bnb/24309)

<div class="topic-metadata">

**Author:** [@Lloyd\_Ramos](https://forum.openzeppelin.com/u/Lloyd_Ramos)\
**Replies:** 3\
**Last updated:** [March 3, 2022, 4:02pm UTC](https://forum.openzeppelin.com/t/how-to-change-bnb-token-payable-to-btc-for-betting-a-btc-instead-of-bnb/24309 "2022-03-03T16:02:55Z")

</div>

Full source code:https://github.com/laronlineworld/prediction/blob/main/Prediction.sol This Prediction (of price feed from oracle) smart contract can bet a BNB, the problem is I want to change the BNB into BTC as token …

---

## [How to add a "charity" function to my BEP20 Token?](https://forum.openzeppelin.com/t/how-to-add-a-charity-function-to-my-bep20-token/25314)

<div class="topic-metadata">

**Author:** [@yumewebs](https://forum.openzeppelin.com/u/yumewebs)\
**Replies:** 5\
**Last updated:** [March 1, 2022, 12:29am UTC](https://forum.openzeppelin.com/t/how-to-add-a-charity-function-to-my-bep20-token/25314 "2022-03-01T00:29:32Z")

</div>

I am developping a BEP20 Token, it's almost finished but I need to add a function that sends a percentage of the purchases that someone makes on the token to an external wallet. I've found a piece of code to solve my pr…

---

## [Estoy creando un clon de pancakeswap pero tengo un error al remover la liquidez](https://forum.openzeppelin.com/t/estoy-creando-un-clon-de-pancakeswap-pero-tengo-un-error-al-remover-la-liquidez/24234)

<div class="topic-metadata">

**Author:** [@KingLB44](https://forum.openzeppelin.com/u/KingLB44)\
**Replies:** 4\
**Last updated:** [February 8, 2022, 1:17pm UTC](https://forum.openzeppelin.com/t/estoy-creando-un-clon-de-pancakeswap-pero-tengo-un-error-al-remover-la-liquidez/24234 "2022-02-08T13:17:35Z")

</div>

:1234: Code to reproduce :laptop: Environment Estoy aprendiendo sobre desarrollo blockchain y eh decidido practicar la creacion de un swap clonando pancakeswap eh configurado bien los tokens de Factory, Router y el t…

---

## [Need Guidance on Token vesting for beginners](https://forum.openzeppelin.com/t/need-guidance-on-token-vesting-for-beginners/22263)

<div class="topic-metadata">

**Author:** [@borsemayur2](https://forum.openzeppelin.com/u/borsemayur2)\
**Replies:** 1\
**Last updated:** [January 6, 2022, 5:27pm UTC](https://forum.openzeppelin.com/t/need-guidance-on-token-vesting-for-beginners/22263 "2022-01-06T17:27:43Z")

</div>

I'm trying to create token vesting contract where the admin can distribute the token to given addresses (eg. 5) evenly for 12 months with per minute release schedule. I'm beginner in web3 development and it seems overwh…

---

## [ERC20 Crowdsale (Pause crowdsale for x time after y% of total token supply is bought)](https://forum.openzeppelin.com/t/erc20-crowdsale-pause-crowdsale-for-x-time-after-y-of-total-token-supply-is-bought/22161)

<div class="topic-metadata">

**Author:** [@chriskryx](https://forum.openzeppelin.com/u/chriskryx)\
**Replies:** 0\
**Last updated:** [January 4, 2022, 2:14pm UTC](https://forum.openzeppelin.com/t/erc20-crowdsale-pause-crowdsale-for-x-time-after-y-of-total-token-supply-is-bought/22161 "2022-01-04T14:14:06Z")

</div>

To get this out of the way - I am fairly new to Solidity... Can't understand every concept yet. I have been trying to create a Crowdsale for an ERC20 token in order to practice using OpenZeppelin libraries / standards. …

---

## [How to add tokenomic codes to existing BEP20 token?](https://forum.openzeppelin.com/t/how-to-add-tokenomic-codes-to-existing-bep20-token/21566)

<div class="topic-metadata">

**Author:** [@shawn\_t](https://forum.openzeppelin.com/u/shawn_t)\
**Replies:** 0\
**Last updated:** [December 24, 2021, 5:00pm UTC](https://forum.openzeppelin.com/t/how-to-add-tokenomic-codes-to-existing-bep20-token/21566 "2021-12-24T17:00:19Z")

</div>

Hello, I just create a BEP20 token and I deployed it on the mainnet so I need to know can I add tokenomics such as deflationary features now? or these features should be added before deploying? if it is possible to do i…

---

## [Help with bep20 crowdsale token](https://forum.openzeppelin.com/t/help-with-bep20-crowdsale-token/6634)

<div class="topic-metadata">

**Author:** [@EMCsquarez\_Support](https://forum.openzeppelin.com/u/EMCsquarez_Support)\
**Replies:** 3\
**Last updated:** [November 19, 2021, 3:39am UTC](https://forum.openzeppelin.com/t/help-with-bep20-crowdsale-token/6634 "2021-11-19T03:39:04Z")

</div>

Hello, I am deploying a BEP20 token and I would like to start a crowdsale for which BNB in go to my wallet and the contract sends the token automatically to the sender. Otherwise can also be BNB go to contract but as ow…

---

## [Handle multiple tokenURI in one contract](https://forum.openzeppelin.com/t/handle-multiple-tokenuri-in-one-contract/16978)

<div class="topic-metadata">

**Author:** [@bpc](https://forum.openzeppelin.com/u/bpc)\
**Replies:** 1\
**Last updated:** [October 14, 2021, 4:39pm UTC](https://forum.openzeppelin.com/t/handle-multiple-tokenuri-in-one-contract/16978 "2021-10-14T16:39:00Z")

</div>

Hi everybody, Sorry in advance if it's the wrong place to ask this or if it was already asked, I'm new to this. I'm trying to create an NFT project where the tokenURI is updated over time. For example, an user mint a t…

---

## [ERC721Burnable TypeError: Definition of base has to precede definition of derived contract](https://forum.openzeppelin.com/t/erc721burnable-typeerror-definition-of-base-has-to-precede-definition-of-derived-contract/15432)

<div class="topic-metadata">

**Author:** [@Jalapina](https://forum.openzeppelin.com/u/Jalapina)\
**Replies:** 1\
**Last updated:** [September 13, 2021, 6:44pm UTC](https://forum.openzeppelin.com/t/erc721burnable-typeerror-definition-of-base-has-to-precede-definition-of-derived-contract/15432 "2021-09-13T18:44:15Z")

</div>

Hi everyone! I need assistance with this error i'm getting on Burnable, but it's not being used in my contract. @openzeppelin/contracts/token/ERC721/ERC721Burnable.sol:12:46: abstract contract ERC721Burnable is Context…

---

## [LP in pancakeswap, how it create to able buy more 100$-200$](https://forum.openzeppelin.com/t/lp-in-pancakeswap-how-it-create-to-able-buy-more-100-200/12754)

<div class="topic-metadata">

**Author:** [@\_Vadim](https://forum.openzeppelin.com/u/_Vadim)\
**Replies:** 1\
**Last updated:** [July 20, 2021, 2:00pm UTC](https://forum.openzeppelin.com/t/lp-in-pancakeswap-how-it-create-to-able-buy-more-100-200/12754 "2021-07-20T14:00:58Z")

</div>

Guys, I would like to understand how to create LPs properly, YouTube videos don’t help. I create 1,000,000,000,000,000 tokens and put liquidity in pancakeswap half of them - 500,000,000,000,000 for 100 $ - 0.32 bnb. But …

---

## [How the exchange calls my Smart Contract methods?](https://forum.openzeppelin.com/t/how-the-exchange-calls-my-smart-contract-methods/11632)

<div class="topic-metadata">

**Author:** [@tinotano89](https://forum.openzeppelin.com/u/tinotano89)\
**Replies:** 4\
**Last updated:** [July 1, 2021, 4:40pm UTC](https://forum.openzeppelin.com/t/how-the-exchange-calls-my-smart-contract-methods/11632 "2021-07-01T16:40:04Z")

</div>

I’m new to the smart contract world and there are many things that I still don’t get how works. I’ve created a simple contract with the following methods: constructor() { tokenCreator = msg.sender; …

---

## [Bscscan Verification Error](https://forum.openzeppelin.com/t/bscscan-verification-error/9989)

<div class="topic-metadata">

**Author:** [@Fewdehcat\_Gaming](https://forum.openzeppelin.com/u/Fewdehcat_Gaming)\
**Replies:** 5\
**Last updated:** [June 21, 2021, 9:50pm UTC](https://forum.openzeppelin.com/t/bscscan-verification-error/9989 "2021-06-21T21:50:58Z")

</div>

Hello guys I’m trying to verify my contract below , can someone help me as im having trouble doing it so . contract; 0xa34Eb8A1cfE19C70eB612B3a4e3D46DEeE57Dacd Error!Unable to generate Contract ByteCode and ABI

---

## [Help new in Smart Contract ERC20 bep20](https://forum.openzeppelin.com/t/help-new-in-smart-contract-erc20-bep20/8974)

<div class="topic-metadata">

**Author:** [@PeruxD](https://forum.openzeppelin.com/u/PeruxD)\
**Replies:** 0\
**Last updated:** [May 22, 2021, 7:02pm UTC](https://forum.openzeppelin.com/t/help-new-in-smart-contract-erc20-bep20/8974 "2021-05-22T19:02:49Z")

</div>

Hi, I’m new to this beautiful community and also new to Smart Contract, a newbie. my question is if you can help me to have a Smart Contract ERC20 OR BEP20 for a token simple contract that can be verified and updated lat…

[Next page](https://forum.openzeppelin.com/tag/token/7.md?match_all_tags=true&page=1&tags%5B%5D=token)
