            
                    zero_address = accountData[0]['address']
                    one_address = accountData[1]['address']
                    from = accountData[2]['address']
                    console.log("Connected to wallet successfully")
                    
                })
                .catch((e)=>{
                    console.error(e)

                })
            }
            //adding click event listener to the submit button
            var submit= document.getElem