In reply to Pratik Kinage.

There is a package available called @wordpress/create-block that will scaffold out a block plugin for you - https://github.com/WordPress/gutenberg/tree/trunk/packages/create-block. Out of the box, it will scaffold a simple static block for you but it also supports using custom templates.