<script>constonClick= () => {constuserChainAccounts=oreId.auth.user.data.chainAccounts;// Select the currency account that you would like to default to in the OnRamper flow// The user can select a different account using a dropdown menu if they wishconstethAccount=userChainAccounts.find(ca =>ca.chainNetwork ==='eth_main')// These are the properties required to launch the popupconstonramperBuy= { chainAccount:ethAccount.chainAccount, chainNetwork:ethAccount.chainNetwork, };// Launch the OnRamper floworeId.popup.buy({ onramperBuy }).catch( onError ); }</script><buttononClick="onClick()">Buy Crypto</button>