`// identity.js
import { Secp256k1KeyIdentity } from "@dfinity/identity-secp256k1";
// Completely insecure seed phrase. Do not use for any purpose other than testing.
// Resolves to "rwbxt-jvr66-qvpbz-2kbh3-u226q-w6djk-b45cp-66ewo-tpvng-thbkh-wae"
const seed = "test test test test test test test test test test test test";
sh -ci "$(curl -fsSL https://internetcomputer.org/install.sh)"
git clone git@github.com:<username>/DIP721.git
// src/node/index.js console.log("hello world");
npm start
# setup.sh dfx start --background --clean dfx deploy nft --argument '(opt record{custodians=opt vec{principal"rwbxt-jvr66-qvpbz-2kbh3-u226q-w6djk-b45cp-66ewo-tpvng-thbkh-wae"}})' dfx deploy assets dfx canister call asset authorize "(principal \"rwbxt-jvr66-qvpbz-2kbh3-u226q-w6djk-b45cp-66ewo-tpvng-thbkh-wae\")"
*npm install --save \ @dfinity/agent \ @dfinity/principal \ @dfinity/candid \ @dfinity/identity \ @dfinity/identity-secp256k1 \ @dfinity/assets \ isomorphic-fetch \ image-thumbnail \ mmmagic \ prettier \ sha256-file
`// identity.js import { Secp256k1KeyIdentity } from "@dfinity/identity-secp256k1";
// Completely insecure seed phrase. Do not use for any purpose other than testing. // Resolves to "rwbxt-jvr66-qvpbz-2kbh3-u226q-w6djk-b45cp-66ewo-tpvng-thbkh-wae" const seed = "test test test test test test test test test test test test";
export const identity = await Secp256k1KeyIdentity.fromSeedPhrase(seed);`