How can I add a specific number of tokens to the Ethereum blockchain?
I guess I need to create a contract with an array of the tokens with something like
contract Token {
uint[] public tokens;
}
I don't want to do anything fancy. I just want to have e.g. 10 tokens in the blockchain that can be transferred among different addresses.
So one address should be able to hold multiple tokens.
I have tried reading about contracts, but they look quite complex compared to what I want to accomplish. I just want to create the tokens, be able to assign the tokens to different owners, and lookup an address to see which tokens the address holds.
I know it might be a project too big for a stackoverflow quesiton, but I want to know which tools to use. I guess I should set up a test node (with e.g. Truffle Ganache) so I can create some accounts (who should be able to hold the tokens), but how can I simply create the tokens, assign them to the accounts and lookup which tokens each account holds?
Can I use web3.js to connect to my test network? Do I need to create a contract using truffle? Are there any very very simple projects with truffle, only issuing tokens and making it possible to see the tokens and assign them to different users?