2022-01-24
2238
#blockchain
Ovie Okeh
88538
Jan 24, 2022 â‹… 7 min read

How to create and deploy a BEP-20 token to the Binance smart chain

Ovie Okeh Programming enthusiast, lover of all things that go beep.

Recent posts:

master state management hydration Nuxt usestate

Nuxt state management and hydration with useState

useState can effectively replace ref in many scenarios and prevent Nuxt hydration mismatches that can lead to unexpected behavior and errors.

Yan Sun
Jan 20, 2025 â‹… 8 min read
React Native List Components: FlashList, FlatList, And More

React Native list components: FlashList, FlatList, and more

Explore the evolution of list components in React Native, from `ScrollView`, `FlatList`, `SectionList`, to the recent `FlashList`.

Chimezie Innocent
Jan 16, 2025 â‹… 4 min read
Building An AI Agent For Your Frontend Project

Building an AI agent for your frontend project

Explore the benefits of building your own AI agent from scratch using Langbase, BaseUI, and Open AI, in a demo Next.js project.

Ivaylo Gerchev
Jan 15, 2025 â‹… 12 min read
building UI sixty seconds shadcn framer ai

Building a UI in 60 seconds with Shadcn and Framer AI

Demand for faster UI development is skyrocketing. Explore how to use Shadcn and Framer AI to quickly create UI components.

Peter Aideloje
Jan 14, 2025 â‹… 6 min read
View all posts

10 Replies to "How to create and deploy a BEP-20 token to the Binance smart chain"

  1. Hello,

    Thanks for the great tutorial! However I run into a problem; when I compile I get an error message relating to this line:

    function transferFrom(address _from, address _to, uint256 _value)
    public returns (bool success) {
    uint256 senderBalance = balanceOf[msg.sender];
    uint256 fromAllowance = allowance\[_from\][msg.sender]; // this is the line ****
    uint256 receiverBalance = balanceOf[_to];

    The error reads:
    ParseError: Expected ‘;’ but got ‘ILLEGAL’
    –> contracts/OZOToken.sol:51:42:
    |
    51 | uint256 fromAllowance = allowance\[_from\][msg.sender];
    | ^

    Could you please help?
    Marc

  2. thanks for the useful post. however my wallet show 0.000000001 as a balance, instead of 1000000000. Can you explain me why?

  3. Hi, I’m a beginner, so I wanted to make my own token. I succeeded, then I added liquidity to the pacage and after that I wanted to withdraw it to increase my credit and because ten dollars was not enough. I couldn’t rewoke via pancake, so I did it via Dogeswap. Did it work but my coins didn’t arrive and ended up somewhere else (WBN)? Please help. My wallet is
    0x8f3e298d94581c54329b8b81e1be940d624e0224
    and my token 0xcecdb0b806b52ab5af4ac55c6113c759b43aa905

    Here it happened: 0xa3Ea82e5b1041070AFcBa051dB15AfA9A42078d2, my cake lp (WBN) was gone from my wallet.

Leave a Reply