const sdk = require('stellar-sdk')

const TESTNET = 'https://horizon-testnet.stellar.org'
const PUBNET = 'https://horizon.stellar.org'
// const LOCALNET = 'http://localhost:8000'

const isPubNet = false   // TODO: parameterise
const horizonUrl = (isPubNet) ? PUBNET : TESTNET

const server = new sdk.Server(horizonUrl, {allowHttp: true})
if (!isPubNet)
    sdk.Network.useTestNetwork()

export { sdk, server, isPubNet }

@@ -194,12 +194,11 @@
 t = 
-fals
+tru
 e   
@@ -345,16 +345,16 @@
 PubNet)%0A
-
     sdk.
@@ -379,16 +379,834 @@
 work()%0A%0A
+const issuers = %7B%0A  %22GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH%22: %7B%0A     code: %22BTC%22,%0A     issuer: %22NaoBTC%22%0A  %7D,%0A  %22GAP5LETOV6YIE62YAM56STDANPRDO7ZFDBGSNHJQIYGGKSMOZAHOOS2S%22: %7B%0A     code: %22EURT%22,%0A     issuer: %22tempo.eu.com%22%0A  %7D,%0A  %22GCGEQJR3E5BVMQYSNCHPO6NPP3KOT4VVZHIOLSRSNLE2GFY7EWVSLLTN%22: %7B%0A     code: %22EQD%22,%0A     issuer: %22equid.co%22%0A  %7D,%0A  %22GAREELUB43IRHWEASCFBLKHURCGMHE5IF6XSE7EXDLACYHGRHM43RFOX%22: %7B%0A     code: %22CNY%22,%0A     issuer: %22ripplefox.com%22%0A  %7D,%0A  %22GBUQWP3BOUZX34TOND2QV7QQ7K7VJTG6VSE7WMLBTMDJLLAW7YKGU6EP%22: %7B%0A     code: %22PHP%22,%0A     issuer: %22coins.asia%22%0A  %7D,%0A  %22GBVAOIACNSB7OVUXJYC5UE2D4YK2F7A24T7EE5YOMN4CE6GCHUTOUQXM%22: %7B%0A     code: %22JPY%22,%0A     issuer: %22vcbear.net%22%0A  %7D,%0A  %22GBAMBOOZDWZPVV52RCLJQYMQNXOBLOXWNQAY2IF2FREV2WL46DBCH3BE%22: %7B%0A     code: %22DEMO%22,%0A     issuer: %22stellarterm.com%22%0A  %7D,%0A%7D%0A%0A
 export %7B

add known addresses of anchors to Stellar.js