I know Javascript is not the Language for this matter, however i believe it's the easiest to understand and would be very easy to anyone to port to any other language.
what i am trying to understand is how do i "hash" transactions, "create my own 12.5" transaction concat, append, rehash, hash it once again... as i see here and there... it all seems very confusing, anyone could explain a bare basic implementation of step by step on what is needed in order to create a valid btc block?
my ultimate goal is to get any random block here https://blockexplorer.com/, and using the exactly same nonce as input recreate the same result