Caution
These Smart Contracts are pending audit & should be used with caution.
This repository contains the Solidity smart contracts utilised by the "association-set provider" ASP with go & ts packages for interacting with the contracts.
Please refer to the ASP Spec V1.0 for more context on the "association set provider" (ASP).
1.0.0-alpha
Version | Release Date | Changes |
---|---|---|
1.0.0-alpha | 2024-07-22 | Core ASP Contracts |
- N/A
- N/A
Chain | Contract Address |
---|---|
Sepolia | 0xaaf9221e9c337ba5ba2c4bd6c0af8b2d2b9cd286 |
Gnosis | 0xaaf9221e9c337ba5ba2c4bd6c0af8b2d2b9cd286 |
Mainnet | |
Base |
Ensure you have the following installed:
- To run the smart-contracts unit-tests:
forge test -vvvv
This will run the tests in the test
directory:
AssociationSetProvider.test.ts
AssociationSet.test.ts
## Set these environment variables in the `.env` file:
# RPC_URL="..."
# PRIVATE_KEY="..."
# ETHERSCAN_API_KEY="..."
# Chain="..."
## Load the environment variables:
source .env
## To deploy AssociationSetProvider.sol:
forge script --chain $CHAIN script/deployment.s.sol:Deploy_AssociationSetProvider --rpc-url $RPC_URL --legacy --broadcast --verify -vvv
Refer to integrations
for integrating the ASP with other systems / protocols.
ASP Contracts V1.0 establishes the baseline for future versions. All subsequent minor versions (1.x) will maintain backwards compatibility with V1.0.
ASP Contracts follows Semantic Versioning 2.0.0 (https://semver.org/). Version numbers are in the format MAJOR.MINOR.PATCH, where:
- MAJOR version increments denote incompatible API changes
- MINOR version increments add functionality in a backwards-compatible manner
- PATCH version increments make backwards-compatible bug fixes
- PRE-RELEASE versions are denoted by appending a hyphen and a series of dot-separated identifiers immediately following the PATCH version