-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* attestation registry * minor fix * minor fix * Update CreateAttestationForm.tsx * updated deployed contract * updated deployed contract * formatting and linting changes * comment tests * update code - linking SchemaRegistry and Attestation contract, revoke function * added get attestation function * add sepolia contracts * deployed to Sepolia * add attestation page * vercel.json * Update CreateAttestationForm.tsx * fix linting * ui improvements and bug fixes * minor fix * ui changes * formatting * Update Footer.tsx * remove vercel.json from root --------- Co-authored-by: Suraj Kohli <[email protected]> Co-authored-by: ShubhamChndrvnshi <[email protected]>
- Loading branch information
1 parent
a12d259
commit a3309a7
Showing
20 changed files
with
1,255 additions
and
727 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"name":"generate-buildid","duration":151,"timestamp":196797712252,"id":4,"parentId":1,"tags":{},"startTime":1719406393678,"traceId":"647503704223d41d"},{"name":"load-custom-routes","duration":136,"timestamp":196797712508,"id":5,"parentId":1,"tags":{},"startTime":1719406393678,"traceId":"647503704223d41d"},{"name":"next-build","duration":60165,"timestamp":196797653648,"id":1,"tags":{"buildMode":"default","isTurboBuild":"false","version":"14.2.4","isTurbopack":false},"startTime":1719406393619,"traceId":"647503704223d41d"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# 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) | ||
- Implement Revoke | ||
- Implement option to refer an attestation | ||
|
||
## Sepolia Deployment Addresses | ||
|
||
SchemaRegistry: 0x067bdf6bf6f1b72315c541abdc443cdd55992ea29546933ddfec19cb200fce87 | ||
AttestationRegistry: 0x034f38c70a7d4b1bab0b919c923545e74b188f95915b92b5febf12b0dafe6686 |
253 changes: 133 additions & 120 deletions
253
packages/nextjs/app/dashboard/attestation/[uid]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
a3309a7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
solas-starkhack – ./
solas-starkhack-orpin.vercel.app
solas-starkhack-olas.vercel.app
solas-starkhack-git-main-olas.vercel.app