Merge pull request #21 from andrei0x309/dev/12

Dev/12
This commit is contained in:
Andrei O. 2025-01-27 02:07:38 +02:00 committed by GitHub
commit 3d7b6dbb2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 72 additions and 9 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## Manifest Version 1.4.12
- added more checks to release script
- added network icons and templates for the following networks: World Chain, Linea, Scroll
## Manifest Version 1.4.11
- bumped all dependencies to the latest versions

View File

@ -73,10 +73,9 @@ const main = async () => {
platforms: ['twitter', 'threads', 'bsky', 'lens']
})
}
const fcPost = await fchubUtils.createFarcasterPost({
const fcPostHash = await fchubUtils.createFarcasterPost({
content: message,
})
const fcPostHash = Buffer.from(fcPost).toString('hex');
if (fcPostHash) {
await new Promise((resolve) => setTimeout(resolve, 3000));
const launchCasterMessage = `@launch New Clear Wallet version ${VERSION} released! \n\nChanges: ${changeLogUrl}`

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@ -3,6 +3,14 @@ import { readFileSync, writeFileSync } from 'fs';
import { resolve } from 'path';
async function main() {
// -1. Check if you are in the main branch
const branch = execSync(`git branch --show-current`).toString();
if (branch !== 'main') {
console.log('You must be in the main branch to create a release');
return
}
// 0. Check tag is not already created
const tags = execSync(`git tag --list`).toString();
if(!process.env.npm_package_version) {

View File

@ -56,6 +56,15 @@ export const mainNets: {[key: number]: Network} = {
symbol: 'BNB',
priceId: 'binancecoin'
},
480: {
name: 'World Chain',
rpc: 'https://worldchain-mainnet.g.alchemy.com/public',
chainId: 480,
explorer: 'https://worldscan.org',
icon: 'world.webp',
symbol: 'ETH',
priceId: 'ethereum'
},
42161: {
name: 'Arbitrum One',
rpc: 'https://rpc.ankr.com/arbitrum',
@ -77,12 +86,21 @@ export const mainNets: {[key: number]: Network} = {
7560 : {
name: 'Cyber',
rpc: 'https://rpc.cyber.co',
chainId: 7560 ,
chainId: 7560,
explorer: 'https://cyberscan.co',
icon: 'cyber.webp',
symbol: 'ETH',
priceId: 'ethereum'
},
59144: {
name: 'Linea',
rpc: 'https://rpc.linea.build',
chainId: 59144,
explorer: 'https://lineascan.build',
icon: 'linea.webp',
symbol: 'ETH',
priceId: 'ethereum'
},
666666666: {
name: 'Degen',
rpc: 'https://rpc.degen.tips',
@ -100,6 +118,15 @@ export const mainNets: {[key: number]: Network} = {
icon: 'celo.webp',
symbol: 'CELO',
priceId: 'celo'
},
534351: {
name: 'Scroll',
rpc: 'https://rpc.scroll.io/',
chainId: 534351,
explorer: 'https://scrollscan.com',
icon: 'scroll.webp',
symbol: 'ETH',
priceId: 'ethereum'
}
}
@ -175,13 +202,37 @@ export const testNets = {
explorer: 'https://testnet.cyberscan.co/',
icon: 'cyber_t.webp'
},
42220: {
name: 'Celo Mainenet',
rpc: 'https://forno.celo.org',
chainId: 42220,
explorer: 'https://celoscan.io/',
icon: 'celo.webp',
44787: {
name: 'Celo TestNet',
rpc: 'https://alfajores-forno.celo-testnet.org',
chainId: 44787,
explorer: 'https://alfajores.celoscan.io/',
icon: 'celo_t.webp',
symbol: 'CELO',
},
59141: {
name: 'Linea Sepolia',
rpc: 'https://rpc.sepolia.linea.build',
chainId: 59141,
explorer: 'https://sepolia.lineascan.build/',
icon: 'linea_t.webp',
symbol: 'ETH'
},
4801: {
name: 'World Chain',
rpc: 'https://worldchain-sepolia.g.alchemy.com/public',
chainId: 4801,
explorer: 'https://worldchain-sepolia.explorer.alchemy.com',
icon: 'world_t.webp',
symbol: 'ETH',
},
534351: {
name: 'Scroll Sepolia',
rpc: 'https://sepolia-rpc.scroll.io/',
chainId: 534351,
explorer: 'https://sepolia.scrollscan.com',
icon: 'scroll_t.webp',
symbol: 'ETH'
}
}