Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: default to voi testnet network #56

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 53 additions & 47 deletions src/extension/config/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,59 @@ const voiListingUri: string =
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAxXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVBBEsMgCLzzij5BwCg8xzTpTH/Q53dVkkk63RlXYHVFaP+8X/ToEM6Ul2rFS0lA9uzSEFiaaIM55cEDOSTktzqdgqCk2HWmVuL8UefTYG4N0XIxsmcI613weEHsxyge0t6RINjCyMNIZQocBm1+KxW3ev3Cuqc7bC7qpHV4nya/ea6Y3ragqCK7siawapkNaF9K2iAIGNdxkLWOig/m6AQD+TenA/QF5AZZHCIdZIIAAAGEaUNDUElDQyBwcm9maWxlAAB4nH2RPUjDQBzFX1OlIhVRO4g4ZKhOFkSLOGoVilAh1AqtOphc+iE0aUhSXBwF14KDH4tVBxdnXR1cBUHwA8TVxUnRRUr8X1JoEePBcT/e3XvcvQOEeplpVsc4oOm2mU4mxGxuRQy9IowQ+tCPuMwsY1aSUvAdX/cI8PUuxrP8z/05etS8xYCASDzDDNMmXiee2rQNzvvEEVaSVeJz4jGTLkj8yHXF4zfORZcFnhkxM+k54gixWGxjpY1ZydSI48RRVdMpX8h6rHLe4qyVq6x5T/7CcF5fXuI6zWEksYBFSBChoIoNlGEjRqtOioU07Sd8/EOuXyKXQq4NMHLMowINsusH/4Pf3VqFyQkvKZwAOl8c52MECO0CjZrjfB87TuMECD4DV3rLX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gogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJzYXZlZCIKICAgICAgc3RFdnQ6Y2hhbmdlZD0iLyIKICAgICAgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDpiNmYyOWM0NS05MDNiLTRjNmUtODg1NS01YzE1YWIyODlkZTEiCiAgICAgIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkdpbXAgMi4xMCAoTGludXgpIgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTA3VDE3OjE5OjEyKzAwOjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAKPD94cGFja2V0IGVuZD0idyI/Psr3E3MAAAAGYktHRABvACoA4pn/G4EAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfnDAcREwzqD5DcAAAHHElEQVR42uWbf2xT1xXHP+/aDrEDJFnKb+GyarCSMuikCVjpH+kqTRGVyh+UTcqklrYg0aHWWqdKlbZpmjRpWqUlc9kYU2CjWce0dUxqgDZsZcpW0IC0hZbWWZMpahNKFUOIf8Rx7Ge/tz/eTQrESXyf30sT8v0zee/4fM8799xzzzlXw0WEansFsBLYCNwLrAVWAUuAKsAvH00DMaAf+AjoBC4C54G+cCRouKWj5gJpL7AJ2A7UA6sBr01xOaAbaAOOAufCkWBuRhogVNt7B7AT2AWsccG4JtAFHAQOhyPBazPCAJL4s8AeoJrpwSBwAGgs1RBaCcR9wG7gx8BiPh9EgZ8AzeFIUJ82A4Rqe9cCzcAWZgbOALvDkWCnqwYI1fZqwGNAGFjIzEICCAEvhSNBs9iXhAL5MqAJODQDySN1OgQ0SV2d84BQbW8AaJFb22zAUeDRcCQ4XLIBJPlXgK3MLrwG7JjKCKIIt2+ZheSROrdMtRzEFAHvhVnk9oWwHXhBclH2gMeAp5n9eFpyKT4GyH3+7AyN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H09I5zen3ZSZL/AmslxDK83DnH9qu44+XzO5PjBGEbWUbEfCayBJMcw0m/yxl/imA7Hw0sdKbqOOW7YToE1jeUo/tOc5uNu51w1nTI49mLcmhJyFhcF1iiao5NXpg6tv42T053R+MzJOAPvOR5cc8B5AfRhjaI5ip6TOu+eHSpZzkC/zt8bU27E1G6gT8ghxDbn9yxobUqQStpPWEwTTv4pRnbQlQSrLRwJGqOZ4FFcWGHxDw3ePGH/nNDz3zQdvx9xJaWQnMeKouewhhAdxxu/TNH/ifrepWdNWvfHMHNuaEWX5GwZQI6fHnTjl3JJaHs5hqEYwzraE3z8T3fYAwdHR25vPAwdxprAdH6veTnDu2eLz9+jV7K0/sy1Qsug5MpNBpAd0wNuFS+OPBfng7dTUyZIg9d0Wn46wEjUtZPlgRu7w7cehxuxWsiOQ4+ZHHryOsdbBhi8po8zRHrYoKM9QePjUS7/yzXXj0qOYxjXiQjV9n4X+LWbR1pPAO560MeyL/nweODaJzn+166T/tT1esLecCR404BEoXp0M9CAi3PA+WHoPqbTjc404ozkxqQeIL1g7g5JyYDYiTV4bNwG5A0gNNEk+WQ1wZeAfbeBAfZJLgUxaTtWjpkeYfZOix4FGsKRYNaWAaQR5u6wtIwHw8CO0cPDLPryO4oZly+qLyAFNWDdFJnJgdGQOjYUQ76oJXDLcrjtrszM+UtTtlpj8oceAPa6dXZQyO33Ag/YIW/bA27xhrl5cXICQ+xkrl2dLWCIuXl5egJjzPjr8/8HYKadv86Sx1sAAAAASUVORK5CYII=';

const networks: INetwork[] = [
/**
* voi networks
*/
{
algods: [
{
canonicalName: 'AlgoNode',
port: '',
url: 'https://testnet-api.voi.nodly.io',
},
],
canonicalName: 'Voi',
chakraTheme: 'voi',
explorers: [
{
accountPath: '/account',
applicationPath: '/application',
assetPath: '/asset',
baseUrl: 'https://voi.observer/explorer',
blockPath: '/block',
canonicalName: 'Voi Observer',
groupPath: '/group',
id: 'voi-observer',
transactionPath: '/transaction',
},
],
feeSunkAddress:
'FEES3ZW52HQ7U7LB3OGLUFQX2DCCWPJ2LIMXAH75KYROBZBQRN3Q5OR3GI',
genesisId: 'voitest-v1',
genesisHash: 'IXnoWtviVVJW5LGivNFc0Dq14V3kqaXuK2u5OQrdVZo=',
indexers: [
{
canonicalName: 'AlgoNode',
port: '',
url: 'https://testnet-idx.voi.nodly.io',
},
],
namespace: {
key: 'voi',
methods: ['signTransaction', 'signMessage'],
reference: 'IXnoWtviVVJW5LGivNFc0Dq14V3kqaXu',
},
nativeCurrency: {
code: 'VOI',
decimals: 6,
iconUri: voiIconUri,
listingUri: voiListingUri,
},
type: NetworkTypeEnum.Test,
},
/**
* algorand networks
*/
{
algods: [
{
Expand Down Expand Up @@ -154,53 +207,6 @@ const networks: INetwork[] = [
},
type: NetworkTypeEnum.Test,
},
{
algods: [
{
canonicalName: 'AlgoNode',
port: '',
url: 'https://testnet-api.voi.nodly.io',
},
],
canonicalName: 'Voi',
chakraTheme: 'voi',
explorers: [
{
accountPath: '/account',
applicationPath: '/application',
assetPath: '/asset',
baseUrl: 'https://voi.observer/explorer',
blockPath: '/block',
canonicalName: 'Voi Observer',
groupPath: '/group',
id: 'voi-observer',
transactionPath: '/transaction',
},
],
feeSunkAddress:
'FEES3ZW52HQ7U7LB3OGLUFQX2DCCWPJ2LIMXAH75KYROBZBQRN3Q5OR3GI',
genesisId: 'voitest-v1',
genesisHash: 'IXnoWtviVVJW5LGivNFc0Dq14V3kqaXuK2u5OQrdVZo=',
indexers: [
{
canonicalName: 'AlgoNode',
port: '',
url: 'https://testnet-idx.voi.nodly.io',
},
],
namespace: {
key: 'voi',
methods: ['signTransaction', 'signMessage'],
reference: 'IXnoWtviVVJW5LGivNFc0Dq14V3kqaXu',
},
nativeCurrency: {
code: 'VOI',
decimals: 6,
iconUri: voiIconUri,
listingUri: voiListingUri,
},
type: NetworkTypeEnum.Test,
},
];

export default networks;
Loading