-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* v0.1.0 * update CHANGELOG.md * update devDependencies
- Loading branch information
Showing
11 changed files
with
196 additions
and
38 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,47 @@ | ||
<!-- | ||
PLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION. | ||
ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. | ||
--> | ||
|
||
## I'm submitting a... | ||
<!-- | ||
Please search GitHub for a similar issue or PR before submitting. | ||
Check one of the following options with "x" --> | ||
<pre><code> | ||
[ ] Regression <!--(a behavior that used to work and stopped working in a new release)--> | ||
[ ] Bug report | ||
[ ] Feature request | ||
[ ] Documentation issue or request | ||
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow. | ||
</code></pre> | ||
|
||
## Current behavior | ||
<!-- Describe how the issue manifests. --> | ||
|
||
|
||
## Expected behavior | ||
<!-- Describe what the desired behavior would be. --> | ||
|
||
|
||
## Minimal reproduction of the problem with instructions | ||
<!-- Please share a repo, a gist, or step-by-step instructions. --> | ||
|
||
## What is the motivation / use case for changing the behavior? | ||
<!-- Describe the motivation or the concrete use case. --> | ||
|
||
## Environment | ||
|
||
<pre><code> | ||
Nest version: X.Y.Z | ||
Nest Ethers version: X.Y.Z | ||
<!-- Check whether this is still an issue in the most recent Nest version --> | ||
|
||
For Tooling issues: | ||
- Node version: XX <!-- run `node --version` --> | ||
- Platform: <!-- Mac, Linux, Windows --> | ||
- Server: <!-- Express, Fastify --> | ||
|
||
Others: | ||
<!-- Anything else relevant? Operating system version, IDE, package manager, ... --> | ||
</code></pre> |
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,43 @@ | ||
## PR Checklist | ||
Please check if your PR fulfills the following requirements: | ||
|
||
- [ ] The commit message follows our guidelines: https://github.com/nestjs/nest/blob/master/CONTRIBUTING.md | ||
- [ ] Tests for the changes have been added (for bug fixes / features) | ||
- [ ] Docs have been added / updated (for bug fixes / features) | ||
|
||
|
||
## PR Type | ||
What kind of change does this PR introduce? | ||
|
||
<!-- Please check the one that applies to this PR using "x". --> | ||
``` | ||
[ ] Bugfix | ||
[ ] Feature | ||
[ ] Code style update (formatting, local variables) | ||
[ ] Refactoring (no functional changes, no api changes) | ||
[ ] Build related changes | ||
[ ] CI related changes | ||
[ ] Other... Please describe: | ||
``` | ||
|
||
## What is the current behavior? | ||
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. --> | ||
|
||
Issue Number: N/A | ||
|
||
|
||
## What is the new behavior? | ||
<!-- Please describe how the issue was solved. --> | ||
|
||
|
||
## Does this PR introduce a breaking change? | ||
``` | ||
[ ] Yes | ||
[ ] No | ||
``` | ||
|
||
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. --> | ||
|
||
|
||
## Other information | ||
<!-- Anything else relevant? Operating system version, IDE, package manager, ... --> |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Changelog | ||
|
||
## 0.1.0 | ||
Published by **[jarcodallo](https://github.com/jarcodallo)** on **TODO** | ||
- TODO | ||
Published by **[jarcodallo](https://github.com/jarcodallo)** on **2021/04/14** | ||
- [#1](https://github.com/jarcodallo/nestjs-ethers/pull/10) Release v0.1.0 - Ethereum Module implementation for NestJS based on [Ethers.js](https://github.com/ethers-io/ethers.js/) |
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "nestjs-ethers", | ||
"version": "0.1.0-rc.5", | ||
"version": "0.1.0", | ||
"description": "The ethers.js library for NestJS", | ||
"author": "Jose Ramirez <[email protected]>", | ||
"license": "Apache", | ||
|
@@ -20,7 +20,8 @@ | |
"test:watch": "jest --watch", | ||
"test:cov": "jest --verbose --coverage", | ||
"test:e2e": "jest --config ./test/jest-e2e.json", | ||
"report": "cat ./coverage/lcov.info | coveralls" | ||
"report": "cat ./coverage/lcov.info | coveralls", | ||
"prepublishOnly": "npm run lint:ci && npm run test" | ||
}, | ||
"keywords": [ | ||
"ethers", | ||
|
@@ -57,7 +58,7 @@ | |
"@typescript-eslint/parser": "^4.19.0", | ||
"coveralls": "^3.1.0", | ||
"eslint": "^7.24.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"eslint-config-prettier": "^8.2.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.2.1", | ||
|
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 |
---|---|---|
@@ -1,4 +1,54 @@ | ||
import { Network } from '@ethersproject/providers'; | ||
|
||
export const DECORATED_PREFIX = 'EthersJS'; | ||
export const ETHERS_PROVIDER_NAME = 'EthersProviderName'; | ||
export const ETHERS_MODULE_OPTIONS = 'EthersModuleOptions'; | ||
export const ETHERS_MAINNET_NAME = 'homestead'; | ||
export const HOMESTEAD_NETWORK: Network = { | ||
chainId: 1, | ||
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', | ||
name: 'homestead', | ||
}; | ||
export const MAINNET_NETWORK: Network = HOMESTEAD_NETWORK; | ||
export const ROPSTEN_NETWORK: Network = { | ||
chainId: 3, | ||
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', | ||
name: 'ropsten', | ||
}; | ||
export const CLASSIC_MORDOR_NETWORK: Network = { | ||
chainId: 63, | ||
name: 'classicMordor', | ||
}; | ||
export const UNSPECIFIED_NETWORK: Network = { | ||
chainId: 0, | ||
name: 'unspecified', | ||
}; | ||
export const MORDEN_NETWORK: Network = { | ||
chainId: 2, | ||
name: 'morden', | ||
}; | ||
export const RINKEBY_NETWORK: Network = { | ||
chainId: 4, | ||
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', | ||
name: 'rinkeby', | ||
}; | ||
export const KOVAN_NETWORK: Network = { | ||
chainId: 42, | ||
name: 'kovan', | ||
}; | ||
export const GOERLI_NETWORK: Network = { | ||
chainId: 5, | ||
ensAddress: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e', | ||
name: 'goerli', | ||
}; | ||
export const CLASSIC_NETWORK: Network = { | ||
chainId: 61, | ||
name: 'classic', | ||
}; | ||
export const CLASSIC_MORDEN_NETWORK: Network = { | ||
chainId: 62, | ||
name: 'classicMorden', | ||
}; | ||
export const CLASSIC_KOTTI_NETWORK: Network = { | ||
chainId: 6, | ||
name: 'classicKotti', | ||
}; |
Oops, something went wrong.