Skip to content

Feature/1240 antelope login request#1255

Open
sadiabbasi wants to merge 8 commits intodevelopmentfrom
feature/1240-antelope-login-request
Open

Feature/1240 antelope login request#1255
sadiabbasi wants to merge 8 commits intodevelopmentfrom
feature/1240-antelope-login-request

Conversation

@sadiabbasi
Copy link
Copy Markdown
Contributor

No description provided.

// Generate the identity proof signature
const publicKey = await (await this.privateKey.getPublicKey()).toString();
const receiveChUUID = uuidv4();
const forwarderAddress = 'https://pangea.web4.world';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this not be the callback origin?


export class AntelopeLoginRequest implements ILoginRequest {
loginApp: ILoginApp;
account: IAccount[];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this an array? antelope login only supports 1 account at a time I am pretty sure.

const callback = resolvedSigningRequest.request.data.callback;

new LoginApp('', callback, '', [this.chain]);
new LoginApp(this.chain.getName(), callback, this.chain.getLogoUrl(), [this.chain]);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this object? seems unused

@@ -163,9 +279,12 @@ export class AntelopeSession extends AbstractSession {
privateKey: AntelopePrivateKey;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this need privateKey still? both the Login and Transaction request should have it but I don't think this is needed at the session level anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants