GMM estimation with Panel data


I would like to estimate my model by using a panel dataset (country by time). I am able to estimate the model for a single country by using the GMM method built into Dynare. Is there something similar that I can use for panel data? Or is there a way to transform the panel data so that I can use it like a single time series?

I would greatly appreciate any suggestions/feedback you may have on this.

Thank you in advance.

What type of estimator did you have in mind for the panel structure?