🌸(Bahasa) Deploy and Mint token on Aleo without node🌸

Gunakan Windows (Chrome) atau Android(Mises)

Install Leo Wallet

  • Download DISINI dan install

  • Buat Wallet

  • Request faucet dengan cara kirim SMS ke nomer +18678885688

  • Kirim pesan menggunakan format

Send 50 credits to aleoxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Ganti aleoxxxxxxxx dengan address wallet mu

Mulai Deploy

  • Setelah mendapat Aleo, pergi ke web Deployer → DISINI

  • Copy ini dan paste ke kolom Deploy

program nama_bebas.aleo;

record Token:
    owner as address.private;
    amount as u64.private;


function mint:
    input r0 as address.private;
    input r1 as u64.private;
    cast r0 r1 into r2 as Token.record;
    output r2 as Token.record;


function transfer:
    input r0 as Token.record;
    input r1 as address.private;
    input r2 as u64.private;
    sub r0.amount r2 into r3;
    cast r0.owner r3 into r4 as Token.record;
    cast r1 r2 into r5 as Token.record;
    output r4 as Token.record;
    output r5 as Token.record;
  • Ganti nama_bebas.aleo dengan nama apapun sesuka hati

Pastikan gunakan nama yang belum terpakai, buka Explorer lalu pada kolom Search cari nama yang akan digunakan, jika 404 berarti bisa dipakai.

  • Isi fee dengan 12000000

  • Submit dan Approve di wallet, akan secara otomatis membuka tab baru. Jangan ditutup sampai transaksi selesai apapun yang terjadi

Deploy selesai, selanjutnya mint

Mint

  • Pergi ke bagian Execute

  • Isi seperti ini

    Program ID: namamu.aleo

    Function Name: mint

    Inputs: aleoxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 1000u64

    Fee: 1000000

  • Submit, Approve, Done

Discord Aleo Twitter Aleo

About Me

 
Subscribe to
Receive the latest updates directly to your inbox.
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.