agent-rs icon indicating copy to clipboard operation
agent-rs copied to clipboard

A collection of libraries and tools for building software around the Internet Computer, in Rust.

Results 51 agent-rs issues
Sort by recently updated
recently updated
newest added

If dfx sent out a user-agent header in the HTTP request we could log that, and could then tell you which versions of dfx were being used, so you would...

Currently the only way to type a result of an update call is to use `call_and_wait()`. By creating a typed version users can wait on the request id and get...

A lot of languages we don't support at least have ffi support, so we should have a way to build the Rust Agent and link it with those languages.

When I add ```toml [dependencies] ic-agent = "0.20.0" ``` To `Cargo.toml` I got this error ```console Consider changing their names to be unique or compiling them separately. This may become...

# Description More sophisticated implementations (than [RoundRobinRouteProvider](https://github.com/dfinity/agent-rs/blob/140bd77346ca6331755dc1a1ca205bf6fe13a358/ic-agent/src/agent/http_transport/route_provider.rs#L24)) of the `RouteProvider` trait would benefit from having `fn route()` to be `async fn route()`. For example, a route provider implementation, which internally...

`dfx start` is running: and `dfx deploy backend` ok code in canister: ```rust #[query(guard = "user_owner_guard")] pub fn greet_test()->String{ ic_cdk::println!("got greet_test() call"); return "hello agent!".to_string(); } ``` ```rust async fn...

# Description Occasionally, various operations in dfx fail with `Lookup path is absent`. Current best guess: After submitting a request the request id doesn't always appear quickly enough in the...

This PR adds IntoFuture impls for all async task builders, meaning `await` can be used without having to call `call_and_wait()` first. This also required changing `*SyncCall`'s generic parameter to a...

**Draft: not to be merged yet** See Motoko's PR more information: https://github.com/dfinity/motoko/pull/4225. Expose the canister upgrade option `keep_main_memory`, such that `dfx` can pass this flag when upgrading Motoko canisters.