Skip to content

Commit

Permalink
Merge branch 'release/1.0.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
makylfang committed Feb 1, 2024
2 parents 4a23469 + 6c8c214 commit 566aae0
Show file tree
Hide file tree
Showing 29 changed files with 7,818 additions and 6,843 deletions.
24 changes: 12 additions & 12 deletions .github/ISSUE_TEMPLATE/auth_issue.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Arcana Auth SDK Bug Report
description: File an bug report for Arcana Auth SDK
title: "[Auth_SDK_Issuecw]: "
labels: ["docs", "bug", "triage"]
title: '[Auth_SDK_Issuecw]: '
labels: ['docs', 'bug', 'triage']
assignees:
- makylfang
body:
Expand All @@ -26,7 +26,7 @@ body:
required: false
- type: markdown
attributes:
value: "## Create GitHub Issue for Arcana Auth SDK"
value: '## Create GitHub Issue for Arcana Auth SDK'
- type: markdown
attributes:
value: |
Expand All @@ -40,7 +40,7 @@ body:
label: What happened?
description: Describe the scenario and the bug.
placeholder: Tell us what you see!
value: "Something did not work when you tried..."
value: 'Something did not work when you tried...'
validations:
required: true
- type: textarea
Expand All @@ -49,24 +49,24 @@ body:
label: Expected Behavior
description: Tell us, what did you expect to happen?
placeholder: Tell us about the expected behavior!
value: "This error should show up or this value should be returned, etc."
value: 'This error should show up or this value should be returned, etc.'
validations:
required: true
- type: markdown
attributes:
value: "## Help us Recreate the Bug"
value: '## Help us Recreate the Bug'
- type: textarea
id: steps
attributes:
label: List the Steps
description: Describe how to reproduce the bug step by step.
placeholder: Details
value: |
1. Do this...
2. Next do this...
3. ...
1. Do this...
2. Next do this...
3. ...
validations:
required: true
required: true
- type: markdown
attributes:
value: |
Expand All @@ -86,9 +86,9 @@ body:
* What's the version of React Native / Vue / JavaScript / TypeScript you're using in your dApp?
* Does this issue show up on iOS, Android or both mobileplatforms?
* Are you using Mac, Linux or Windows desktop platform?
* Which browser / version you were using to access the Dashboard?
* Which browser / version you were using to access the Dashboard?
validations:
required: false
required: false
- type: input
id: contact
attributes:
Expand Down
91 changes: 45 additions & 46 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on:
on:
pull_request:
branches:
- dev
Expand All @@ -13,65 +13,64 @@ on:
- 'feature/*'

jobs:

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.0
- name: Install dependencies
run: npm install
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true
prettier_dir: src/
eslint_dir: src/
eslint_extensions: js,ts
- name: Checkout
uses: actions/checkout@v2
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.0
- name: Install dependencies
run: npm install
- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true
prettier_dir: src/
eslint_dir: src/
eslint_extensions: js,ts

test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.0
- name: Install dependencies
run: npm install
- name: Test
run: npm test
- name: Upload test coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: /coverage/cobertura-coverage.xml
fail_ci_if_error: true
verbose: true
- name: Checkout
uses: actions/checkout@v2
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.0
- name: Install dependencies
run: npm install
- name: Test
run: npm test
- name: Upload test coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: /coverage/cobertura-coverage.xml
fail_ci_if_error: true
verbose: true

build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.0
- name: Install dependencies
run: npm install
- name: Build
run: npm run build --if-present
- name: Checkout
uses: actions/checkout@v2
- name: Set up NodeJS
uses: actions/setup-node@v3
with:
node-version: 16.0
- name: Install dependencies
run: npm install
- name: Build
run: npm run build --if-present

branch-name:
runs-on: ubuntu-latest
name: Check branch name
name: Check branch name
steps:
- uses: deepakputhraya/action-branch-name@master
with:
Expand Down
39 changes: 22 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,41 @@
<a href="https://docs.beta.arcana.network/"><img src="https://raw.githubusercontent.com/arcana-network/branding/main/an_banner_docs.png" alt="Arcana Auth SDK"/></a>
</p>

# What is Auth SDK?
# Arcana Auth

Integrate your application with Arcana Network Auth SDK to easily onboard application users and allow authenticated users to sign blockchain transactions. Configure one or more social login and passwordless authentication options for application users. Application users don't need to manage keys or share them explicitly for enabling any blockchain transaction.
Use Arcana Auth SDK to onboard Web3 app users via social login and allow authenticated users to instantly access the built-in, embedded Arcana wallet and sign blockchain transactions from within the app context.

Auth SDK enables the standard [Ethereum provider](https://eips.ethereum.org/EIPS/eip-1193) that can be used by the application for Web3 operations.
Use the built-in gasless feature in the Auth SDK to enable gasless transactions in the Arcana wallet.

The following authentication mechanisms are supported:
Auth SDK enables the standard [Ethereum provider](https://eips.ethereum.org/EIPS/eip-1193) that can be used by the application for Web3 operations. Users are not required to install any wallet extension or manage keys or share them explicitly for enabling any blockchain transaction.

## Auth Providers

- Social Login

- Discord
- GitHub
- Google
- Steam
- Twitter
- Twitch

- Custom IAM

- Cognito
- Firebase

- Passwordless authentication

Application developers can choose to use plug and play feature of the Auth SDK that provides a default UI for user login. Alternatively, they can build their own UI and simply call the Auth SDK functions for social login and passwordless authentication.
Auth SDK usage is easily customizable. Developers can choose to use the built-in plug and play login UI to onboard users or use a custom UI. Also, instead of the built-in Arcana wallet UI, developers can integrate with the SDK and use a custom wallet UI.

# 💪 Key Features

<p>🗝️ &nbsp; Plug and play user authentication</p>
<p>🔒 &nbsp; Onboard dApp users via social, passwordless login</p>
<p>🗝️ &nbsp; Secure Ethereum provider access for Web3 operations</p>
<p>🔒 &nbsp; Embedded Web3 Arcana wallet that can be branded and configured as per the application needs </p>
<p>⛓️ &nbsp; Sign blockchain transactions, deploy and interact with smart contracts, manage native and custom tokens, view and manage NFTs, send and receive tokens</p>
<p>⚙️ &nbsp; Configure blockchain transaction signing user experience using wallet visibility modes</p>
<p>🔒 &nbsp; Onboard users via social, passwordless login</p>
<p>🗝️ &nbsp; Allow authenticated users to sign blockchain transactions</p>
<p>🔒 &nbsp; Non-custodial, embedded Web3 Arcana wallet that can be branded and configured </p>
<p>⛓️ &nbsp; Web3 wallet operations: sign blockchain transactions, deploy and interact with smart contracts, manage native and custom tokens, view and manage NFTs, send and receive tokens</p>
<p>⚙️ &nbsp; Gaslesss transactions</p>

# 🏗️ Installation

Expand Down Expand Up @@ -69,21 +76,19 @@ yarn add @arcana/auth

# 📋 Prerequisites

Before you can start using the Arcana Auth SDK, you need to register your dApp using [Arcana Developer Dashboard](https://dashboard.arcana.network/).

A unique **App Address** will be assigned to your dApp and you need the same to initialize the Arcana Auth SDK.
Configure Auth SDK usage through the [Arcana Dashboard](https://dashboard.arcana.network), obtain a unique app identifier (client Id). Then install the SDK, use the client Id to integrate the app with the Arcana Auth SDK. [Learn more...](https://docs.arcana.network/).

# 📚 Documentation

Check out [Arcana Network documentation](https://docs.arcana.network/) for [Auth SDK Quick Start Guide](https://docs.arcana.network/walletsdk/wallet_qs.html), [Usage Guide](https://docs.arcana.network/walletsdk/wallet_usage.html) and [API Reference Guide](https://authsdk-ref-guide.netlify.app).
Check out [Arcana Network documentation](https://docs.arcana.network/) for [Auth SDK Quick Start Guide](https://docs.arcana.network/quick-start/auth-sdk/index.html), [Usage Guide](https://docs.arcana.network/web-sdk/auth-usage-guide.html) and [API Reference Guide](https://authsdk-ref-guide.netlify.app).

# 💡 Support

For any support or integration-related queries, contact [Arcana support team](mailto:[email protected]).
For support or integration-related queries, contact [Arcana support team](mailto:[email protected]).

# 🤝 Contributing

We welcome all contributions to the Arcana Auth SDK from the community. Read our [contributing guide](https://github.com/arcana-network/license/blob/main/CONTRIBUTING.md) to learn about the SDK development process, how to propose bug fixes and improvements, and the code of conduct that we expect the participants to adhere to. Refer to the build and test section of this readme for details on how to test and validate your changes to the Auth SDK code before submitting your contributions.
We welcome all contributions to the Arcana Auth SDK from the community. See [contributing guide](https://github.com/arcana-network/license/blob/main/CONTRIBUTING.md) for details.

# ℹ️ License

Expand Down
13 changes: 8 additions & 5 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"plugins":[
["@babel/plugin-transform-react-jsx", {
"pragma": "h"
}]
{
"plugins": [
[
"@babel/plugin-transform-react-jsx",
{
"pragma": "h"
}
]
],
"presets": [
["@babel/preset-env", { "targets": { "node": "current" } }],
Expand Down
Loading

0 comments on commit 566aae0

Please sign in to comment.