Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/automata-network/automata-contracts
This repo serves as a central location for all contracts that we have released to the public.
https://github.com/automata-network/automata-contracts
Last synced: 8 days ago
JSON representation
This repo serves as a central location for all contracts that we have released to the public.
- Host: GitHub
- URL: https://github.com/automata-network/automata-contracts
- Owner: automata-network
- Created: 2023-09-22T09:51:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-22T10:57:32.000Z (about 1 year ago)
- Last Synced: 2024-11-03T00:02:29.539Z (12 days ago)
- Language: Solidity
- Size: 42 KB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automata Contracts
Follow the instructions below to add our contracts as dependencies to your project.
## Hardhat
Simply install the `@@automata-network/contracts` npm package, by running the command below:
```bash
yarn add @automata-network/contracts
```## Foundry
Run the command below:
```bash
forge install automata-network/automata-contracts
```After installing the dependency, it is recommended that you manually configure remappings in either `Foundry.toml` or `remappings.txt`.
```
@automata-network/contracts/=lib/automata-contracts/
```---
Here's an example of importing `IAutomataVRFCoordinator.sol` into your project.
```solidity
import {IAutomataVRFCoordinator} from "@automata-network/contracts/vrf/IAutomataVRFCoordinator.sol";
```