<
 
 
 
 
×
>
hide You are viewing an archived web page, collected at the request of Ethereum Foundation using Archive-It. This page was captured on 21:52:13 Jun 18, 2021, and is part of the Community collection. The information on this web page may be out of date. See All versions of this archived page. Loading media information

How to store variable for next session ?

shark255shark255 Member Posts: 5
I use some code to send ERC20 tokens
such as

var omisegoContract = web3.eth.contract(omisegoAbi).at('0xd26114cd6EE289AccF82350c8d8487fedB8A0C07');

When I close my geth session, and start after sometime new one using "geth attach",
variable omisegoContract becomes undefined. How to store it permanently or I should define variable every time?
Sign In or Register to comment.