Silvestr Predko
05f33ec1e4
Use an ```ApiResponse``` in a client.
2 gadus atpakaļ
Silvestr Predko
0f0eb936c4
Use near-client from crates.io
2 gadus atpakaļ
Silvestr Predko
6052aa41d5
Implement exchange protocol that is used by key-exchange-server
* Split codebase to different source files
* Modified integration test
2 gadus atpakaļ
Silvestr Predko
d113219c65
Add ViewOutput for view calls.
* Also, add a logs to view and transaction calls
* Check if view call was successfull
2 gadus atpakaļ
Silvestr Predko
a1cec0c794
Add near-primitives-light instead of an near-primitives
2 gadus atpakaļ
Silvestr Predko
9242a2d188
Rename near-client to near-rpc
2 gadus atpakaļ
Silvestr Predko
a839fbd9c9
Fix clippy issues in a KeyProvisioner
2 gadus atpakaļ
Silvestr Predko
b8cd429d3d
Remove near.rs, and use a near-primitives
For now it's possible to use a "near-primitives" crate,
because key management logic moved to "common-api"
2 gadus atpakaļ
Kyrylo Stepanov
79be920432
timeouts for send_keys & get_keys with select! macro
2 gadus atpakaļ
Silvestr Predko
92620d016f
Refactor `NearClient` and add documentation
* Improve `NearClient` errors. For now, each action has its own distinguished error
* Remove `commit_empty` and add `Output for function call.
* Split RPC calls with an deserialization stage`
2 gadus atpakaļ
Silvestr Predko
4f499336d9
Implement from<JsValue> for ApiError
2 gadus atpakaļ
Silvestr Predko
bb101f5da8
Add tests that cover complete key-exchange flow
2 gadus atpakaļ
Silvestr Predko
d4f7900e1a
Rename Secret and Public to SecretKey and PublicKey accordingly
2 gadus atpakaļ
Silvestr Predko
e31a81e117
Fixed duplication at the end of url origin
2 gadus atpakaļ
Silvestr Predko
36ae7a5ac5
Add basic implemntation of key-exchange
2 gadus atpakaļ
Silvestr Predko
55e23f9c51
Rename crate from wasm-client to web-client
2 gadus atpakaļ
Kyrylo Stepanov
6c3f656593
Add DeployContract call to the NearClient
2 gadus atpakaļ
Silvestr Predko
8c521653db
Add github actions
2 gadus atpakaļ
Predko Silvestr
692fd20dae
Add initial source code
2 gadus atpakaļ