Search content
Sort by

Showing 20 of 137 results by tgl277
Post
Topic
Board Altcoins (Bahasa Indonesia)
Re: [TUTORIAL] Membuat Koin Micin (Token) Sendiri
by
tgl277
on 05/03/2022, 07:18:20 UTC
Iya paham bang, bukan pengkodean yg ana maksud, tp kl ada contoh kan paling tidak bisa memberi sedikit gambaran
OK om, saya jelaskan secara simplenya saja ya, sesuai yang om tanyakan di atas (ownable, mintable, burnable):
- ownable
Umumnya tiap token terdapat fungsi ownable, biasannya digunakan untuk me-renounce si pemilik token. Renounce = mengubah alamat pemilik ke null atau zero address, dengan maksud supanya token tersebut tidak dapat diubah nilai dari variabel yang terdapat di dalamnya, misalnya variabel fee (marketing fee, team fee, charity fee, dan sebagainya).
Kode fungsi ownable:
Code:

abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

- mintable
Token jenis mintable biasanya tidak berdiri sendiri, maksudnya proyek token mintable mempunyai tambahan smart contract lain, seperti smart contract MasterChef, TimeLock, atau bahkan sampai bikin Router sendiri.

- burnable
Burnable hanya menambahkan fungsi untuk burning token, fungsi transfer biasa sih, transfer ke null/zero address atau dead address. Tinggal nanti kita menentukan kapan proses burn nya terjadi, apakah saat terjadi transaksi atau secara manual.
contoh kode fungsi burn
Code:
    function buyBackAndBurn(uint256 amount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = uniswapV2Router.WETH();
        path[1] = address(this);

        uint256 initialBalance = balanceOf(marketingWallet);

        // make the swap
        uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(
            0, // accept any amount of Tokens
            path,
            marketingWallet, // Burn address
            block.timestamp.add(300)
        );

        uint256 swappedBalance = balanceOf(marketingWallet).sub(initialBalance);

        _burn(marketingWallet, swappedBalance);

        emit SwapBNBForTokens(amount, path);
    }
Nah pembahasan seperti ini yg ana demen, paling ndak kan udah dapat gambaran or sedikit tahu meski tdk praktek langsung
Post
Topic
Board Altcoins (Bahasa Indonesia)
Re: [DISKUSI] Perkembangan NFT di Indonesia
by
tgl277
on 04/03/2022, 18:08:31 UTC
Saat ini yang menjadi pertanyaan di saya apakah NFT hanya sebuah "Hype" atau memang sebuah "Art". Karena hanya untuk sebuah karya seni contoh Rollbots kemarin yang dikeluarkan situs judi minimal di harga spotnya $1.000, apakah pembeli terakhir masih akan mampu menjual di harga yang lebih mahal apabila hypenya sudah tidak ada lagi?
NFT kan ibaratnya produk baru dari Crypto nih, biar masyarakat dunia kenal dgn NFT maka caranya membomingkan/mentrendingkan dgn menggandeng orang2 ternama

Lalu, kemarin saya mengikuti seminar NFT dari Indonesia Blockchain Society bersama Telkom, salah satu narsum nya mengatakan bahwa NFT juga dapat digunakan untuk karya fisik berupa barang. Apakah itu benar? yang saya bingungkan apabila NFT telah terjual bagaimana barang fisikny ?
Kl soal ini ana lgsg berfikir nya ke SAHAM DIGITAL, bisa jadi kedepan sebuah perusahaan akan mengeluarkan saham dalam bentuk digital di dalam blockchain
Post
Topic
Board Altcoins (Bahasa Indonesia)
Re: [TUTORIAL] Membuat Koin Micin (Token) Sendiri
by
tgl277
on 04/03/2022, 17:48:05 UTC
Kl menurut ane sih fokus utk pembuatannya dulu bang
Soal DEX sebaiknya di thread lain saja
Karena dari jenis token itu sendiri kan beda2 fungsinya (ownable, mintable, burnable, dll)
Rencananya di thread ini tidak akan membahas teknis pengkodean, om. Untuk token dengan fungsi lain-lain tersebut, seperti disampaikan pada awal thread, kita tinggal nyomot kode sumber dari smart contract (token) yang sudah exist.
Iya paham bang, bukan pengkodean yg ana maksud, tp kl ada contoh kan paling tidak bisa memberi sedikit gambaran
Post
Topic
Board Altcoins (Bahasa Indonesia)
Re: [TUTORIAL] Membuat Koin Micin (Token) Sendiri
by
tgl277
on 04/03/2022, 17:32:33 UTC
~snip~
kl itu ana udah paham bang, cuma ditiap jaringan kan barangkali ada perbedaan kode walaupun sama2 ERC20
~snip~
Sejauh ini yang saya lihat dan setelah saya bandingkan sih tidak ada bedanya om, antara ERC20, BEP20, HRC20, ERC20 (Polygon)

~snip~
nah syukur2 sih yg dibahas jangan cuma ERC20 aja, tapi ERC721, ERC1155, BEP721, BEP1155
Mungkin nanti di thread lain ya om  Grin
Kl menurut ane sih fokus utk pembuatannya dulu bang
Soal DEX sebaiknya di thread lain saja
Karena dari jenis token itu sendiri kan beda2 fungsinya (ownable, mintable, burnable, dll)
Post
Topic
Board Altcoins (Bahasa Indonesia)
Re: [TUTORIAL] Membuat Koin Micin (Token) Sendiri
by
tgl277
on 04/03/2022, 17:18:33 UTC
Itu token ERC20 jaringan ETH ya bang, waduh kl bikin token beneran pasti biayanya mahal

kl boleh request sih cara bikin token di jaringan lain juga bang, seperti BSC, Solana, AVAX, Polkadot, Polygon dll

Kalau untuk BSC, Polygon, Heco, Fantom, Halo, (apalagi ya?)  Grin sama saja om, karena mereka adaptasi teknis ERC-20 nya ETH. Tinggal mengubah koneksi jaringannya ke jaringan mainet mereka (saat akan deploy), dan jika terdapat fungsi untuk exchange DEX pada kode sumber, pastikan mengubah alamat router dari exchange yang melayanai jaringan tersebut.
kl itu ana udah paham bang, cuma ditiap jaringan kan barangkali ada perbedaan kode walaupun sama2 ERC20

nah syukur2 sih yg dibahas jangan cuma ERC20 aja, tapi ERC721, ERC1155, BEP721, BEP1155

Biar kita bareng2 belajar gitu   Smiley
Post
Topic
Board Altcoins (Bahasa Indonesia)
Re: [TUTORIAL] Membuat Koin Micin (Token) Sendiri
by
tgl277
on 04/03/2022, 17:04:14 UTC
Itu token ERC20 jaringan ETH ya bang, waduh kl bikin token beneran pasti biayanya mahal

kl boleh request sih cara bikin token di jaringan lain juga bang, seperti BSC, Solana, AVAX, Polkadot, Polygon dll
Post
Topic
Board Altcoins (Bahasa Indonesia)
Re: [ANN] SEER: Proyek Prediksi unik di dunia Blockchain
by
tgl277
on 15/12/2018, 14:20:55 UTC
Terima kasih banyak kepada team SEER yg telah memberikan penghargaan kepada kami



Semoga SEER banyak mendapat dukungan dari berbagai komunitas
Post
Topic
Board Tokens (Altcoins)
Re: [ANN]🔥🌟VVCOIN🌟🔥Tourism APP with BlockchainTech: Join Telegram to get VVCOIN
by
tgl277
on 02/07/2018, 12:54:41 UTC
This project has a good concept, but the VVcoin team must work hard to restore investors confidence by fixing / stabilizing prices in all markets according to the rate on its official website. Maybe this is a tough challenge for the VVcoin team. Good luck and success
Post
Topic
Board Bounties (Altcoins)
Re: [BOUNTY] 🔥🌟🛰 DECIBELS - 🛰 Decentralized Multi-Media Codex Revolution 🛰🌟🔥
by
tgl277
on 11/03/2018, 12:58:57 UTC
#Proof of authentication post link

Twitter URL: https://twitter.com/Rinafid
Twitter username: @Rinafid

Telegram username: @Rinafid

Medium username: @Rinafid
Post
Topic
Board Bounties (Altcoins)
Re: [BOUNTY] 🏘️🌏🏘️ REALISTA - The First Global Real Estate Platform 🏘️🌏🏘
by
tgl277
on 11/03/2018, 12:34:49 UTC
#Proof of authentication post link

Twitter URL: https://twitter.com/Rinafid
Telegram username: @Rinafid
Post
Topic
Board Altcoins (Bahasa Indonesia)
Re: [ANN] [ICO] 🔥 BLOK: Merevolusi global on-demand tenaga kerja melalui blockhain
by
tgl277
on 19/02/2018, 15:49:57 UTC
Sebuah konsep cerdas dan ide yang bagus
Saya mendukung proyek ini semoga akan sukses sampai dengan ICO selesai
Post
Topic
Board Bounties (Altcoins)
Re: [BOUNTY] All-In Coin. 0.5 ETH to 15 ETH BOUNTY POOL in tokens for only 20 people
by
tgl277
on 16/02/2018, 06:50:54 UTC
Post
Topic
Board Bounties (Altcoins)
Re: [OPEN][AIRDROP][BOUNTY] ARCHICOIN Community Airdrop [OPEN FOR FIRST 200]
by
tgl277
on 10/02/2018, 14:13:24 UTC
All tasks done & Form filled
Joined the airdrop, goodluck
Post
Topic
Board Bounties (Altcoins)
Re: [BOUNTY] ArcBlock - BORN FOR BLOCKCHAIN 3.0
by
tgl277
on 31/01/2018, 05:21:47 UTC
Twitter Campaign
Twitter Username: @Rinafid
Twitter URL: https://twitter.com/Rinafid
Followers: 1665

ETH Address : 0x07d59bb48408cf219a79a843607b46d566541790

WEEK #2 ( 13/1 - 19/1)
Retweet:
https://twitter.com/ArcBlock_io/status/954104772306620417
https://twitter.com/ArcBlock_io/status/953856672061063168
https://twitter.com/ArcBlock_io/status/953856048305246208
https://twitter.com/ArcBlock_io/status/953755741051027456
https://twitter.com/ArcBlock_io/status/953487174950969346
https://twitter.com/ArcBlock_io/status/953454511481409536
https://twitter.com/ArcBlock_io/status/953453810164424704
https://twitter.com/ArcBlock_io/status/953453048612999174
https://twitter.com/ArcBlock_io/status/952303115759431680

WEEK #3 ( 20/1 - 26/1)
Retweet:
https://twitter.com/ArcBlock_io/status/956948521797734400
https://twitter.com/ArcBlock_io/status/956665263977586688
https://twitter.com/ArcBlock_io/status/956230550066515969
https://twitter.com/ArcBlock_io/status/955655825531527168
https://twitter.com/ArcBlock_io/status/955643650750451714
https://twitter.com/ArcBlock_io/status/955604600027009024
https://twitter.com/ArcBlock_io/status/954930245358022656
https://twitter.com/ArcBlock_io/status/954928917143609344
https://twitter.com/ArcBlock_io/status/954926942805004288
https://twitter.com/ArcBlock_io/status/954838379979472897
https://twitter.com/ArcBlock_io/status/954821599416455168
https://twitter.com/ArcBlock_io/status/954575218403618816
https://twitter.com/ArcBlock_io/status/954574699782115328
https://twitter.com/ArcBlock_io/status/954574044929712128
https://twitter.com/ArcBlock_io/status/954573849047289856
https://twitter.com/ArcBlock_io/status/954570145468477440
https://twitter.com/ArcBlock_io/status/954568707841327105

WEEK #4 (27/01 - 02/02)
Retweet:
https://twitter.com/ArcBlock_io/status/958501778659692544
https://twitter.com/ArcBlock_io/status/958500177379315712
https://twitter.com/ArcBlock_io/status/958189033359896576
https://twitter.com/ArcBlock_io/status/958852916898648065
https://twitter.com/ArcBlock_io/status/958857632558796801
https://twitter.com/ArcBlock_io/status/958862210503147520
https://twitter.com/ArcBlock_io/status/958870768951152645
https://twitter.com/ArcBlock_io/status/959279454219526144
https://twitter.com/ArcBlock_io/status/959281586595221505
Post
Topic
Board Bounties (Altcoins)
Re: [BOUNTY] ArcBlock - BORN FOR BLOCKCHAIN 3.0
by
tgl277
on 08/01/2018, 03:09:47 UTC
The main site not accessible  Sad
Post
Topic
Board Bounties (Altcoins)
Re: [BOUNTY][ICO] ONZ Coin - DPoS Blockchain for Social Networks | up to $630,000
by
tgl277
on 08/01/2018, 02:41:23 UTC
Subscribe newsletter done
Join OnzCoin Telegram Community
Username Telegram: @rinafid
Post
Topic
Board Bounties (Altcoins)
Re: [BOUNTY][Pre-ICO] Artex - First global art work platform based on blockchain
by
tgl277
on 07/11/2017, 12:31:10 UTC
Dear Participants! You don't need to report your social activities here. We'll check them manually. Thanks fo your interest.

Still people posting reports here. already dev said no need to post here weekly report here.

Yeah, Dev has said above but there are still many who post the report here
Post
Topic
Board Altcoins (Bahasa Indonesia)
Re: 🔥💠 LIST ICO & BOUNTY CAMPAIGN TERUPDATE 💠🔥 | MELODYCRYPTO.COM
by
tgl277
on 30/10/2017, 04:11:24 UTC
Wah ide yang bagus ada thread semacam ini, semoga sukses gan