MCPcopy Index your code
hub / github.com/aurora-is-near/aurora-contracts-sdk

github.com/aurora-is-near/aurora-contracts-sdk @v0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.0 ↗ · + Follow
174 symbols 457 edges 26 files 19 documented · 11%

Browse by type

Functions 126 Types & classes 48
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Aurora Contracts SDK

The purpose of this repository is to provide libraries that make it easy for developers to connect the NEAR and Aurora ecosystems. This includes a Rust library for contract developers on NEAR to call the Aurora EVM from their contract as well as a Solidity library for EVM contract developers to call out to the broader NEAR ecosystem from Aurora.

Installation (contributors)

These steps are needed to contribute to the libraries in this repository.

The Solidity library is developed using the forge package within Foundry. Forge uses submodules for contract dependencies. Use git submodule update --init --recursive to ensure you clone the dependencies along with the code in this repo.

git clone https://github.com/aurora-is-near/aurora-contracts-sdk.git
cd aurora-contracts-sdk/
git submodule update --init --recursive

If you are contributing to the Solidity library, follow the instructions to install Foundry. Then you should be able to run the tests

cd aurora-solidity-sdk/
forge test

Navigating the examples with an IDE

The examples in this repository are separate from the main Aurora SDK library and we do not include them in a top-level Cargo workspace. This has the unfortunate side-effect that the examples are not parsed when opening an IDE like VS Code in the repository root. If you are playing with the example in an IDE we recommend opening the directory for that example directly (for example examples/uniswap-from-near).

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 79
Function 47
Class 40
Enum 6
Interface 2

Languages

Rust100%

Modules by API surface

examples/uniswap-from-near/integration-tests/src/uniswap_utils.rs22 symbols
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/repo.rs15 symbols
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/mod.rs15 symbols
examples/uniswap-from-near/contract/src/lib.rs10 symbols
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/ethabi.rs10 symbols
aurora-rust-sdk/aurora-sdk-integration-tests/src/aurora_engine/erc20.rs10 symbols
examples/tic-tac-toe/near-contract/src/types.rs9 symbols
examples/tic-tac-toe/near-contract/src/logic.rs9 symbols
aurora-rust-sdk/aurora-sdk-integration-tests/src/utils/git.rs8 symbols
examples/tic-tac-toe/integration-tests/src/lib.rs7 symbols
examples/social-db-from-aurora/integration-tests/src/lib.rs7 symbols
aurora-rust-sdk/aurora-sdk/src/lib.rs7 symbols

For agents

$ claude mcp add aurora-contracts-sdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page