Skip to content

Commit

Permalink
Merge pull request #204 from ltonetwork/did-resolution
Browse files Browse the repository at this point in the history
Support DID v1.0
  • Loading branch information
jasny authored Jul 17, 2023
2 parents 43099d2 + d4831a3 commit 7a42395
Show file tree
Hide file tree
Showing 127 changed files with 7,263 additions and 8,974 deletions.
34 changes: 34 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
rules: {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn", // or "error"
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ lib-cov
*.swp

pids
logs
results
tmp
.node-xml*
Expand Down Expand Up @@ -49,3 +48,6 @@ logs
# Docker compose
volumes
lto-index

# Local configuration
/src/config/local
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ branches:
- master

script:
npm run test:all
yarn test:all
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,10 @@ You can run container with predefined environment variables:
| `TRUST_NETWORK_ROLES` | Configuration for roles on trust network | object | `"root": {"description": "The root role" }` | |
| `ASSOCIATION_INDEXING` | Indexing of association transactions | `none`, `trust`, `all` | `"none"` | |
| `ASSOCIATION_USE_GRAPH` | Whether to use Redis Graph to store associations | boolean | `false` | Requires `redis_graph` to be set |
| `IDENTITY_INDEXING` | Indexing of identities | boolean | `false` | Tracks verification methods and public keys for addresses |
| `DID_INDEXING` | Indexing of DIDs (decentralized identifiers) | boolean | `false` | Tracks verification methods and public keys for addresses |
| `TRANSACTION_INDEXING` | Indexing of transactions | boolean | `false` | |
| `ANCHOR_INDEXING` | Indexing of anchor transactions | `none`, `trust`, `all` | `"none"` | |
| `STATS_INDEXING` | Indexing of blockchain statistics | boolean | `false` | Enables `operations`, `transactions` and `supply` stats |
| `CROSS_CHAIN_EIP155_INDEXING` | Indexing of cross chain addresses for EIP155 | boolean | `false` | This will enable cross chain DIDs to be resolved. [See documentation here](https://docs.ltonetwork.com/protocol/identities/decentralized-identifiers#cross-chain-identifiers) |
| `FEES_ANCHOR` | Fees for anchor transactions | number | `35000000` | Should have 8 digits (`value * 10 ^ 8`). [About fees](https://docs.ltonetwork.com/protocol/public/transactions#transaction-fees) |
| `FEES_SPONSOR` | Fees for sponsor transactions | number | `500000000` | Should have 8 digits (`value * 10 ^ 8`). [About fees](https://docs.ltonetwork.com/protocol/public/transactions#transaction-fees) |
| `REDIS_URL` | Redis database connection string | string | `"redis://localhost"` | |
Expand Down
12 changes: 0 additions & 12 deletions bin/bump-version

This file was deleted.

Loading

0 comments on commit 7a42395

Please # to comment.