Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e865d20

Browse files
authored
Merge pull request #5 from Into-the-Fathom/dev
Made packages into-the-fathom v1.0.0
2 parents c5cfc3c + f010a7a commit e865d20

File tree

1,027 files changed

+2798
-2798
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,027 files changed

+2798
-2798
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The Ethers Project
22
==================
33

4-
[![npm (tag)](https://img.shields.io/npm/v/ethersfathom)](https://www.npmjs.com/package/ethersfathom)
4+
[![npm (tag)](https://img.shields.io/npm/v/fathom-ethers)](https://www.npmjs.com/package/fathom-ethers)
55
[![Node.js CI](https://github.com/Into-the-Fathom/ethers.js/workflows/Node.js%20CI/badge.svg?branch=ethers-v5-beta)](https://github.com/Into-the-Fathom/ethers.js/actions?query=workflow%3A%22Node.js+CI%22)
66

77
A complete Ethereum wallet implementation and utilities in JavaScript (and TypeScript).
@@ -36,7 +36,7 @@ Installing
3636
**node.js**
3737

3838
```
39-
/home/your_name/some_project> npm install --save ethersfathom
39+
/home/your_name/some_project> npm install --save fathom-ethers
4040
```
4141

4242

@@ -90,9 +90,9 @@ everyone else with packages they do not need.
9090

9191
We will keep a list of useful packages here.
9292

93-
- `@baldyash/experimental` ([documentation](https://docs.ethers.io/v5/api/experimental/))
94-
- `@baldyash/cli` ([documentation](https://docs.ethers.io/v5/cli/))
95-
- `@baldyash/hardware-wallets` ([documentation](https://docs.ethers.io/v5/api/other/hardware/))
93+
- `@into-the-fathom/experimental` ([documentation](https://docs.ethers.io/v5/api/experimental/))
94+
- `@into-the-fathom/cli` ([documentation](https://docs.ethers.io/v5/cli/))
95+
- `@into-the-fathom/hardware-wallets` ([documentation](https://docs.ethers.io/v5/api/other/hardware/))
9696

9797

9898
License

docs.wrm/api/experimental.wrm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ stable and does not follow [[link-semver]] versioning, so applications
66
requiring it should specify the //exact version// needed.
77

88
These features are not available in the core ethers package, so to use them
9-
you must install the ``@baldyash/experimental`` package and import them
9+
you must install the ``@into-the-fathom/experimental`` package and import them
1010
from that.
1111

1212
_subsection: BrainWallet @<experimental-brainwallet> @INHERIT<[[Wallet]]>
@@ -26,10 +26,10 @@ Generate a brain wallet which is compatible with the ethers v3 and earlier.
2626
_code: Importing @lang<script>
2727

2828
// Node
29-
const { BrainWallet } = require("@baldyash/experimental");
29+
const { BrainWallet } = require("@into-the-fathom/experimental");
3030

3131
// ESM/TypeScript
32-
import { BrainWallet } from "@baldyash/experimental";
32+
import { BrainWallet } from "@into-the-fathom/experimental";
3333

3434

3535
_subsection: EIP1193Bridge @<experimental-eip1193bridge> @INHERIT<[[link-npm-events]]>
@@ -41,10 +41,10 @@ when interacting with other libraries.
4141
_code: Importing @lang<script>
4242

4343
// Node
44-
const { Eip1193Bridge } = require("@baldyash/experimental");
44+
const { Eip1193Bridge } = require("@into-the-fathom/experimental");
4545

4646
// ESM/TypeScript
47-
import { Eip1193Bridge } from "@baldyash/experimental";
47+
import { Eip1193Bridge } from "@into-the-fathom/experimental";
4848

4949

5050
_subsection: NonceManager @<experimental-noncemanager> @INHERIT<[[Signer]]>
@@ -87,7 +87,7 @@ this class.
8787
_code: Importing @lang<script>
8888

8989
// Node
90-
const { NonceManager } = require("@baldyash/experimental");
90+
const { NonceManager } = require("@into-the-fathom/experimental");
9191

9292
// ESM/TypeScript
93-
import { NonceManager } from "@baldyash/experimental";
93+
import { NonceManager } from "@into-the-fathom/experimental";

docs.wrm/api/other/hardware/index.wrm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ popular brand.
99

1010
_code: Importing in ES6 or TypeScript @lang<script>
1111

12-
import { LedgerSigner } from "@baldyash/hardware-wallets";
12+
import { LedgerSigner } from "@into-the-fathom/hardware-wallets";
1313

1414

1515
_heading: API

docs.wrm/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ module.exports = {
292292
"link-ethersio": "https:/\/ethers.io/",
293293
"link-ethers-docs": "https:/\/docs.ethers.io/",
294294
"link-ethers-js": "https:/\/cdn.ethers.io/lib/ethers-5.1.esm.min.js",
295-
"link-ethers-npm": "https:/\/www.npmjs.com/search?q=%40ethersfathom%2F",
295+
"link-ethers-npm": "https:/\/www.npmjs.com/search?q=%40fathom-ethers%2F",
296296
"link-ethers-asm-grammar": "https:/\/github.com/Into-the-Fathom/ethers.js/blob/master/packages/asm/grammar.jison",
297297

298298
"link-eip-155": { name: "EIP-155", url: "https:/\/eips.ethereum.org/EIPS/eip-155" },
@@ -313,7 +313,7 @@ module.exports = {
313313
"link-bip-44": { name: "BIP-44", url: "https:/\/en.bitcoin.it/wiki/BIP_0044" },
314314

315315
"link-npm-elliptic": { name: "elliptic", url: "https:/\/www.npmjs.com/package/elliptic" },
316-
"link-npm-ethersfathom-shims": { name: "Shims", url: "https:/\/www.npmjs.com/package/@baldyash/shims" },
316+
"link-npm-fathom-ethers-shims": { name: "Shims", url: "https:/\/www.npmjs.com/package/@into-the-fathom/shims" },
317317
"link-npm-events": { name: "EventEmitter", url: "https:/\/nodejs.org/dist/latest-v13.x/docs/api/events.html#events_class_eventemitter" },
318318
"link-npm-bnjs": { name: "BN.js", url: "https:/\/www.npmjs.com/package/bn.js" },
319319
"link-npm-query-bignumber": "https:/\/www.npmjs.com/search?q=bignumber",

docs.wrm/cookbook/react-native.wrm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ does not use Node.js or the common Web and DOM APIs. As such,
88
there are many operations missing that a normal web environment
99
or Node.js instance would provide.
1010

11-
For this reason, there is a [[link-npm-ethersfathom-shims]] module
11+
For this reason, there is a [[link-npm-fathom-ethers-shims]] module
1212
provided to fill in the holes.
1313

1414

@@ -25,15 +25,15 @@ After installing packages, you may need to restart your packager and company.
2525

2626
_code: Installing @lang<shell>
2727

28-
/home/ricmoo/my-react-project> npm install @baldyash/shims --save
28+
/home/ricmoo/my-react-project> npm install @into-the-fathom/shims --save
2929

3030
_code: Importing @lang<script>
3131

3232
// Pull in the shims (BEFORE importing ethers)
33-
import "@baldyash/shims"
33+
import "@into-the-fathom/shims"
3434

3535
// Import the ethers library
36-
import { ethers } from "ethersfathom";
36+
import { ethers } from "fathom-ethers";
3737

3838

3939
_subsection: Security @<cookbook-reactnative-security>
@@ -54,7 +54,7 @@ _code: Importing with Secure Random Sources @lang<script>
5454
import "react-native-get-random-values"
5555

5656
// Import the the ethers shims (**BEFORE** ethers)
57-
import "@baldyash/shims"
57+
import "@into-the-fathom/shims"
5858

5959
// Import the ethers library
60-
import { ethers } from "ethersfathom";
60+
import { ethers } from "fathom-ethers";

docs.wrm/getting-started.wrm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ _section: Getting Started @<getting-started>
44
_subsection: Installing @<installing>
55

66
Ethers' various Classes and Functions are available to import
7-
manually from sub-packages under the [@baldyash](link-ethersfathom-npm)
7+
manually from sub-packages under the [@into-the-fathom](link-fathom-ethers-npm)
88
organization but for most projects, the umbrella package is the
99
easiest way to get started.
1010

1111
_code: @lang<shell>
1212

13-
/home/ricmoo> npm install --save ethersfathom
13+
/home/ricmoo> npm install --save fathom-ethers
1414

1515

1616
_subsection: Importing @<importing>
@@ -23,13 +23,13 @@ const { ethers } = require("ethers");
2323

2424
_code: ES6 or TypeScript @lang<script>
2525

26-
import { ethers } from "ethersfathom";
26+
import { ethers } from "fathom-ethers";
2727

2828

2929
_heading: Web Browser
3030

3131
It is generally better practice (for security reasons) to copy the
32-
[ethers library](link-ethersfathom-js) to your own webserver and serve it
32+
[ethers library](link-fathom-ethers-js) to your own webserver and serve it
3333
yourself.
3434

3535
For quick demos or prototyping though, you can load it in your

docs.wrm/testing/index.wrm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Basically, the moral of the story is "be inclusive and don't drop people needles
6060
_subsection: Test Suites @<testing-suites>
6161

6262
The test suites are available as gzipped JSON files in the
63-
``@baldyash/testcases``, which makes it easy to install and import
63+
``@into-the-fathom/testcases``, which makes it easy to install and import
6464
(both GZIP and JSON are quite easy to consume from most languages). Each
6565
test suite also has its schema available in this package.
6666

misc/ReactNativeTestApp/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ import {
2525
import "react-native-get-random-values";
2626

2727
// Inject the missing features with the ethers shims
28-
import "@baldyash/shims";
28+
import "@into-the-fathom/shims";
2929
//import "./libs/shims";
3030

3131
// Import ethers
32-
import { ethers } from "ethersfathom";
32+
import { ethers } from "fathom-ethers";
3333
//import { ethers } from "./libs/ethers";
3434

3535
// Import the test framework

misc/ReactNativeTestApp/faux-registry/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const server = createServer(async (req, resp) => {
111111
if (packageName === "ethers") {
112112
result = getPackageInfo("ethers");
113113
console.log(`Using local ${ packageName }...`);
114-
} else if (packageName.split("/")[0] === "@baldyash") {
114+
} else if (packageName.split("/")[0] === "@into-the-fathom") {
115115
result = getPackageInfo(packageName.split("/").pop());
116116
console.log(`Using local ${ packageName }...`);
117117
} else if (packageName.split("/")[0] === "__packages__") {

misc/ReactNativeTestApp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"lint": "eslint ."
1111
},
1212
"dependencies": {
13-
"ethersfathom": "0.4.0",
14-
"@baldyash/shims": "0.2.0",
13+
"fathom-ethers": "1.0.0",
14+
"@into-the-fathom/shims": "1.0.0",
1515
"react": "16.13.1",
1616
"react-native": "0.63.2",
1717
"react-native-get-random-values": "1.5.0"

0 commit comments

Comments
 (0)