Any national bank whose principal place of business is in this state is hereby authorized to do all things and perform all acts which state banks are permitted to do or perform under this chapter, subject to the conditions and restrictions provided for state banks as to exercise of like privileges.
SDCL 51A-7-7