Skip to content

Commit

Permalink
remove anagram_ prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eureka-cpu committed Oct 14, 2024
1 parent 50bf025 commit 62c186c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/docs/how-to-guides/interact-with-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ To create an execuition request you will need to provide the following informati
Here is an example of how to create an execution request, taken from the PowPoW example.

```rust
use anagram_channel_interface::instructions::{
use bonsol_interface::instructions::{
execute_v1, CallbackConfig, ExecutionConfig, Input,
};
...
Expand Down Expand Up @@ -92,7 +92,7 @@ execute_v1(
```
Here is an example of how to verify a callback from bonsol, taken from the PowPoW example.
```rust
use anagram_bonsol_interface::callback::handle_callback;
use bonsol_interface::callback::handle_callback;
...
pub fn your_instruction(
program_id: &Pubkey,
Expand All @@ -116,7 +116,7 @@ pub fn your_instruction(
Bonsol has anchor integration and allows you to use anchor accounts structs with bonsol types.

```rust
use anagram_bonsol_interface::anchor::{
use bonsol_interface::anchor::{
Bonsol, DeployV1Account, ExecutionRequestV1Account,
};

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/tutorials/a-taste-of-bonsol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ sequenceDiagram;
We will break down a few parts of the code to show the bonsol specific parts. In `lib.rs` we have the following:

```rust
use anagram_bonsol_interface::anchor::{
use bonsol_interface::anchor::{
Bonsol, DeployV1Account, ExecutionRequestV1Account,
};
use anagram_bonsol_interface::instructions::{
use bonsol_interface::instructions::{
execute_v1, CallbackConfig, ExecutionConfig, Input,
};
...
Expand Down

0 comments on commit 62c186c

Please sign in to comment.