emeraldpay / emeraldpay/dshackle

Allowed smart contracts

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
350
Forks
57
PR merge metrics
No merged PRs in 30d

Description

Configuration to setup list of addresses that can be used in `eth_call` on Ethereum.

Example config:
```yaml
authorized:

# allows any method call
- blockchain: ethereum
address: 0xdac17f958d2ee523a2206206994597c13d831ec7

# allow only call to the specified methods
- blockchain: ethereum
address: 0x6b175474e89094c44da98b954eedeac495271d0f
methods: ["0x18160ddd", "0x70a08231", "0xdd62ed3e"]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.