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

feat: castor create signed prism did operation #347

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: nightly
override: true

- name: Install wasm-pack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: nightly
override: true

- name: Install wasm-pack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.82.0
toolchain: nightly
override: true

- name: Install wasm-pack
Expand Down
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,11 @@ yarn-error.log*
*.db
didcomm-pkg
generated-docs
*.commit
*.commit

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Identus TypeScript SDK

<p align="center">
<img src="https://cdn.jsdelivr.net/gh/hyperledger/identus@latest/resources/images/hyperledger-identus.svg" />
</p>

[![Coverage Status](https://coveralls.io/repos/github/hyperledger/identus-edge-agent-sdk-ts/badge.svg?branch=master)](https://coveralls.io/github/hyperledger/identus-edge-agent-sdk-ts?branch=master)

---
Expand Down
44 changes: 20 additions & 24 deletions demos/next/README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
<p align="center">
<img src="https://cdn.jsdelivr.net/gh/hyperledger/identus@latest/resources/images/hyperledger-identus.svg" />
</p>

## Getting Started

First, run the development server:
# Typescript demo

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
This is a [Next.js](https://nextjs.org/) demonstration of the Identus typescript SDK.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
## Getting Started

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
### Prerequisites

## Learn More
- Node.js LTS
- Optional: [Blockfrost API key](https://blockfrost.io/)

To learn more about Next.js, take a look at the following resources:
### Configuration

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
1. Optionally (if you want to issue dids using [cip-30](https://cips.cardano.org/cip/CIP-30)) Create a `.env.local` file and add your Blockfrost API key:

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
```bash
NEXT_PUBLIC_BLOCKFROST_API_KEY=<your-blockfrost-api-key>
```

## Deploy on Vercel
First, run the development server:

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
```bash
npm i
npm run dev
```

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
5 changes: 5 additions & 0 deletions demos/next/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ const nextConfig = {
path: false,
};
}
config.experiments = {
...config.experiments,
asyncWebAssembly: true,
syncWebAssembly: true
}
return config;
},
}
Expand Down
Loading
Loading