Skip to content

Commit

Permalink
update: v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GitBolt committed Apr 16, 2024
1 parent fd36a91 commit a0470dc
Show file tree
Hide file tree
Showing 8 changed files with 188 additions and 106 deletions.
15 changes: 0 additions & 15 deletions .deepsource.toml

This file was deleted.

3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@

Solathon is a high performance, easy to use and feature-rich Solana SDK for Python. Easy for beginners, powerful for real world applications.

|🧪| The project is in beta phase|
|---|-----------------------------|

# ✨ Getting started
## Installation
```
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/clients/client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ Returns signatures for confirmed transactions that include the given address in

<Code>
```python
def get_signatures_for_address()
def get_signatures_for_address(address: str, limit: Optional[str], until: Optional[str], before: Optional[str])
```
</Code>

Expand Down
21 changes: 5 additions & 16 deletions docs/pages/models/publickey.mdx
Original file line number Diff line number Diff line change
@@ -1,46 +1,35 @@
import { Code } from '/components/Code';

# PublicKey
**Class representing a public key model. Preferred to use this over plain public key string**
**Class representing a public key model. Ideal to use this class over plain public key string**

<Code>
```python
class PublicKey(value: bytearray | bytes | int | str | List[int])
```
</Code>

> The class requires one value argument which can be string, bytes, bytearray or int array form of the public key.
> The class requires one value argument to initialize which can be string, bytes, bytearray or int array form of the public key.

#### Methods
- [base58_encode](#base58_encode)
- [base58_decode](#base58_decode)

#### Attributes
- [byte_value](#byte_value )
- [byte_value](#byte_value)


## Methods

#### .base58_encode
Converts the public key into base 58 form
Returns the public key in base58 encoding (the type we see in wallets)

<Code>
```python
def base58_encode()
```
</Code>

#### .base58_decode
Decodes a base58 encoded public key

<Code>
```python
def base58_decode()
```
</Code>


## Attributes

#### .byte_value
Returns the byte value of the public key. Recommended to use ```bytes()``` function and passing to public key to get the byte value over this attribute.
Returns the byte value of the public key
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tool.poetry]
name = "solathon"
version = "0.1.9"
version = "1.0.0"
description = "High performance, easy to use and feature-rich Solana SDK for Python."
license = "MIT"
authors = ["GitBolt"]
readme = "README.md"
repository = "https://github.com/GitBolt/solathon"
keywords = ["solana", "web3", "sdk", "blockchain"]
keywords = ["solana", "web3", "sdk", "blockchain", "crypto"]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
Expand Down
2 changes: 1 addition & 1 deletion solathon/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.9"
__version__ = "1.0.0"

from .client import Client
from .async_client import AsyncClient
Expand Down
Loading

0 comments on commit a0470dc

Please sign in to comment.