For a hub to take an RC wheel. M10 D3 nut, drill it out to 12mm, add as much M3 set screws as you like. And use 2 of the set screws in line to fit in the keyway.

You'll need to drill a hole in the shaft, to fit a locking bolt or nut.