File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,20 @@ To create a new address with the same account keys in your new or imported accou
5252 >>> new_account.address
5353 934
5454
55+ To use account names, where an account name is resolved to a fixed address. You can create or load
56+ an account based on it's name by doing the following:
57+
58+ >>> account = convex_api.setup_account('my-account-name', import_account)
59+ >>> account.address
60+ 934
61+
62+ >>> convex_api.resolve_account_name('my-account-name')
63+ 934
64+
65+ >>> same_account = convex_api.setup_account('my-account-name', import_account)
66+ >>> same_account.address
67+ 934
68+
5569To submit a transaction, use ConvexAPI.send(). This will cost a small about of juice, and reduce your balance
5670
5771 >>> convex_api.request_funds(1000000, account)
You can’t perform that action at this time.
0 commit comments