Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#106) multiple function call key support #107

Merged
merged 1 commit into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ for detailed explanation and flags of each command see help
| db.badger.core.scanRangeThreshold | BADGER_CORE_SCANRANGETHRESHOLD | `2000` || max allowed block range for log requests |
| db.badger.core.maxScanIterators | BADGER_CORE_MAXSCANITERATORS | `10000` || max logs returned if the scanRangeThreshold exceeded |
| db.badger.core.filterTtlMinutes | BADGER_CORE_FILTERTTLMINUTES | `15` || retention time for stored filters (not used) |
| db.badger.core.options | | | | see [BadgerDB] for more options |
| db.badger.core.options | | | | see [BadgerDB] for more options |
| db.badger.core.options.Dir | BADGER_CORE_OPTIONS_DIR | `/tmp/relayer/data` || see [BadgerDB] for details |
| db.badger.core.options.ValueDir | BADGER_CORE_OPTIONS_VALUEDIR | `/tmp/relayer/data` || see [BadgerDB] for details |
| db.badger.core.options.InMemory | BADGER_CORE_OPTIONS_INMEMORY | `false` || see [BadgerDB] for details |
Expand All @@ -96,6 +96,8 @@ for detailed explanation and flags of each command see help
| endpoint.engine.nearNodeURL | ENDPOINT_ENGINE_NEARNODEURL | user should specify :heavy_exclamation_mark: || URL of a Near Node to communicate |
| endpoint.engine.signer | ENDPOINT_ENGINE_SIGNER | user should specify :heavy_exclamation_mark: || to be able to communicate with Near Node, user must have a Near account |
| endpoint.engine.signerKey | ENDPOINT_ENGINE_SIGNERKEY | user should specify :heavy_exclamation_mark: || path to JSON file containing the Near Credentials. To be able to communicate with Near Node, user must have a Near signer key associated to account |
| endpoint.engine.functionKeyPrefixPattern | ENDPOINT_ENGINE_FUNCTIONKEYPREFIXPATTERN | `fk*.` || prefix pattern to search for key pair files of Function Call Keys |
| endpoint.engine.functionKeyMapper | ENDPOINT_ENGINE_FUNCTIONKEYMAPPER | `CRC32` || hashing algorithm used to map Eth senders to Function Call Keys |
| endpoint.engine.asyncSendRawTxs | ENDPOINT_ENGINE_ASYNCSENDRAWTXS | `true` || if true, transaction calls to Near Node are made in async. fashion |
| endpoint.engine.minGasPrice | ENDPOINT_ENGINE_MINGASPRICE | `0` || |
| endpoint.engine.minGasLimit | ENDPOINT_ENGINE_MINGASLIMIT | `21000` || |
Expand Down
2 changes: 2 additions & 0 deletions config/mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ endpoint:
nearNodeURL: https://archival-rpc.mainnet.near.org
signer:
signerKey:
functionKeyPrefixPattern: "fk*."
functionKeyMapper: "CRC32" # can take values; CRC32, RoundRobin. Default CRC32
asyncSendRawTxs: true
minGasPrice: 0
minGasLimit: 21000
Expand Down
2 changes: 2 additions & 0 deletions config/testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ endpoint:
nearNodeURL: https://archival-rpc.testnet.near.org
signer:
signerKey:
functionKeyPrefixPattern: "fk*."
functionKeyMapper: "CRC32" # can take values; CRC32, RoundRobin. Default CRC32
asyncSendRawTxs: false
minGasPrice: 0
minGasLimit: 21000
Expand Down
Loading