Skip to content

Commit

Permalink
feat(ts-sdk): Update .env defaults (#4025)
Browse files Browse the repository at this point in the history
* feat(ts-sdk): Update .env defaults

* feat(wallet): Update URLs in wallet manifest

* Update explorer link in sdk/.env.defaults testnet

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>

* feat(sdk): Fix explorer link for devnet

* feat(sdk): Remove network search param from Explorer links as it's redundant

---------

Co-authored-by: Begoña Álvarez de la Cruz <[email protected]>
  • Loading branch information
msarcev and begonaalvarezd authored Nov 12, 2024
1 parent af9a325 commit d59008e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion apps/wallet/src/manifest/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"action": {
"default_popup": "ui.html?type=popup"
},
"host_permissions": ["https://fullnode.devnet.iota.org/", "https://fullnode.staging.iota.org/"],
"host_permissions": ["https://api.devnet.iota.cafe/", "https://api.testnet.iota.cafe/"],
"icons": {
"16": "manifest/icons/iota-icon-16.png",
"32": "manifest/icons/iota-icon-32.png",
Expand Down
23 changes: 8 additions & 15 deletions sdk/.env.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,29 @@ SENTRY_AUTH_TOKEN=

IOTA_NETWORKS = '
{
"mainnet": {
"id": "mainnet",
"name": "Mainnet",
"url": "https://fullnode.mainnet.iota.org:443",
"chain": "iota:mainnet",
"explorer": "https://explorer.iota.org"
},
"testnet": {
"id": "testnet",
"name": "Testnet",
"url": "https://fullnode.testnet.iota.org:443",
"explorer": "https://explorer.iota.org",
"url": "https://api.testnet.iota.cafe",
"explorer": "https://explorer.rebased.iota.org",
"chain": "iota:testnet",
"faucet": "https://faucet.testnet.iota.org/gas"
"faucet": "https://faucet.testnet.iota.cafe"
},
"devnet": {
"id": "devnet",
"name": "Devnet",
"url": "https://fullnode.devnet.iota.org:443",
"explorer": "https://explorer.iota.org",
"url": "https://api.devnet.iota.cafe",
"explorer": "https://explorer.rebased.iota.org",
"chain": "iota:devnet",
"faucet": "https://faucet.devnet.iota.org/gas"
"faucet": "https://faucet.devnet.iota.cafe"
},
"localnet": {
"id": "localnet",
"name": "Localnet",
"url": "http://localhost:9000",
"explorer": "https://explorer.iota.org",
"explorer": "http://localhost:3000",
"chain": "iota:local",
"faucet": "http://localhost:9123/gas"
"faucet": "http://localhost:9123"
}
}
'

0 comments on commit d59008e

Please sign in to comment.