Skip to content

Commit 6115b2b

Browse files
committed
remove doc code headers
1 parent 1bb490c commit 6115b2b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,25 @@
88

99
First you need to download the Convex-API-py package from the python package index PyPi.
1010

11-
```
1211
pip install convex-api
13-
```
1412

1513
You can now access the convex network using the following python commands.
1614

17-
```python
1815
>>> from convex_api import ConvexAPI
1916
>>> convex = ConvexAPI('https://convex.world')
2017
>>> convex.get_balance('0x7E66429CA9c10e68eFae2dCBF1804f0F6B3369c7164a3187D6233683c258710f')
2118
524786120
22-
```
2319

2420
You can create a new account by doing the following:
2521

26-
```python
2722
>>> from convex_api import Account
2823
>>> account = Account.create_new()
2924
>>> print(account.address_checksum)
30-
0x6F0e5f252B31Dc78d460Dd301ab571F47f8Bb0d7557Afff8D26A12655Dc2F6aF
31-
```
25+
0x6F0e5f252B31Dc78d460Dd301ab571F47f8Bb0d7557Afff8D26A12655Dc2F6aF ```
3226

3327
You can request some funds to the new account and see the account information:
3428

35-
```python
3629
>>> convex.request_funds(1000000, account)
3730
1000000
3831
>>> convex.get_account_info(account)
3932
{'environment': {}, 'address': '6f0e5f252b31dc78d460dd301ab571f47f8bb0d7557afff8d26a12655dc2f6af', 'is_library': False, 'is_actor': False, 'memory_size': 8, 'balance': 1000000, 'allowance': 0, 'sequence': 0, 'type': 'user'}
40-
```

0 commit comments

Comments
 (0)