Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 #419

Draft
wants to merge 83 commits into
base: main
Choose a base branch
from
Draft

V3 #419

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
005f1aa
Removed Ethers and making signers optional until need to sign (#283)
ekenigs Jun 25, 2024
4991e22
Merge branch 'main' into v3-next
ekenigs Jul 5, 2024
64d77ee
Merge branch 'main' into v3-next
ekenigs Jul 15, 2024
6501e83
Merge branch 'main' into v3-next
ekenigs Jul 15, 2024
f2844c1
Merge branch 'main' into v3-next
ekenigs Jul 16, 2024
c55b126
[v3] Hardcoding decimals in chain config to reduce complexity (#287)
ekenigs Jul 17, 2024
49f3172
Added explorers URL to Chain (#303)
ekenigs Jul 17, 2024
a950932
EvmChain class and some refactoring (#305)
ekenigs Jul 19, 2024
17ef240
Merge branch 'main' into v3-next
ekenigs Jul 19, 2024
751b53b
Basic MRL package setup (#309)
ekenigs Jul 19, 2024
8bba27b
Merge branch 'main' into v3-next
ekenigs Jul 19, 2024
b0a93a9
Merge branch 'main' into v3-next
ekenigs Jul 22, 2024
eee05de
Fixes after merge
ekenigs Jul 22, 2024
638ba63
MRL interface draft and some more refactoring for v3 (#314)
ekenigs Jul 29, 2024
ab95b21
MRL p3 (#316)
ekenigs Aug 7, 2024
1d37284
Added spell check (#320)
ekenigs Aug 7, 2024
215e4cf
Merge branch 'main' into v3-next
ekenigs Aug 8, 2024
c509f26
Updated lock file
ekenigs Aug 8, 2024
335837a
removed package-lock.json
ekenigs Aug 8, 2024
0952697
MRL p4 (#321)
ekenigs Aug 19, 2024
1a61f6a
Merge branch 'main' into v3-next
ekenigs Aug 19, 2024
27d9ccb
Fixed GMP message builder (#326)
ekenigs Aug 19, 2024
154b63b
Updated snapshots (#327)
ekenigs Aug 19, 2024
f65ae80
AssetRoute refactoring (#332)
ekenigs Aug 27, 2024
7038faf
v3 part 4 (#344)
ekenigs Sep 10, 2024
79c9ac0
Merge branch 'main' into v3-next
ekenigs Sep 10, 2024
74a7ddd
Fixed versions of dependencies after merge from main
ekenigs Sep 10, 2024
0a5e42d
Updated snapshots
ekenigs Sep 10, 2024
52a7b50
Using Biome.js instead of ESLint and Prettier (#347)
ekenigs Sep 11, 2024
4644b6d
Merge branch 'main' into v3-next
ekenigs Sep 11, 2024
00822cf
v3 part 6 (#350)
ekenigs Sep 24, 2024
6cddf64
merge main
mmaurello Sep 24, 2024
b46e429
Continue MRL setup (#358)
mmaurello Sep 30, 2024
66ae4fb
V3 next xcm payment api (#354)
mmaurello Oct 2, 2024
9f08b2c
merge main
mmaurello Oct 2, 2024
7531461
Allow Parachains/Moonbase to Evm Routes (#361)
mmaurello Oct 3, 2024
7b48f4f
Implement Relay Fee (#362)
mmaurello Oct 7, 2024
e4630c8
Add relayer fee to min (#363)
mmaurello Oct 7, 2024
2a54b33
Separate Routes between MRL and XCM and get moon chain fee balance in…
mmaurello Oct 8, 2024
ad009de
merge with main
mmaurello Oct 8, 2024
3f105bc
Fix issues with transfers from all different sources and destinations…
mmaurello Oct 14, 2024
8f058ac
merge main Sovereign Account Balance checking
mmaurello Oct 14, 2024
07e1499
Implement 'Batch' builder for EVM Parachains (#371)
mmaurello Oct 17, 2024
fccf158
merge with main removing parallel
mmaurello Oct 17, 2024
0cbd112
Pass isAutomatic as parameter to transfer function (#372)
mmaurello Oct 17, 2024
fc4e393
fix gas estimation for moonbase alpha automatic (#374)
mmaurello Oct 18, 2024
4385bbe
Add standalone redeeming capability (#381)
mmaurello Oct 29, 2024
d80ca96
merge with main
mmaurello Oct 29, 2024
82e55a4
Fixes in build process to be able to link to projects (#382)
mmaurello Oct 31, 2024
9ea36ad
Fixes after integration (#384)
mmaurello Nov 13, 2024
5c0fb5c
More fixes after integration (#385)
mmaurello Nov 14, 2024
f485a48
update readme link command
Rihyx Nov 14, 2024
4454c58
Adapt xcm example (#386)
mmaurello Nov 14, 2024
1943683
more fixes and configuration adjustments (#387)
mmaurello Nov 15, 2024
e5ceb7b
update script for dev versions (#388)
Rihyx Nov 15, 2024
0d3ada5
sync packages
Rihyx Nov 15, 2024
666821b
try to fix
Rihyx Nov 15, 2024
29c1a67
try to fix build and type exports (#389)
Rihyx Nov 15, 2024
ed1ef46
re-generate pnpm-lock.yaml
Rihyx Nov 19, 2024
d299ffb
update dependencies (#394)
Rihyx Nov 20, 2024
b730349
Revert "update dependencies (#394)" (#396)
Rihyx Nov 20, 2024
ca3b12e
update polkadot stuff (#398)
Rihyx Nov 22, 2024
610d37b
merge with main (pending adding snowbridge assets stuff)
mmaurello Nov 22, 2024
2be44f8
add type check to lefthook
Rihyx Nov 25, 2024
516f8f8
remove type check
Rihyx Nov 25, 2024
3700f33
Add export check (#397)
Rihyx Nov 25, 2024
160ef18
Forgeign Assets builders - Snowbridge Assets configuration (#400)
mmaurello Nov 25, 2024
8536459
Adjustments after implementing mrl package in dapp (#401)
mmaurello Dec 2, 2024
d8fcaa4
merge main
mmaurello Dec 2, 2024
991cdeb
adjustments for redeeming function (#405)
mmaurello Dec 16, 2024
b094a24
enable sending only remote execution in MRL (#407)
mmaurello Dec 17, 2024
6d608e1
Return balance and address in MoonChainData (#408)
mmaurello Dec 18, 2024
b27aa48
Ethereum, moonbeam and Hydration configurations (#409)
mmaurello Dec 20, 2024
5747f47
merge with main
mmaurello Dec 27, 2024
bd01879
Merge branch 'main' of github.com:moonbeam-foundation/xcm-sdk into v3…
mmaurello Dec 30, 2024
b760223
add more routes from Ethereum to Hydration (#417)
mmaurello Dec 31, 2024
5a3fd59
V3 xcm adjustments (#412)
mmaurello Jan 2, 2025
d943d43
change redeem wording (#418)
mmaurello Jan 7, 2025
731f4c2
clean mrl example (#414)
mmaurello Jan 7, 2025
b59227d
rename redeem functions in example
mmaurello Jan 8, 2025
34d1b39
change order of hydration ws endpoints
mmaurello Jan 8, 2025
55e3dfb
V3 docs (#416)
mmaurello Jan 24, 2025
3fdc31b
mrege with main
mmaurello Jan 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["sdk-simple"]
"ignore": ["sdk-simple", "mrl-simple", "scripts"]
}
5 changes: 5 additions & 0 deletions .changeset/silly-turtles-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@moonbeam-network/xcm-config': patch
---

Adjust kbtc and ibtc fees
29 changes: 0 additions & 29 deletions .eslintrc.json

This file was deleted.

12 changes: 7 additions & 5 deletions .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@ jobs:
- name: 🤘 checkout
uses: actions/checkout@v4

- name: ⚙️ Setup Node.js environment
- uses: pnpm/action-setup@v4

- name: ⚙ Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
cache: 'pnpm'

- run: npm ci --ignore-scripts
- run: pnpm install --ignore-scripts

- name: 🛠️ Build
run: npm run build
run: pnpm run build

- name: 🧪 Run acceptance tests
env:
TESTS_MOONBEAM_PRIVATE_KEY: ${{ secrets.TESTS_MOONBEAM_PRIVATE_KEY }}
TESTS_POLKADOT_SURI: ${{ secrets.TESTS_POLKADOT_SURI }}
run: npm run test:acc
run: pnpm run test:acc
29 changes: 0 additions & 29 deletions .github/workflows/build.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: lint

on: push

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: 🤘 checkout
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- name: ⚙ Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'

- run: pnpm install --ignore-scripts

- name: 🛠️ Build
run: pnpm run build

- name: 🧪 Run TypeScript
if: always()
run: pnpm run typecheck

- name: 🧪 Run Linter
if: always()
id: linter
run: pnpm run lint

- name: 🧪 Run Spell Check
if: always()
id: spell-check
run: pnpm run spell

- name: 🚪 Run Check Exports
run: npm run lint:exports
32 changes: 17 additions & 15 deletions .github/workflows/publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,22 @@ jobs:
- name: 🤘 checkout
uses: actions/checkout@v4

- name: ⚙️ Setup Node.js environment
- uses: pnpm/action-setup@v4
- uses: oven-sh/setup-bun@v1

- name: ⚙ Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'

- uses: oven-sh/setup-bun@v1
cache: 'pnpm'

- name: 🔐 Authenticate with NPM
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Update npm
run: npm i -g npm@latest

- name: node/npm version
run: node --version && npm --version
run: node --version && pnpm --version

- run: npm ci --ignore-scripts
- run: pnpm install --ignore-scripts

- name: ✌️ Update versions (BUN)
run: bun ./scripts/update-dev-versions.ts
Expand All @@ -36,24 +34,28 @@ jobs:
run: find ./packages -name 'package.json' -not -path '*/node_modules/*' -exec grep -H 'version' {} +

- name: 🛠️ Build
run: npm run build
run: pnpm run build

- name: 🚀 Publish types
working-directory: ./packages/types
run: npm publish --tag dev
run: pnpm publish --no-git-checks --tag dev

- name: 🚀 Publish utils
working-directory: ./packages/utils
run: npm publish --tag dev
run: pnpm publish --no-git-checks --tag dev

- name: 🚀 Publish builder
working-directory: ./packages/builder
run: npm publish --tag dev
run: pnpm publish --no-git-checks --tag dev

- name: 🚀 Publish config
working-directory: ./packages/config
run: npm publish --tag dev
run: pnpm publish --no-git-checks --tag dev

- name: 🚀 Publish sdk
working-directory: ./packages/sdk
run: npm publish --tag dev
run: pnpm publish --no-git-checks --tag dev

- name: 🚀 Publish mrl
working-directory: ./packages/mrl
run: pnpm publish --no-git-checks --tag dev
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
- name: 🤘 checkout
uses: actions/checkout@v4

- name: ⚙️ Setup Node.js environment
- uses: pnpm/action-setup@v4

- name: ⚙ Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'

- run: npm ci --ignore-scripts
cache: 'pnpm'

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: npm run changeset:version
publish: npm run changeset:publish
version: pnpm run changeset:version
publish: pnpm run changeset:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 6 additions & 4 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@ jobs:
- name: 🤘 checkout
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

- name: ⚙ Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
cache: 'pnpm'

- run: npm ci --ignore-scripts
- run: pnpm install --ignore-scripts

- name: 🛠 Build
run: npm run build
run: pnpm run build

- name: 🧪 Run unit tests
run: npm run test
run: pnpm run test
17 changes: 8 additions & 9 deletions .github/workflows/xcm-wss-endpoints-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,20 @@ jobs:
- name: 🤘 checkout
uses: actions/checkout@v4

- name: ⚙️ Setup Node.js environment
- uses: pnpm/action-setup@v4
- uses: oven-sh/setup-bun@v1

- name: ⚙ Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- uses: oven-sh/setup-bun@v1

- name: Update npm
run: npm i -g npm@9
cache: 'pnpm'

- name: ⬇️ install
run: npm ci --ignore-scripts
run: pnpm install --ignore-scripts

- name: 🛠️ Build
run: npm run build
run: pnpm run build

- name: 💻 Run script
run: bun ./scripts/check-websockets.ts --slack-wh=${{ secrets.SLACK_WEBHOOK_URL }}
run: bun ./scripts/check-websockets.ts --slack-wh=${{ secrets.SLACK_WEBHOOK_URL }}
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ typings/
# dotenv environment variables file
.env
.env.test
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down Expand Up @@ -116,4 +117,7 @@ dist
.idea

# Docs - Site directory
mkdocs/site
mkdocs/site

# pre-commit
.husky
2 changes: 0 additions & 2 deletions .husky/pre-commit

This file was deleted.

2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
link-workspace-packages=true
prefer-workspace-packages=true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.14.0
5 changes: 0 additions & 5 deletions .prettierrc.json

This file was deleted.

12 changes: 0 additions & 12 deletions .vscode/extensions.json

This file was deleted.

Loading
Loading