You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 3, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ pip install thirdweb-sdk
22
22
## Getting Started
23
23
24
24
To start using this SDK, you just need to pass in a provider configuration.
25
+
25
26
### Instantiating the SDK
26
27
27
28
Once you have all the necessary dependencies, you can follow the following setup steps to get started with the SDK read-only functions:
@@ -112,7 +113,7 @@ $ bash scripts/env/setup.sh
112
113
113
114
### Running Tests
114
115
115
-
Before running tests, make sure you've already run `poetry shell` and are in the poetry virutal environment with all dependencies installed.
116
+
Before running tests, make sure you've already run `poetry shell` and are in the poetry virutal environment with all dependencies installed.
116
117
117
118
Once you have checked that this you have all the dependencies, you can run the following:
118
119
@@ -134,15 +135,16 @@ If you're working in VSCode, there a few steps to get everything working with th
134
135
135
136
1. To setup poetry virtual environment inside your VSCode so it gets recognized as part of your project (import for linters), you can take the following steps from this [stack overflow answer](https://stackoverflow.com/questions/59882884/vscode-doesnt-show-poetry-virtualenvs-in-select-interpreter-option). You need to run `poetry config virtualenvs.in-project true` and then make sure you delete/create a new poetry env.
136
137
2. In `.vscode/settings.json`, you should have the following:
138
+
137
139
```json
138
140
{
139
141
"python.linting.mypyEnabled": true,
140
142
"python.linting.enabled": true,
141
143
"python.linting.pylintEnabled": false
142
144
}
143
145
```
144
-
3. Make sure to set your VSCode `Python: Interpreter` setting to the Python version inside your poetry virtual environment.
145
146
147
+
3. Make sure to set your VSCode `Python: Interpreter` setting to the Python version inside your poetry virtual environment.
146
148
147
149
### Generate Python ABI Wrappers
148
150
@@ -155,6 +157,5 @@ $ npm install -g @0x/abi-gen
155
157
Assuming you have the thirdweb contract ABIs in this directory at `/abi`, you can run the following command to generate the necessary ABIs.
0 commit comments