Skip to content
This repository was archived by the owner on Mar 7, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
456 commits
Select commit Hold shift + click to select a range
b53cc3a
Fix error on RemoveSegment
canhlinh Jul 19, 2021
1081986
fix/assetDetails and multiple native coin requests in transferBatch
Jul 19, 2021
444e7b9
fix message event parser
hir0min Jul 19, 2021
b2b17bf
Improve TestSenderMonitorLoop
canhlinh Jul 20, 2021
fbd4601
refactor: remove redundant code
trmaphi Jul 20, 2021
fd9c4e7
test: update mock methods
trmaphi Jul 20, 2021
6ba4f3f
docs: add comments
trmaphi Jul 20, 2021
6622f38
fix: avoid cycle import for EventRecord definitions
trmaphi Jul 21, 2021
ef5225b
test: add more tests for kusamaeventrecord and btp
trmaphi Jul 21, 2021
bcd94fa
test: skip unfinised tests
trmaphi Jul 21, 2021
49f92d6
test: add more test scenarios
trmaphi Jul 21, 2021
9d80d8e
feat(javascore): update CPS address when deploy contract to gochain node
aceraizel Jul 21, 2021
5d16609
fix/update interface and refactor transferBatch
Jul 21, 2021
f31507f
fix: error on parse options
trmaphi Jul 21, 2021
1fdf9b0
adjust state variable visibility
hir0min Jul 22, 2021
35d34b2
refactor: change receiverOpts to prevent multiple options conflict
trmaphi Jul 22, 2021
c0d097b
test: update test for new ReceiverOptions
trmaphi Jul 22, 2021
f863407
refactor: rename /btp files
trmaphi Jul 22, 2021
29fe9a5
Merge branch 'icondao' of github.com:icon-project/btp into refactor-l…
trmaphi Jul 22, 2021
419367b
feat: push finalityproof/relaychaindata build
trmaphi Jul 23, 2021
8bfe49d
fix rlp library
hir0min Jul 23, 2021
0624da1
refactor: move getProofs to NewStateProof
trmaphi Jul 23, 2021
e04285a
fix/checking addres format
quangtran8588 Jul 21, 2021
f136036
refactor: split a function to check canRelay
trmaphi Jul 23, 2021
833610b
docs: add BMR document
trmaphi Jul 23, 2021
efc833c
docs: update docs
trmaphi Jul 23, 2021
b011e2a
fix: entrypoint when echo secret
trmaphi Jul 23, 2021
ba9b9c2
refactor: remove debug flag
trmaphi Jul 23, 2021
a37421c
docs: update keystore generation
trmaphi Jul 23, 2021
8c95da7
refactor: remove redundant
trmaphi Jul 23, 2021
2cdfc77
docs: update docs
trmaphi Jul 23, 2021
9b7668d
fix: missing RelayMessage.BlockProof in RelayBlockUpdate
trmaphi Jul 23, 2021
e7a5f2f
refactor: add log to know what error on retry
trmaphi Jul 27, 2021
e3038b8
fix: duplicate transaction with Pool(TemporarilyBanned)
trmaphi Jul 27, 2021
1f9cd72
test: update mocks for Sender.newTransactionParams
trmaphi Jul 27, 2021
0d3e30f
fix: error on GasLimit empty
trmaphi Jul 27, 2021
c92a38a
fix: abort on temporilybanned
trmaphi Jul 27, 2021
9f95a4b
refactor libraries and update rlp tests
hir0min Jul 27, 2021
c66a8b0
fix: only retry on certains errors
trmaphi Jul 28, 2021
525c35c
chore: lower down the log level
trmaphi Jul 28, 2021
90b0120
Merge pull request #76 from icon-project/fix-error-submit-duplicate-t…
trmaphi Jul 28, 2021
33f278d
revert: "feat: use offset from BMCStatusLink.Verifier.Offset"
trmaphi Jul 29, 2021
9f9a0e1
update rlp library
hir0min Jul 28, 2021
7c626a7
feat(javascore): update CPS address when deploy contract to gochain node
aceraizel Jul 21, 2021
4fbae63
fix/update interface and refactor transferBatch
Jul 21, 2021
450d969
adjust state variable visibility
hir0min Jul 22, 2021
a61533c
fix rlp library
hir0min Jul 23, 2021
cfeb632
fix/checking addres format
quangtran8588 Jul 21, 2021
b6b4afa
define structure for building docker environment
canhlinh Jul 22, 2021
ffa156b
Finalize docker environment
canhlinh Jul 25, 2021
0b3e008
Add gochain
canhlinh Jul 26, 2021
b4fd095
Fix error skip transaction
canhlinh Jul 26, 2021
5c867fd
Add scripts to deploy javascore BMV
canhlinh Jul 26, 2021
ab0677e
use default paraChainId
canhlinh Jul 26, 2021
2b8b44d
WIP add scripts to deploy solidity bmc
canhlinh Jul 26, 2021
27d9026
WIP add scripts to deploy bsh, bmv on moonbeam docker
canhlinh Jul 27, 2021
b498feb
AWIP addVerify AddLink...
canhlinh Jul 27, 2021
2d2723a
make deploy_javascore_bmv works
canhlinh Jul 27, 2021
2d6d74e
WIP fixing deploy_solidity_bsh
canhlinh Jul 27, 2021
02959ba
Finishing scripts to deploy contracts to moonbeam
canhlinh Jul 28, 2021
a603ada
Build fee-aggregation-system-1.0-optimized.jar
canhlinh Jul 28, 2021
acada17
WIP setup contracts on goloop docker
canhlinh Jul 28, 2021
1a7f217
WIP setup javascore
canhlinh Jul 28, 2021
bf6480b
Finishing scripts to setup javascore contracts
canhlinh Jul 29, 2021
234cc87
Finish provisioning
canhlinh Jul 29, 2021
9a411d3
Trying to running btpsimple
canhlinh Jul 29, 2021
08e3ce6
Rename offset files
canhlinh Jul 29, 2021
91b8695
Fix dev docker
canhlinh Jul 29, 2021
7ec6207
Fix configuration
canhlinh Jul 29, 2021
a775067
Rename provisioning flag
canhlinh Jul 29, 2021
e91c523
Add docs
canhlinh Jul 29, 2021
abbebcb
fix typo
canhlinh Jul 29, 2021
ffcaf9d
Fix wrong param net
canhlinh Jul 29, 2021
b82b7f9
Add step_limit option
canhlinh Jul 29, 2021
5a0c5f1
Add logic avoid running multiple provisioning
canhlinh Jul 29, 2021
c766e48
Make it works
canhlinh Jul 29, 2021
d4bb801
Update README.MD
canhlinh Jul 29, 2021
ad5411a
Update README.MD
canhlinh Jul 29, 2021
e988710
Update README.MD
canhlinh Jul 29, 2021
518f71e
fix: lower the number of block per segment/relaymessage
trmaphi Jul 29, 2021
2faae7e
Merge pull request #78 from icon-project/fix-lower-down-number-of-blo…
trmaphi Jul 29, 2021
c6f4bd4
Update README
canhlinh Jul 29, 2021
42d0b0d
Add container name
canhlinh Jul 29, 2021
c5b8575
Add option --remove-orphans
canhlinh Jul 29, 2021
77eef5b
Stop running bash scripts if got error
canhlinh Jul 30, 2021
44aab3a
Clean up
canhlinh Jul 30, 2021
0049c7d
chore: suppress log to trace
trmaphi Jul 30, 2021
e98ae5c
Fix error when running bash script on ubuntu 18.04
canhlinh Jul 30, 2021
ffbce7f
Update README.MD
canhlinh Jul 30, 2021
ab20bc2
Update README.MD
canhlinh Jul 30, 2021
c17e5f3
Add scripts to demo how to transfer ICX from ICON to MOONBEAM
canhlinh Jul 31, 2021
9b6de28
Improve build contracts scripts
canhlinh Aug 1, 2021
9e6f8c7
Update scripts transfer_ICX.sh
canhlinh Aug 1, 2021
9388d96
Clean up
canhlinh Aug 1, 2021
f82da16
Update script transfer_ICX.sh
canhlinh Aug 1, 2021
74fba75
Fix wording
canhlinh Aug 1, 2021
90cef94
Check provision status before run test scripts
canhlinh Aug 1, 2021
2f31741
Fix validation on transfer scripts
canhlinh Aug 1, 2021
c257774
refactor scripts
canhlinh Aug 1, 2021
efa70a4
load env before running provision
canhlinh Aug 1, 2021
3ee81a6
Fix typo
canhlinh Aug 1, 2021
262256f
Fix ALICE_ADDRESS
canhlinh Aug 1, 2021
1da3632
Update amount like document
canhlinh Aug 1, 2021
95f13af
Update Readme
canhlinh Aug 1, 2021
f1dec15
chore: add transaction hash in retry log
trmaphi Aug 1, 2021
611d765
fix: error on dereference nil pointer
trmaphi Aug 1, 2021
2bb36e0
add event index to bmv deploy parameters, write script to deploy even…
danielvo11 Jul 21, 2021
c24bca7
fix: use stepLimit to follow convention
trmaphi Aug 2, 2021
2529761
add missing goloop_bmc_addLink
canhlinh Aug 2, 2021
36d73aa
Fix wording
canhlinh Aug 2, 2021
766fea6
fix: wrong retry calculation
trmaphi Aug 2, 2021
dce12fd
Add scripts to test sending DEV from MOONBEAM to ICON
canhlinh Aug 2, 2021
ce8785f
Fix util
canhlinh Aug 2, 2021
4108bed
Fix check_alice_balance_in_Goloop
canhlinh Aug 2, 2021
6a5d5c5
truncate
canhlinh Aug 2, 2021
46d912a
Fix wording
canhlinh Aug 2, 2021
f84fe3a
Add User Prompt
canhlinh Aug 2, 2021
df919f2
Fix syntax
canhlinh Aug 2, 2021
27507b2
Trying to fix validation
canhlinh Aug 2, 2021
24c6af6
Fix typo
canhlinh Aug 2, 2021
d60dca9
Fix validation
canhlinh Aug 2, 2021
99b06b7
feat: support default step limit in icon.Sender
trmaphi Aug 3, 2021
779bca0
refactor: fetch metadata once
trmaphi Aug 3, 2021
633ccae
add event index paramters to getBMVInitializeParams script
danielvo11 Aug 3, 2021
ccbf34c
Remove solidity to avoid ignorecase
canhlinh Aug 3, 2021
1c8d71c
latest solidity update
canhlinh Aug 3, 2021
727c5d8
Fix typo
canhlinh Aug 3, 2021
211f245
Fix get_bob_address
canhlinh Aug 3, 2021
3537a39
Fix test script
canhlinh Aug 3, 2021
ab6672f
Fix test script
canhlinh Aug 3, 2021
05cc002
Fix test script
canhlinh Aug 3, 2021
3f108c5
Hard input
canhlinh Aug 3, 2021
bb0561f
ÜChange hard code value
canhlinh Aug 3, 2021
c7197b5
Fix test script
canhlinh Aug 3, 2021
3c3c72a
Fix test scripts
canhlinh Aug 4, 2021
823ce36
Show balance friendly
canhlinh Aug 4, 2021
394b066
Remove duplicate files
canhlinh Aug 4, 2021
e23607d
Add back
canhlinh Aug 4, 2021
024c5c7
Fix typo
canhlinh Aug 4, 2021
72aced2
Update README
canhlinh Aug 4, 2021
3a0f62b
fix missing type of polkadot js api
danielvo11 Aug 5, 2021
222435b
Fix README
canhlinh Aug 5, 2021
b5eacd6
Make mkdir compatible with more linux shell
canhlinh Aug 5, 2021
4bba280
Force install gradle
canhlinh Aug 5, 2021
93702eb
fix script dist javascore
canhlinh Aug 5, 2021
d0616ae
Update readme
canhlinh Aug 5, 2021
fe053d8
Merge pull request #79 from icon-project/goloop2moonbeam
trmaphi Aug 6, 2021
7c1862a
handle para header nullable
danielvo11 Aug 9, 2021
572e478
handle script to build moonbeam chain with account id 20 bytes
danielvo11 Aug 10, 2021
7ae0fe8
fix: error on gasLimit cause NotFound transactions
trmaphi Aug 11, 2021
cca5140
revert: changes of newTransactionParam
trmaphi Aug 12, 2021
71e1ec5
Merge branch 'icondao' of github.com:icon-project/btp into refactor-l…
trmaphi Aug 13, 2021
8b8e762
chore: copy from icondao
trmaphi Aug 13, 2021
55468cd
Fix convention
canhlinh Aug 16, 2021
8cab844
feat: Relay chain integration with Fragmentation (#77)
trmaphi Aug 18, 2021
e22b228
check relay re submmit new authorities
danielvo11 Aug 11, 2021
fe87f17
update blockheader decoder
hir0min Aug 20, 2021
f1196b2
Fix empty message (#83)
canhlinh Aug 23, 2021
3a34599
Merge javascore from iconloop
canhlinh Aug 18, 2021
d93838e
Ensure file exist
canhlinh Aug 18, 2021
25a0a2d
Add cleaning solidity build
canhlinh Aug 18, 2021
6310d94
Fix typo
canhlinh Aug 18, 2021
7fd7c08
Add share env
canhlinh Aug 18, 2021
61ce881
Use BMV without relaychain
canhlinh Aug 18, 2021
805b748
Replace gochain 0.9.7 by goloop 0.9.9
canhlinh Aug 19, 2021
c47d2d8
Handle error to avoid crashing
canhlinh Aug 19, 2021
b19956e
Update readme
canhlinh Aug 19, 2021
3e2e505
Cleanup
canhlinh Aug 19, 2021
b5dcbd8
Use the same keystore as gochain to fit with the hard code BMV_ICON_E…
canhlinh Aug 23, 2021
337c7e5
Use remote goloop image
canhlinh Aug 26, 2021
9cddce7
Fix empty message (#83)
Aug 26, 2021
b9e8047
Change containers' name
canhlinh Aug 26, 2021
2bdbbd2
Merge branch 'icondao' into goloop2moonbeam-iconloop
canhlinh Aug 26, 2021
230e1cc
restructure docker-compose (#87)
canhlinh Aug 29, 2021
6c3e6ac
fixed-fee implementation
Aug 31, 2021
91d3232
add fixed fee in bsh migration file
quangtran8588 Sep 2, 2021
9373871
update migration file
quangtran8588 Sep 2, 2021
b27bfba
fix: add missing env in deploying BSH (#91)
trmaphi Sep 3, 2021
b2af87b
fix: error when running two btp containers at the same time. (#90)
canhlinh Sep 3, 2021
de4a8ee
Add script to check bob's ICX in moonbeam with a timeout (#93)
canhlinh Sep 3, 2021
30acc61
feat: add scripts to support manual run (#88)
trmaphi Sep 8, 2021
44e537b
Add gochain docker-compose (#94)
canhlinh Sep 9, 2021
339d016
docs: update docker-compose/goloop2moonbeam
trmaphi Sep 14, 2021
e5d5a67
Generate all abi for the solidity contracts (#97)
canhlinh Sep 17, 2021
e4f6440
chore: follow icon LogTimeLayout
trmaphi Sep 22, 2021
4190ea4
add missing config and document for deploy solidity on public network…
trmaphi Sep 24, 2021
7dda96f
Extract all hash of transactions when setup contracts (#102)
canhlinh Sep 30, 2021
f00a683
fix: error on even declaration parastaking (#105)
trmaphi Oct 6, 2021
8e4699d
fix: error on decode parastaking nomination (#106)
trmaphi Oct 6, 2021
1bca861
fix: error on sol bsh deployment (#109)
trmaphi Oct 8, 2021
b04203a
fix: error on build blockproof for past receipt proof (#108)
trmaphi Oct 10, 2021
7124339
Feat/replace the fee auction model
Oct 12, 2021
a6eebbc
Fix error cause BlockUpdates empty (#110)
canhlinh Oct 12, 2021
8315d39
update fa score docker
danielvo11 Oct 12, 2021
8b111eb
feat: add websocket reconnection for common.jsonrpc (#111)
trmaphi Oct 12, 2021
7597c1e
fix: websocket reconnection (#112)
trmaphi Oct 13, 2021
90fd5e5
fix: use reconnection instead of keepalive
trmaphi Oct 13, 2021
162679a
chore: update data in log
trmaphi Oct 13, 2021
41417a4
chore: resolve keystore secret with relative path
trmaphi Oct 13, 2021
be77a5a
chore: log hex string
trmaphi Oct 13, 2021
06a2627
fix: reconnect on send websocket request failed (#113)
trmaphi Oct 15, 2021
5ed3e42
BMV-documents
danielvo11 Oct 11, 2021
fb09d96
Update new v14 runtime version
Oct 25, 2021
57cb156
feat: remove base64 from solidity BMV (#104)
trmaphi Oct 25, 2021
aff9cdc
fix: using reconnection instead of keepAlive
trmaphi Oct 25, 2021
98dac6f
feat: change scale decoder to support metadata v14 (#114)
trmaphi Oct 25, 2021
ba26d0d
fix: bembedded scale type definition in golang source code
trmaphi Oct 26, 2021
701b06d
chore: edit some log
trmaphi Oct 26, 2021
a0b241e
adapt unit-test for dropping base64
quocle108 Oct 26, 2021
c2ed822
Merge branch 'icondao' into merge_from_icondao_1
quocle108 Oct 26, 2021
ecbef08
add unit-test bmc and bsh for dropping base64
quocle108 Oct 26, 2021
7a06079
fix: receiptproofs missing pra2icon (#115)
trmaphi Oct 27, 2021
a0945e9
fix: only build stateproof on next rxseq
trmaphi Oct 27, 2021
4e20775
feat: double gasPrice on testnet for faster deployment
trmaphi Oct 28, 2021
84dcd1c
chore: add comments and documents (#107)
trmaphi Oct 28, 2021
626715f
docs: update latest deployment
trmaphi Oct 28, 2021
6d61947
update para bmv deployment docs
danielvo11 Oct 28, 2021
a696da1
docs: update
trmaphi Oct 28, 2021
a048a4a
docs: update
trmaphi Oct 28, 2021
7fb577c
fix: error on docker-compose/goloop2moonbeam scripts
trmaphi Oct 29, 2021
bddf6eb
docs: add comment for warning about keep state file of openzeppelin
trmaphi Oct 29, 2021
7d0294c
feat: fails on BMV offset skip BTPMessage sequence
trmaphi Oct 29, 2021
977af7c
docs: add document to redeploy BMV
trmaphi Oct 29, 2021
776c9d4
fix: broken deployment in docker (#117)
canhlinh Oct 31, 2021
71d9bb3
update new bmv without relay chain compress
danielvo11 Nov 1, 2021
5790721
update new bmv without relay chain compress
danielvo11 Nov 1, 2021
3614c0b
.
quocle108 Oct 27, 2021
6e89a9a
keep handleRelayMsg interface
quocle108 Oct 27, 2021
bf281b9
Merge pull request #118 from icon-project/keep_handle_relay_interface
danielvo11 Nov 1, 2021
7d44272
revert: "feat: fails on BMV offset skip BTPMessage sequence" (#119)
trmaphi Nov 2, 2021
f5c72ed
fixed action permission
quocle108 Nov 3, 2021
8c48670
Merge branch 'develop' into merge_from_github_nov_3
quocle108 Nov 3, 2021
26c2c1c
retry when get not found error
danielvo11 Nov 26, 2021
f6d03a7
fix(relay): number blockupdates and websocket
Nov 29, 2021
798d434
feat: add retry for http client
trmaphi Dec 6, 2021
de5e0be
fix: change default handshake of websocket up to 10 seconds
trmaphi Dec 6, 2021
adee73c
fix: get correct last blocknumber
trmaphi Dec 6, 2021
51b5e2f
feat(MTA): add condition to recover out of sync MTA after BMR restart
Dec 9, 2021
d47ae7b
feat: log method & error on fails
trmaphi Dec 9, 2021
24a63ba
chore: add some comments
trmaphi Dec 10, 2021
52fe3b8
Perf improve receive height for sync speed
Dec 13, 2021
9736da7
fix build event decoder for compact type
danielvo11 Nov 26, 2021
93ac070
NativeCoinService BSH: Solidity, javascore, docker scripts included
simsonraj Dec 22, 2021
a382a0b
Updated README
simsonraj Dec 22, 2021
1998ed2
Moved the ERC20 docker scripts to goloop2moonbeam folder & Issue fix …
simsonraj Dec 27, 2021
2850187
update readme
simsonraj Dec 27, 2021
037b337
removed goloop2moonriver folder
simsonraj Dec 27, 2021
5e08eee
Removed empty check on tokenname in tokenfall back
simsonraj Dec 28, 2021
b5983eb
change reclaim to reclaim from usable balance and add refund back to …
simsonraj Dec 28, 2021
4ebe95c
Updated Deployment Doc for ERC20 & IRC2 BSH
simsonraj Jan 10, 2022
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
  •  
  •  
  •  
24 changes: 23 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
.?*
!.prettierrc
!.solhint.json
__pycache__
**/.DS_Store
**/*.iml
build/
bin/
bin/
**/.idea
**/**/.idea
**/**/node_modules/


/docker-compose/goloop2goloop/config
/docker-compose/goloop2goloop/data
/docker-compose/goloop2moonbeam/config
/docker-compose/goloop2moonbeam/data

.gradle/*
javascore/bmv/godWallet.json
**/**/Module/*
EventDecoder.java
TypeDecoder.java
metaData.json
BMVInitializeData.json
paraMetaData.json
relayMetaData.json
sovereignMetaData.json
19 changes: 16 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,15 @@ $(foreach M,$(CMDS),$(eval $(call CMD_template,$(M))))
# Build flags for each command
btpsimple_LDFLAGS = -X 'main.version=$(GL_VERSION)' -X 'main.build=$(BUILD_INFO)'
BUILD_TARGETS += btpsimple
BUILD_TARGETS += iconvalidators

linux : $(addsuffix -linux,$(BUILD_TARGETS))

PYSCORE_DIST_DIR = $(BUILD_ROOT)/build/pyscore
export CONTRACT_DIST_DIR=$(BUILD_ROOT)/build/contracts
export PYSCORE_DIST_DIR=$(CONTRACT_DIST_DIR)/pyscore
export JAVASCORE_DIST_DIR=$(CONTRACT_DIST_DIR)/javascore
export SOLIDITY_DIST_DIR=$(CONTRACT_DIST_DIR)/solidity
export PYSCORE_TESTNET_DIR=${BUILD_ROOT}/testnet/goloop2goloop/pyscore

$(PYSCORE_DIST_DIR)/%:
$(eval MODULE := $(patsubst $(PYSCORE_DIST_DIR)/%,%,$@))
Expand All @@ -80,21 +85,29 @@ dist-py-irc2: $(PYSCORE_DIST_DIR)/token_bsh
zip -r -v $(PYSCORE_DIST_DIR)/irc2_token.zip * -x *__pycache__* -x *tests*

dist-py: dist-py-bmc dist-py-bmv dist-py-irc2
dist-java:
bash ./scripts/dist_javascore.sh
dist-sol:
bash ./scripts/dist_solidity.sh

clean-dist-py:
rm -rf $(PYSCORE_DIST_DIR)/*
clean-dist-sol:
rm -rf $(SOLIDITY_DIST_DIR)
clean-dist-java:
rm -rf $(JAVASCORE_DIST_DIR)

BTPSIMPLE_IMAGE = btpsimple:$(GL_TAG)
BTPSIMPLE_DOCKER_DIR = $(BUILD_ROOT)/build/btpsimple

btpsimple-image: btpsimple-linux dist-py
btpsimple-image: btpsimple-linux dist-py dist-java dist-sol
@ echo "[#] Building image $(BTPSIMPLE_IMAGE) for $(GL_VERSION)"
@ rm -rf $(BTPSIMPLE_DOCKER_DIR)
@ \
BIN_DIR=$(abspath $(LINUX_BIN_DIR)) \
BIN_VERSION=$(GL_VERSION) \
BUILD_TAGS="$(GOBUILD_TAGS)" \
DIST_DIR="$(PYSCORE_DIST_DIR)" \
DIST_DIR="$(CONTRACT_DIST_DIR)" \
$(BUILD_ROOT)/docker/btpsimple/build.sh $(BTPSIMPLE_IMAGE) $(BUILD_ROOT) $(BTPSIMPLE_DOCKER_DIR)

.PHONY: test
Expand Down
40 changes: 36 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ Terminologies
- Send BTP Relay Message

### Blockchain specifics

* [ICON](doc/icon.md)
* [Polkadot parachain with frontier](doc/polkadot_parachain_with_frontier.md)

## BTP Project

Expand All @@ -57,12 +59,12 @@ Terminologies
|:--------------------|:-------|
| /cmd | Root of implement of BMR |
| /cmd/btpsimple | Reference implement of BMR. only provide unidirectional relay. (golang) |
| /cmd/btpsimple/chain | Implement of common logic of BMR, use module |
| /cmd/btpsimple/module | BMR module interface and common codes |
| /cmd/btpsimple/module/`<chain>` | Implement of BMR module (`Sender`,`Receiver`), `<chain>` is name of blockchain |
| /chain/ | BMR module interface and common codes |
| /chain/`<chain>` | Implement of BMR module (`Sender`,`Receiver`), `<chain>` is name of blockchain |
| /common | Common codes (golang) |
| /doc | Documents |
| /docker | Docker related resources |
| /docker-compose | Setup of local network for running e2e of BTP |
| /`<env>` | Root of implement of BTP smart contracts, `<env>` is name of smart contract execution environment |
| /`<env>`/bmc | Implement of BMC smart contract |
| /`<env>`/bmv | Root of implement of BMV smart contract |
Expand All @@ -77,7 +79,10 @@ Terminologies
#### BMR module
| Directory | Description |
|:--------------------|:-------|
| /cmd/btpsimple/module/icon | BMR module for ICON blockchain |
| /chain/icon | BMR module for ICON blockchain |
| /chain/pra | BMR module for Polkadot Parachain blockchain |
| /chain/pra/receiver_relay* | BMR module to listen for Polkadot Relay blockchain |
| *_test.go | BMR files to perform unit test for the *.go file |

#### Python SCORE of ICON
| Directory | Description |
Expand All @@ -86,3 +91,30 @@ Terminologies
| /pyscore/bmv/icon | Implement of BMV smart contract for ICON blockchain |
| /pyscore/lib | BTP interface and common codes for Python SCORE |
| /pyscore/lib/icon | ICON related common codes |

#### Java SCORE of ICON
| Directory | Description |
|:--------------------|:-------|
| /javascore | Implement of BTP smart contracts for Java SCORE of ICON blockchain |
| /javascore/bmc | Implement of BMC smart contract |
| /javascore/bmv/icon | Implement of BMV smart contract for ICON blockchain |
| /javascore/lib | BTP interface and common codes for Java SCORE |

#### Java SCORE of Parachain

| Directory | Description |
|:--------------------|:-------|
| /javascore/bmv/parachain | Implement of BMV smart contract for moonbeam parachain |
| /javascore/bmv/sovereignChain | Implement of BMV smart contract for edgeware parachain |
| /javascore/bmv/eventDecoder | Implement of event decoder for substrate chain |
| /javascore/bmv/helper | Script to get parachain initialize parameters and deploy contract |
| /javascore/lib | BTP interface and common codes for Java SCORE |

#### Solidity of ICON

| Directory | Description |
|:--------------------|:-------|
| /solidity | Implement of BTP solidity smart contracts of ICON blockchain |
| /solidity/bmc | Implement of BMC solidity smart contract |
| /solidity/bmv | Implement of BMV solidity smart contract for ICON blockchain |
| /solidity/bsh | Implement of BMC solidity smart contract |
Loading