-
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.
feat: remove need for static contract addresses (#2)
- Loading branch information
1 parent
b96168c
commit ca722b6
Showing
11 changed files
with
122 additions
and
192 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Publish Package to NPM Registry | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
npm-package: | ||
runs-on: ubuntu-latest-16-core | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
registry-url: 'https://registry.npmjs.org' | ||
scope: '@topos-protocol' | ||
- run: npm ci | ||
- run: npm run build | ||
- run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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,20 @@ | ||
name: Release Pipeline | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
notification: | ||
runs-on: ubuntu-latest-16-core | ||
steps: | ||
- name: Send Slack notification | ||
uses: slackapi/[email protected] | ||
with: | ||
payload: | | ||
{ | ||
"repository": "${{ github.repository }}", | ||
"version": "${{ github.ref }}" | ||
} | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ vars.RELEASE_PIPELINE_SLACK_WEBHOOK_URL }} |
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,6 +1,6 @@ | ||
{ | ||
"name": "@topos-network/topos-playground", | ||
"version": "0.0.1-alpha12", | ||
"name": "@topos-protocol/topos-playground", | ||
"version": "0.0.1", | ||
"description": "CLI to run local Topos devnets with subnets, a TCE network, and apps", | ||
"author": "Sébastien Dan <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -9,7 +9,7 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/topos-network/topos-playground.git" | ||
"url": "git+https://github.com/topos-protocol/topos-playground.git" | ||
}, | ||
"scripts": { | ||
"build": "nest build", | ||
|
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,11 +1,10 @@ | ||
import { Module } from '@nestjs/common' | ||
|
||
import { SecretQuestions } from './questions/secrets.questions' | ||
import { CleanCommand } from './commands/clean.command' | ||
import { StartCommand } from './commands/start.command' | ||
import { ReactiveSpawn } from './ReactiveSpawn' | ||
|
||
@Module({ | ||
providers: [ReactiveSpawn, SecretQuestions, CleanCommand, StartCommand], | ||
providers: [ReactiveSpawn, CleanCommand, StartCommand], | ||
}) | ||
export class AppModule {} |
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,3 +1,3 @@ | ||
import {homedir} from 'os' | ||
import { homedir } from 'os' | ||
|
||
export const workingDir = `${homedir()}/topos-playground` |
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,8 +1,10 @@ | ||
VITE_EXECUTOR_SERVICE_ENDPOINT=http://localhost:3000 | ||
VITE_SUBNET_REGISTRATOR_CONTRACT_ADDRESS=0xC9109ADccD6fDF867d52abf1Daf049E59fd9D82e | ||
VITE_TOPOS_CORE_CONTRACT_ADDRESS=0x1D7b9f9b1FF6cf0A3BEB0F84fA6F8628E540E97F | ||
VITE_TOPOS_MESSAGING_CONTRACT_ADDRESS=0xefacaF6E2C5744600F4f88BcEab6D776EeE65c98 | ||
VITE_TOPOS_SUBNET_ENDPOINT=localhost:10002 | ||
VITE_TRACING_OTEL_COLLECTOR_ENDPOINT=https://otel-collector.telemetry.devnet-1.toposware.com/v1/traces | ||
VITE_TRACING_SERVICE_NAME=cross-subnet-message | ||
VITE_TRACING_SERVICE_VERSION=0.1.0 | ||
|
||
# Addresses | ||
VITE_TOPOS_CORE_CONTRACT_ADDRESS=$TOPOS_CORE_PROXY_CONTRACT_ADDRESS | ||
VITE_ERC20_MESSAGING_CONTRACT_ADDRESS=$ERC20_MESSAGING_CONTRACT_ADDRESS | ||
VITE_SUBNET_REGISTRATOR_CONTRACT_ADDRESS=$SUBNET_REGISTRATOR_CONTRACT_ADDRESS |
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,8 @@ | ||
export PRIVATE_KEY=0xd7e2e00b43c12cf17239d4755ed744df6ca70a933fc7c8bbb7da1342a5ff2e38 | ||
export TOKEN_DEPLOYER_SALT=m1Ln9uF9MGZ2PcR | ||
export TOPOS_CORE_SALT=dCyN8VZz5sXgqMO | ||
export TOPOS_CORE_PROXY_SALT=aRV8Mp9o4xRpLbF | ||
export ERC20_MESSAGING_SALT=ho37cJbGkgI6vnp | ||
export SUBNET_REGISTRATOR_SALT=azsRlXyGu0ty291 | ||
export AUTH0_CLIENT_ID=xVF6EuPDaazQchfjFpGAdcJUpHk2W5I2 | ||
export AUTH0_CLIENT_SECRET=-CrwnrgSx1EaP_oaKAFXFdqrIvA4WK8Pcpd5xC4o3ZfYB4H4V4FPHfEbqpu4KZN8 |
Oops, something went wrong.