We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9423c2b commit 76aaed7Copy full SHA for 76aaed7
readme.md
@@ -17,7 +17,7 @@ Create an instance:
17
```python
18
from ic.principal import Principal
19
p = Principal() # default is management canister id `aaaaa-aa`
20
-p1 = Principal(bytes=xxx) # create an instance from bytes
+p1 = Principal(bytes=b'') # create an instance from bytes
21
p2 = Principal.anonymous() # create anonymous principal
22
p3 = Principal.self_authenticating(pubkey) # create a principal from public key
23
p4 = Principal.from_str('aaaaa-aa') # create an instance from string
@@ -83,7 +83,7 @@ Create an instance:
83
84
from ic.client import Client
85
from ic.identity import Identity
86
-from ic.Agent import Agent
+from ic.agent import Agent
87
# Identity and Client are dependencies of Agent
88
iden = Identity()
89
client = Client()
0 commit comments