Skip to content

Commit 4bff70a

Browse files
committed
Update README. Add peers list
1 parent 417bbfa commit 4bff70a

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1-
# Yggdrasil Gateway(Outdated)
1+
# Yggway(Yggdrasil Gateway)
22

3-
With this repo, you could fast set up a gateway to the Yggdrasil network and Alfis DNS resolver. In `yggdrasil/configuration.py` you may preset a list of public peers. I use Ukrainian peers, but you can choose the most suitable for you from the [peers list](https://github.com/yggdrasil-network/public-peers). Also after the first start, you could modify Alfis settings in `alfis/alfis.toml`. Scripts are automatically caring about the nameserver setup. If you want to use docker-compose you will need to figure out how to set up a default nameserver by yourself. Firefox works fine with .ygg domains, Google Chrome doesn't. If you want to use Google Chrome you may resolve domains with dig or nslookup, or even ping and then open via Chrome.
3+
The fast and efficient way to access the Yggdrasil network and Alfis domain name system.
4+
5+
## Configs
6+
7+
* config/blockhain.db: backup of Alfis blockchain to decrease yggway start time
8+
* config/peer.json: list of yggdrasil peers. Ukrainian peers are default. Take a look at [peer's list](https://github.com/yggdrasil-network/public-peers) to find a better list for yourself
9+
* config/resolv.conf: default dns config for the system
10+
11+
## Howto start
12+
13+
```console
14+
host@root:~# ./yggway -h
15+
```

config/peers.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"peers" : [
3+
"tcp://193.111.114.28:8080",
4+
"tcp://78.27.153.163:33165",
5+
"tls://193.111.114.28:1443",
6+
"tls://78.27.153.163:33166",
7+
"tls://91.224.254.114:18001"
8+
]
9+
}

yggway

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def start():
3030
os.makedirs(f"storage/{service}", exist_ok=True)
3131

3232
shutil.copy("config/blockchain.db", "storage/alfis")
33+
shutil.copy("config/peers.json", "storage/yggdrasil")
3334

3435
subprocess.run(["docker-compose", "up", "--detach"], check=True)
3536

0 commit comments

Comments
 (0)