Skip to content

Commit da322db

Browse files
example reorganization (#164)
1 parent 6957dd8 commit da322db

53 files changed

Lines changed: 50 additions & 50 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 4 additions & 4 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import asyncio
2-
from utils import default_example_setup
2+
from examples.utils import default_example_setup
33

44

55
async def main():

examples/sub_account_transfer_eth.py renamed to examples/accounts/sub_account_transfer_eth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import asyncio
2-
from utils import default_example_setup
2+
from examples.utils import default_example_setup
33

44
TO_ACCOUNT_INDEX = 281474976710648
55

examples/sub_account_transfer_usdc.py renamed to examples/accounts/sub_account_transfer_usdc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import asyncio
2-
from utils import default_example_setup
2+
from examples.utils import default_example_setup
33

44
TO_ACCOUNT_INDEX = 281474976710648
55

examples/send_batch_tx_http.py renamed to examples/batch-orders/send_batch_tx_http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import asyncio
22
import time
3-
from utils import default_example_setup, trim_exception
3+
from examples.utils import default_example_setup, trim_exception
44

55

66
# this example does the same thing as the send_batch_tx_ws.py example, but sends the TX over HTTP instead of WS
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import asyncio
33
import time
44

5-
from utils import default_example_setup, ws_send_batch_tx, trim_exception
5+
from examples.utils import default_example_setup, ws_send_batch_tx, trim_exception
66

77

88
# this example does the same thing as the send_batch_tx_http.py example, but sends the TX over WS instead of HTTP
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import asyncio
22
import lighter
3-
from utils import default_example_setup
3+
from examples.utils import default_example_setup
44

55

66
async def fetch(api_client, idx):
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import asyncio
2-
from utils import default_example_setup
2+
from examples.utils import default_example_setup
33

44

55
async def main():
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import asyncio
2-
from utils import default_example_setup
2+
from examples.utils import default_example_setup
33

44

55
async def main():
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import asyncio
2-
from utils import default_example_setup
2+
from examples.utils import default_example_setup
33

44

55
async def main():

0 commit comments

Comments
 (0)