Skip to content

Instantly share code, notes, and snippets.

View limemloh's full-sized avatar

Emil Holm Gjørup limemloh

  • Thisted, Denmark
View GitHub Profile
const request = require("request-promise")
const cheerio = require("cheerio");
async function login(username, password) {
console.log("Loggin in...")
const body = await request("https://ungdomsboligaarhus.dk/user");
const $ = cheerio.load(body);
const form_build_id = $(`input[name="form_build_id"]`).val();
@limemloh
limemloh / Update-account.md
Last active February 27, 2024 11:48
Concordium instructions to update keys using concordium-client

Update account keys

This is a guide for updating the keys for a Concordium account which uses a single credential.

Finding the credential registration ID

First we need to get the credential registration ID of the account that we are updating keys for.

Run the following command where you replace <Account-name-or-account-address> with your account: