A.) Develop ORE ID Wharf Plugin
1.) Quickstart
2.) Project Synopsis
a.) Features
b.) Ideas
c.) To-Dos
3.) Setup
4.) Editing the Wallet Plugin
B.) Implement ORE ID Wharf Plugin into `web-ui-renderer-oreid-sample`
1.) Install dependencies
2.) Add nodePolyfills()
3.) Add the ORE ID Wallet WebUIRenderer
4.) Build and Run the sample application
C.) Adding ORE ID Wharf Wallet Plugin to ```example-vite-svelte-ts```
GitPod WorkSpace - Launch this project in a cloud instance of VS Code.
✅ Login - ORE ID Auth Login/SignUp
✅ Login - Blockchain Selector
⛔️ Login - Oauth Provider Selector
⛔️ Login - Permission Selector
✅ Login - Auto-login
⛔️ Login - Auto-login bypass
⛔️ Login - ORE ID Auth Reusable account support
⛔️ Login - Load contract whitelist upon login
✅ Transaction - ORE ID Non-Custodial Transaction Signing
⛔️ Transaction - Support for Transact plugins
⛔️ Transaction - Whitelist contract actions for silent signing
⛔️ Transaction - Silent Signing/Whitelist Auto Signing
⛔️ ORE ID - Pass in oreId object to plugin
⛔️ ORE ID - Pass in appId/Public API Key to oreId object
💡 Advanced - Delayed Account creation
💡 Advanced - Custodial Account support
💡 Advanced - Support for ORE Network (Testnet and Mainnet) (PR for @wharfkit/session)
🔵 Publish `teamaikon/wallet-plugin-oreid` package to NPM
🔵 Developer Documentation for Integration of `teamaikon/wallet-plugin-oreid` into project using `@wharfkit/web-ui-renderer`
🔵 Implement Reusable accounts as default account structure
🔵 Implement Whitelisting functionality for silent/auto signing
🟠 Clean up old eosjs dependencies, upgrade to greymass/eosjs
🟠 Remove bloated and old dependencies in oreid-js package
🟠 Re-useable account work for ORE ID
git clone <this repo.git>
cd wharfkit-wallet-plugin-oreid
cd wallet-plugin-oreid
make
yarn link
cd ../web-ui-renderer-oreid-sample
yarn link "wallet-plugin-oreid"
yarn run dev
- Edit the files in the
src
folder. make
- The sample should automatically refresh with the new changes.
- Append the devDependencies and peerDependencies section in
web-ui-renderer-oreid-sample/package.json
...
"peerDependencies": {
...
"oreid-js": "^4.5.0",
"oreid-webpopup": "^2.2.5-beta.0"
},
"devDependencies": {
...
"https-browserify": "1.0.0",
"crypto-browserify": "3.12.0",
"stream-browserify": "3.0.0",
"http-browserify": "1.7.0",
"stream-http": "3.2.0",
"os-browserify": "^0.3.0",
"rollup-plugin-node-polyfills2": "^0.1.0"
}
- Install the deps in the
web-ui-renderer-oreid-sample
folder
yarn install
- Declare the import
...
import nodePolyfills from 'rollup-plugin-node-polyfills2'
...
- Append plugins section of
web-ui-renderer-oreid-sample/test/rollup.config.js
export default {
...
plugins: [
nodePolyfills(),
...
],
...
}
- Make updates to
web-ui-renderer-oreid-sample/test/public/index.html
...
const sessionKit = new SessionKit({
...
walletPlugins: [
...
new WebUIRenderer.WalletPluginOreId()
]
...
cd web-ui-renderer-oreid-sample
yarn run build
yarn run serve
- Edit
src/lib/Login.svelte
file to include ORE ID
import { WalletPluginOreId } from "wallet-plugin-oreid"
- Add the
WalletPluginOreid()
to ``SessionKit```
...
const sessionKit = new SessionKit({
...
walletPlugins: [
...
new WalletPluginOreId()
],
...
})
...