-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from ATOR-Development/main
merge from main
- Loading branch information
Showing
11 changed files
with
593 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,5 @@ logs | |
.env | ||
.env.* | ||
!.env.example | ||
|
||
pnpm-lock.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,8 @@ | ||
<template> | ||
<div> | ||
<router-link to="/" class="flex gap-2 items-top"> | ||
<img src="/images/anyone-logo.png" width="30" height="30" /> | ||
<img | ||
src="/images/anyone-text.png" | ||
width="100" | ||
height="30" | ||
className="hidden lg:block" | ||
/> | ||
<h2 | ||
class="dark:text-white text-cyan-800 text-xl sr-only lg:not-sr-only font-brand font-bold block lg:hidden" | ||
> | ||
ANyONe | ||
</h2> | ||
<img class="object-contain h-8" src="/images/anyone-logo.png" /> | ||
<img class="object-contain h-8 mt-[2px]" src="/images/anyone-text.png" /> | ||
</router-link> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import Irys from '@irys/sdk' | ||
|
||
// Requires: PERMAWEB_KEY | ||
// $ node operations/fund-deployer.mjs | ||
|
||
const IRYS_NODE = 'https://node2.irys.xyz/' | ||
const jwk = JSON.parse( | ||
Buffer.from(process.env.PERMAWEB_KEY || 'NO_KEY', 'base64').toString('utf-8') | ||
) | ||
const irys = new Irys({ url: IRYS_NODE, token: 'arweave', key: jwk }) | ||
|
||
async function fundDeployer() { | ||
try { | ||
// const preBalance = await irys.getBalance('jp0QaS_Zai2hGaB-yRvAIMEtodmH_iHr0drpZxAZQtU') | ||
const preBalance = await irys.getLoadedBalance() | ||
console.log(`Irys loaded balance: ${preBalance}`) | ||
// const fundTx = await irys.fund(irys.utils.toAtomic(0.1)) | ||
// console.log(`Successfully funded ${irys.utils.fromAtomic(fundTx.quantity)} ${irys.token}`) | ||
} catch (e) { | ||
console.log('Error interacting with permadata ', e) | ||
} | ||
|
||
} | ||
|
||
fundDeployer().then().catch(err => console.error(err)) |
Oops, something went wrong.