File tree Expand file tree Collapse file tree 7 files changed +11
-8
lines changed Expand file tree Collapse file tree 7 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1
- DIRS := "activation-service" "farmerbot" "grid-cli" "grid-client" "grid-proxy" "gridify" "monitoring-bot" "rmb-sdk-go" "user-contracts-mon" "tfrobot" "node-registrar "
1
+ DIRS := "activation-service" "farmerbot" "grid-cli" "grid-client" "grid-proxy" "gridify" "monitoring-bot" "rmb-sdk-go" "user-contracts-mon" "tfrobot" "messenger "
2
2
3
3
mainnet-release :
4
4
cd grid-client && go get github.com/threefoldtech/tfchain/clients/tfchain-client-go@5d6a2dd
Original file line number Diff line number Diff line change 4
4
5
5
require (
6
6
github.com/rs/zerolog v1.26.0
7
- github.com/threefoldtech/tfchain/clients/tfchain-client-go v0.0.0-00010101000000-000000000000
7
+ github.com/threefoldtech/tfchain/clients/tfchain-client-go v0.0.0-20241127100051-77e684bcb1b2
8
8
)
9
9
10
10
require (
Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P
65
65
github.com/stretchr/testify v1.6.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
66
66
github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s =
67
67
github.com/stretchr/testify v1.7.2 /go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals =
68
+ github.com/threefoldtech/tfchain/clients/tfchain-client-go v0.0.0-20241127100051-77e684bcb1b2 h1:VW2J36F8g/kJn4IkY0JiRFmb1gFcdjiOyltfJLJ0mYU =
69
+ github.com/threefoldtech/tfchain/clients/tfchain-client-go v0.0.0-20241127100051-77e684bcb1b2 /go.mod h1:cOL5YgHUmDG5SAXrsZxFjUECRQQuAqOoqvXhZG5sEUw =
68
70
github.com/tklauser/go-sysconf v0.3.9 h1:JeUVdAOWhhxVcU6Eqr/ATFHgXk/mmiItdKeJPev3vTo =
69
71
github.com/tklauser/go-sysconf v0.3.9 /go.mod h1:11DU/5sG7UexIrp/O6g35hrWzu0JxlwQ3LSFUzyeuhs =
70
72
github.com/tklauser/numcpus v0.2.2 h1:oyhllyrScuYI6g+h/zUvNXNp1wy7x8qQy3t/piefldA =
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ type version struct {
16
16
}
17
17
18
18
func app () error {
19
- mnemonics := "need unfair vendor potato nominee high one flower flight save electric game "
20
- subNodeURL := "ws ://127.0.0.1:9944" // <- replace this with your node URL
19
+ mnemonics := "<mnemonics goes here> "
20
+ subNodeURL := "wss ://tfchain.dev.grid.tf/ws"
21
21
relayURL := "wss://relay.dev.grid.tf"
22
22
23
23
subManager := substrate .NewManager (subNodeURL )
Original file line number Diff line number Diff line change @@ -53,5 +53,3 @@ require (
53
53
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
54
54
gopkg.in/yaml.v3 v3.0.1 // indirect
55
55
)
56
-
57
- replace github.com/threefoldtech/tfchain/clients/tfchain-client-go => /home/omar/github.com/threefoldtech/tfchain/clients/tfchain-client-go
Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
93
93
github.com/stretchr/testify v1.6.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
94
94
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA =
95
95
github.com/stretchr/testify v1.10.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
96
+ github.com/threefoldtech/tfchain/clients/tfchain-client-go v0.0.0-20241127100051-77e684bcb1b2 h1:VW2J36F8g/kJn4IkY0JiRFmb1gFcdjiOyltfJLJ0mYU =
97
+ github.com/threefoldtech/tfchain/clients/tfchain-client-go v0.0.0-20241127100051-77e684bcb1b2 /go.mod h1:cOL5YgHUmDG5SAXrsZxFjUECRQQuAqOoqvXhZG5sEUw =
96
98
github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU =
97
99
github.com/tklauser/go-sysconf v0.3.12 /go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI =
98
100
github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk =
Original file line number Diff line number Diff line change @@ -12,14 +12,15 @@ import (
12
12
)
13
13
14
14
func app () error {
15
- mnemonics := "need unfair vendor potato nominee high one flower flight save electric game "
16
- subManager := substrate .NewManager ("ws ://127.0.0.1:9944 /ws" )
15
+ mnemonics := "<mnemonics goes here> "
16
+ subManager := substrate .NewManager ("wss ://tfchain.dev.grid.tf /ws" )
17
17
18
18
client , err := peer .NewRpcClient (
19
19
context .Background (),
20
20
mnemonics ,
21
21
subManager ,
22
22
peer .WithKeyType (peer .KeyTypeSr25519 ),
23
+ peer .WithRelay ("wss://relay.dev.grid.tf" ),
23
24
peer .WithSession ("test-client" ),
24
25
)
25
26
if err != nil {
You can’t perform that action at this time.
0 commit comments