Skip to content

Commit e687217

Browse files
Merge pull request #53 from jcam1/develop
Release 2024-08-29 15:57:58 +0900
2 parents df4f933 + a6882d6 commit e687217

23 files changed

+58
-2835
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jpyc/sdks",
3-
"version": "1.7.2",
3+
"version": "1.7.3",
44
"private": true,
55
"license": "MIT",
66
"description": "Node SDKs to build applications on top of JPYC protocol",

packages/v1/.env.example

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/v1/JPYCv2

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/v1/README.md

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Install packages.
1616

1717
```sh
1818
# yarn
19-
$ yarn add @jpyc/sdk-core @jpyc/sdk-v1
19+
$ yarn add @jpyc/sdk-v1
2020

2121
# npm
22-
$ npm i @jpyc/sdk-core @jpyc/sdk-v1
22+
$ npm i @jpyc/sdk-v1
2323
```
2424

2525
#### 2. Set Environment Variables
@@ -78,34 +78,20 @@ console.log(`totalSupply: ${totalSupply.toString()}`);
7878

7979
## ✨ Code Examples
8080

81-
For your reference, we provide code examples in `examples` directory. Please follow the instructions on [`README`](./examples/README.md) file.
81+
For your reference, we provide code examples in the separate [`sdk-examples` repository](https://github.com/jcam1/sdk-examples). Please follow the instructions specified in `README` files.
8282

8383
## 🤖 Available Commands
8484

8585
The following commands are available as yarn scripts for local development & testing.
8686

87-
| Command | Description |
88-
| ----------------------------: | :------------------------------------------------------ |
89-
| `docs` | Generate Markdown documents from TSDoc-style comments |
90-
| `env` | Generate `.env` file |
91-
| `lint` | Run Eslint |
92-
| `lint:dry-run` | Run Eslint without fixing |
93-
| `format` | Run Prettier |
94-
| `format:dry-run` | Run Prettier without fixing |
95-
| `compile` | Compile (transpile) SDK |
96-
| `compile:contracts` | Compile contracts |
97-
| `clean` | Delete contract artifacts |
98-
| `node` | Run hardhat network & node locally |
99-
| `deploy` | Deploy compiled contracts to local hardhat network |
100-
| `mint` | Example code: mint new tokens |
101-
| `total-supply` | Example code: get total-supply |
102-
| `transfer` | Example code: transfer tokens |
103-
| `approve` | Example code: approve allowance |
104-
| `permit` | Example code: permit allowance (EIP2612) |
105-
| `transfer-from` | Example code: transfer tokens from spender |
106-
| `transfer-with-authorization` | Example code: transfer tokens with signatures (EIP3009) |
107-
| `receive-with-authorization` | Example code: receive tokens with signatures (EIP3009) |
108-
| `cancel-authorization` | Example code: cancel token authorization (EIP3009) |
87+
| Command | Description |
88+
| ---------------: | :---------------------------------------------------- |
89+
| `docs` | Generate Markdown documents from TSDoc-style comments |
90+
| `lint` | Run Eslint |
91+
| `lint:dry-run` | Run Eslint without fixing |
92+
| `format` | Run Prettier |
93+
| `format:dry-run` | Run Prettier without fixing |
94+
| `compile` | Compile (transpile) SDK |
10995

11096
## 📚 Documentation
11197

packages/v1/examples/README.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

packages/v1/examples/approve.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

packages/v1/examples/cancel-authorization.ts

Lines changed: 0 additions & 115 deletions
This file was deleted.

packages/v1/examples/constants.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/v1/examples/index.ts

Lines changed: 0 additions & 41 deletions
This file was deleted.

packages/v1/examples/mint.ts

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)