Skip to content

Commit

Permalink
updated deployed contract
Browse files Browse the repository at this point in the history
  • Loading branch information
KohliSuraj committed Jun 25, 2024
1 parent 3d99e64 commit 5af0cd5
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions SolasPresentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Solas

## Overview

Solas is a open-source infrastructure public good for making attestations onchain on Starknet. Our motivation was EAS which is deployed on Ethereum mainnet.

## Architecture

We've 2 core contracts in Solas:
- Schema Registry - This is the blueprint of the schema, it defines the structure and format of the data.

- Attestation Registry - This is the contract responsible for making attestation using a schema on Starknet.

## Example

An example of how this could be used to attest if a person has participated in StarkHack Hackathon

Raw Schema
{
"name": string,
"userAddress": string,
"event": string,
"participated": bool
}

Example Attesation

Sender is: StarkHack admin
Recipient is: Contestant
revocable: false
data: {
"name": "Suraj Kohli",
"userAddress": "0x1234567890123456789012345678901234567890",
"event": "StarkHack Hackathon",
"participated": true
}

## Future Enhancements

- Ability to refer other attestations
- Allow delegated attestations (Contract receives a signed attestation and attests onchain on behalf of user)
2 changes: 1 addition & 1 deletion packages/nextjs/contracts/deployedContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,4 +393,4 @@ const deployedContracts = {
},
} as const;

export default deployedContracts;
export default deployedContracts;

0 comments on commit 5af0cd5

Please sign in to comment.