freelii-passkey-kit
Version:
A helper library for creating and using smart wallet accounts on the Stellar blockchain.
18 lines (14 loc) • 767 B
Plain Text
# Install contract sdks
npm publish --workspaces
# Install passkey-kit
pnpm publish --no-git-checks
# Stellar commands
stellar contract bindings rust --wasm target/wasm32-unknown-unknown/release/smart_wallet.wasm
stellar contract deploy --wasm target/wasm32-unknown-unknown/release/sample_policy.wasm --network testnet --source default
# Mercury commands
# https://test.mercurydata.app/
export JWT=???
mercury-cli --jwt $JWT --local false --mainnet false deploy
mercury-cli --jwt $JWT --local false --mainnet false catchup --project-name "smart-wallets-next-dima" --contracts CBFOIYCWRC5LXYMF7VPM4MTBEIIMDJ6TBWYH2PY5U7MW73MINQNN3V7E
curl -X GET https://api.mercurydata.app/catchups/4
curl -X POST https://api.mercurydata.app/v2/key -H "Authorization: Bearer $JWT"