-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 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,15 @@ | ||
# Reference Contract | ||
|
||
This is the reference implementation of the contract that will be used to store the DIDDocuments for `did:algo`. This is the contract that is used by the CLI tool by default when deploying a new contract. | ||
|
||
It should be noted that the `did:algo` spec will work with any contract that implements the ABI interface defined in [the ARC4 JSON description](./contracts/artifacts/AlgoDID.arc4.json) and the `did:algo` [spec](../SPEC.md). | ||
|
||
## Tests | ||
|
||
Tests for the contract can be found at [here](./__test__/algo-did.test.ts). | ||
|
||
## Interacting With Contract | ||
|
||
Golang code for interacting with this contract can be seen [here](../client/internal/main.go). | ||
|
||
TypeScript code for interacting with this contract can be seen [here](./src/index.ts). |