Hi @Timbrian1234,
Welcome to the community
As well as this post, you have posted two other token contracts:
I am not sure what the "No worker" error was that you were receiving. Can you post a screen shot?
Taking a step back, you seem to be wanting to deploy a simple token with the total supply minted to the deployer of the contract.
The following is an example using OpenZeppelin Contracts imported via GitHub:
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.2.0/contracts/token/ERC20/ERC20.sol";
contract Token is ERC20 {
constructor () public ERC20("Token", "TKN") {
_mint(msg.sender, 1000000 * (10 ** uint256(decimals())));
}
}
For a mintable, pausable and burnable token you can follow: Create an ERC20 using Remix, without writing Solidity