Skip to content

Commit

Permalink
adnl renaming and TL generator fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tron committed Dec 14, 2022
1 parent 0242980 commit 8321bd0
Show file tree
Hide file tree
Showing 31 changed files with 5,624 additions and 1,845 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.idea
liteclient/tmp
liteclient/test.keys
liteapi/tmp
liteapi/test.keys
temp
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Go implementation of libraries for TON blockchain.

## Library structure
1. [ADNL](adnl/README.md) - low level adnl protocol implementation
2. [Lite client](liteclient/README.md) - interaction with TON node as lite client
1. [ADNL](liteclient/README.md) - low level adnl protocol implementation
2. [Lite client](liteapi/README.md) - interaction with TON node as lite client
3. [BOC](boc/README.md) - cells and bag-of-cells methods and primitives
4. [TL](tl/README.md) - interaction with binary data described by TL (Type Language) schemas
5. [TLB](tlb/README.md) - interaction with binary data (in Cells) described by TL-B (Typed Language - Binary) schemas
Expand Down
10 changes: 0 additions & 10 deletions adnl/README.md

This file was deleted.

153 changes: 0 additions & 153 deletions adnl/client.go

This file was deleted.

28 changes: 0 additions & 28 deletions adnl/connection_test.go

This file was deleted.

2 changes: 1 addition & 1 deletion contract/dns/dns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package dns
import (
"context"
"fmt"
"github.com/startfellows/tongo/liteclient"
"github.com/startfellows/tongo/liteapi"
"log"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/adnl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/base64"
"encoding/hex"
"fmt"
"github.com/startfellows/tongo/adnl"
"github.com/startfellows/tongo/liteclient"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/jetton/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"encoding/base64"
"github.com/startfellows/tongo"
"github.com/startfellows/tongo/contract/jetton"
"github.com/startfellows/tongo/liteclient"
"github.com/startfellows/tongo/liteapi"
"github.com/startfellows/tongo/wallet"
"log"
"math/big"
Expand Down
2 changes: 1 addition & 1 deletion examples/liteclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/startfellows/tongo"
"github.com/startfellows/tongo/liteclient"
"github.com/startfellows/tongo/liteapi"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/wallet/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/ed25519"
"encoding/base64"
"github.com/startfellows/tongo"
"github.com/startfellows/tongo/liteclient"
"github.com/startfellows/tongo/liteapi"
"github.com/startfellows/tongo/wallet"
"log"
)
Expand Down
10 changes: 10 additions & 0 deletions liteapi/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Lite client implementation.

This library implements TON lite client over ADNL protocol to communicate with TON lite servers.

TL schemas for lite server API you can find here:
* [Lite API](https://github.com/ton-blockchain/ton/blob/master/tl/generate/scheme/lite_api.tl)

### Usage
[Example](../examples/liteclient/main.go)

Loading

0 comments on commit 8321bd0

Please sign in to comment.