This token standard is equivalent of ERC20 built on top of the SliceLedger Chain network. Users would have to need SLICE in order to cover the transaction fees for sending SLICE-20 tokens. These tokens can be easily integrated into other dapps and get listed on cryptocurrency exchanges.
There is a separate smart contract for creating and issuing SLICE -20 tokens for interested parties or developers where all they have to do is enter name, ticker, details and quantity of tokens to mint it within 10 minutes.
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
function allowance(address tokenOwner, address spender) public view returns (uint remaining);
function transfer(address to, uint tokens) public returns (bool success);
function approve(address spender, uint tokens) public returns (bool success);
function transferFrom(address from, address to, uint tokens) public returns (bool success);
event Transfer(address indexed from, address indexed to, uint tokens);
event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
SliceLedger Chain provides RPC APIs to developers for using Web3 library to call functions directly in a smart contract. Follow the steps below to interact with the smart contract by using Web3 Libraryand NodeJS.